LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuously reading data but logging them ondemand

Hello guys, I have made a .vi to acquire a voltage signal, converting it to current and writing them with their timestamp on a tdms file.This means that the write to tdms file and the reading process are in the same while loop. I wonder how I can make the writing to tdms file start and stop whenever I want while the acquisition of the signal keeps going. I also want to ask if I can read this tdms file the same time as the writing happens.

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

I think you can use a simple Case Structure, inside the True case you place the TDMS File Read/Write you want to happen and nothing on the False case.

 

You can then add a button to 'trigger' that True case or use a condition.

=======
My Channel: https://www.youtube.com/@LV_Lab

0 Kudos
Message 2 of 2
(2,100 Views)