LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop running LaBVIEW at the specific time

Hello....I am newbie in LabVIEW...I want to use the LabVIEW software to analysis the data get from the real time experiment...Besides that, i want to save the data in the notepad file with the file termination at the specified interval time using Write to measurement file (block diagram)....

 

My problem : how can i stop the collecting data in the notepad file at the specific time???...for example, i want to take the data only for 30 minutes in the real time experiment with file termination interval is 10 minutes.....so, only 3 data is saved in notepad file.h..

 

Here, I attached the LabVIEW program that I already modified and combined with PIco 3206 (Driver LabVIEW)

 

so.....somebody can help me????

plizzzz.......

0 Kudos
Message 1 of 2
(2,652 Views)

Just use the Elapsed Time Express VI in your loop to see how much time has elapsed since the loop started. When that time has exceeded 1800 seconds, stop the loop. Or to do three 10 minute intervals, wait until 600 seconds has elapsed, then set the Reset input to true and write to file. Repeat three times and stop the loop.

 

The installed LabVIEW help for this VI should link to an example that can help you get started.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 2
(2,642 Views)