From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write TDMS file with state machine

Hi,

 

Is my first time writing/reading tdms files using a state machine and I dont really know if this is going to work. I'm doing only the code, so I dont want to send a code that dont work how I want.

 

I have a state machine, in the first state (open connection), I open the tdms file and enter the data that I want to read. The data is just XYZ positions from a Gocator (laser sensor). I only open the TDMS in the first state and in the last state I close all the connections and the TDMS file.

 

What I dont know is if the program keeps writing the data when Im in other states or only when Im where im writing the data (the first state). If I only write data in the first state, what can I do to write in all the states?

 

ADaniel01_0-1675162412883.png

ADaniel01_1-1675162440253.png

 

 

Thanks.

0 Kudos
Message 1 of 1
(527 Views)