Showing results for 
Search instead for 
Did you mean: 

Write TDMS file with state machine



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?







0 Kudos
Message 1 of 1