09-18-2025 08:44 AM
I want to write data in tdms file. I have 4 loops which is 2 producer and 2 consumer. I need to write the data in same tdms file in two groups. How can i do it?
test Vi is attached so idea should be clear
09-18-2025 08:45 AM
I want to write data in tdms file. I have 4 loops which is 2 producer and 2 consumer. I need to write the data in same tdms file in two groups. How can i do it?
test Vi is attached so idea should be clear
09-18-2025 09:38 AM - edited 09-18-2025 09:40 AM
Try the attached modification.
Here is a snippet:
Necessary Changes:
Open TDMS Reference before loops start.
Close TDMS Reference after both loops complete.
Recommended Change:
Use Share Stop Signal VI to stop all loops while only requiring a single Stop button
If you need to eventually span multiple files due to file size or just duration of test, you will need a more sophisticated approach.
Good luck!
09-19-2025 09:43 AM
For those that may not be familiar with Share Stop Signal VI, it ships with LabVIEW and can be found here: <LabVIEW>\vi.lib\ChannelSupport\Share Stop Signal.vi
It is not in the palette, and I don't think Quick Drop finds it, but it is still a handy utility for cases like this.
09-19-2025 01:17 PM
Thats a nice tidbit of information to put in my back pocket. Thanks