Hi there!
I build a VI to monitor and write signal-data coming from some sensors.
Input is direct-current in volt (coming from my NI-DAQ-card).
Right now the situation is like this: signals are comeing in, Labview is
showing them in volts and also scaled to physical units. Thats all right.
(see this VI as .jpg on
http://home.arcor.de/neighbourhood-network/my_vi.jpg ) But: This VI is
writing these data continiously to a file when it´s runniung. I need to
monitor these data continiously, but I do not need to write them to a file
continiously. I´m looking for a sloution which allows to monitor data
(starting with pressing the "run" button in the upper left corner) an write
these data continiously _on demand_ (by pressing a button som
ewhere in my
vi).
What I tried is this:
I placed this "Open/Create/Replace File"-VI into my vi and tried to generate
an "error in" by a boolean control. This is how it should work in theory.
But it doesn´t in LabView - because these a different types of data. Ok -
stupid. I also tried one of these error-handlers. But this didn´t work too.
What is a solution?
I thought about a case-loop, but this seems to be stupid because I would
have to decide whether I want to run the VI only monitoring or monitoring
and writing.
Does anyone have an idea or a finished solution / VI which he could send me?
Or does somebody knows where to find a solution like this? I tried the
solution-corner in NI.com, but without success.
(I´m running LabView 5.0 on a W2K-machine)
Thanks in advance!
Sascha