07-09-2013 10:14 AM
Hi,
I'm trying to log some data in RT using TDMS files. One solution is to using the advanced TDMS VIs due to the performing of the VxWork system.
But I can not find any settings for the string values being saved onto the TDMS file because the advanced write TDMS funtion allows "a 1D or 2D array of integers, floating-point numbers, Booleans, and timestamps" only.
I've tried the normal TDMS write functions but it performs relatively bad on a sbRIO RT system. For instance, it consums the CPU up to 100% for a few seconds, which is not acceptable for our usage.
I'll thank you for any suggestions!
Wilbur
07-09-2013 10:37 AM
What kind of strings are you trying to write? TDMS is designed for waveform data. Strings cannot be waveforms. Or are the strings configuration data? If that is the case, you want to save the strings in the properties.
07-09-2013 11:36 AM
Hi,
for instance, the states in the state machines...
07-09-2013 08:17 PM
You can save the string values as properties with "TDMS Set Properties" node if the amout of the string values are not huge.
07-17-2013 07:24 AM - edited 07-17-2013 07:26 AM
Hi,
it doesn't quite help me as I want to record every state in the State-Machine.
I have seen another problem using advanced TDMS function. If I want to save different formats of data in the TDMS through non-interleaved data layout, the data channels are not organised as programmed. In the attachment you may find the vi and the tdms file saved using this VI.
The save TDMS function can be optimized using the interleaved data layout but I just cannot tell the differences and why.