01-13-2012 10:29 AM
MoReese ha scritto:
You should start a new thread with a description of the problem or inquiry. Be as detailed as possible.
Hi,
since my question is really connected to the topic of this thread, I think this is the right thread. So I want to display data in real time and I want to save data only when the saving data button is pressed. I have set up a task in a continuous reading, is it a good way for accomplishing it? In the attachment you can find my VI.
thanks
01-13-2012 01:46 PM
Well, if you wish to stay on topic, have you tried what has been suggested thus far? If not, give the suggestions a try. You may also contact the OP privately to see how his project is going and if he has a working solution.
03-16-2012 06:31 AM
I have a similar problem and I need some help.
I have set up a VI that takes continuous measurements from a probe.
I want it to display the data in real time from the start, but only start recording the data to a file after a button is pressed.
The problem is that the recording starts as soon as the VI program is started.
What is wrong?
03-16-2012 07:10 AM - edited 03-16-2012 07:11 AM
Down-convert your VI to and earlier version and I will take a look.
03-16-2012 07:49 AM
Here is a version converted for LabVIEW 8.
03-16-2012 09:14 AM
I'm not sure why it would be recording when you start the VI. Your Write to Measurement exp VI is clearly outside of your loop and the recording does not start until Stop is pressed. On a side note, there is no need for the Sequence structure. You can use proper flow control by using the error cluster.
Which button do you want to use to control the start of the recording? Stop?
03-16-2012 11:12 AM
The button "Začni z zapisovanjem" should start the recording. The button "stop" should terminate the VI.
03-16-2012 11:32 AM
That VI makes no sense. The only way you can save any data is by clicking the stop button and then the only data that is saved is the very last acquisition. TI don't understand the point of the Elapsed Time function inside the loop.
03-16-2012 11:37 AM
How is the button "Začni z zapisovanjem" supposed to start the recording inside the while loop while your write VI is outside the while loop? As I mentioned earlier, it writes to the measurement file only after the Stop is pressed. As Dennis mentioned, this is not the best design approach.
03-16-2012 11:45 AM
How should I make the structure then so it starts recording with the press of a button? Could you link me to some examples?