09-12-2023 10:34 AM
Dear all,
I am trying to save a sequence of data arrays in different groups, ordered channel by channel.
However, I would need to reverse the order of the channel inside some groups!
For instance, in the exmple.vi I attach, how can I reverse the order of the channels in the group 1?
Thanks for helping!
Edo
Solved! Go to Solution.
09-12-2023 12:31 PM
1. Place TDMS Open outside of the loop. The VI will run much faster.
2. You can write multiple channels within a single group in a single TDMS Write. You can reverse the array before writing the data.
09-13-2023 11:01 AM
This is not exactly what I needed but the idea helped me in solving the problem!
Thanks a lot for helping!!
09-13-2023 11:37 AM
Writing the data in the order you want from the start is the better option. But here is some example code on how to rearrange the TDMS group and channel information after the file has been made.
https://forums.ni.com/t5/Example-Code/TDMS-Combine-and-Rerrange/ta-p/3782888
This is part of my Tremendous TDMS toolkit on VIPM.IO
https://www.vipm.io/package/hooovahh_tremendous_tdms/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-15-2023 08:43 AM
HI! I did check this tool already but since the amount of channels would be massive and the interchange quite recurrent I prefer to save them in the proper way and not post processing the TDMS file afterwards. Anyway, thanks for the answer!