11-24-2019 01:31 PM
My VI was running nicely, then all of a sudden I started to get error 2525 and I did not make any change to it.
I attached the VI and the TDMS file that you will need to save somewhere. Then enter the path on TDMS open block to read the saved TDMS file.
11-24-2019 04:10 PM
Do you know/understand the difference between "2525" and "-2525"?
It is almost impossible to follow the logic of your VI (but I do thank you for attaching it -- it would be even more impossible if you only attached a picture. Here are some suggestions when you rewrite it:
Bob Schor
11-24-2019 10:24 PM
I agree with Bob: cleaning/rewriting that VI is a first step to ease your troubleshooting and future development.
Addressing the error you get. I used the TDMS File Viewer (is in the File I/O > TDM Streaming palette) and noted that some channels do not have values (data). Therefore, the function you use to read all the channels returns this error as there's nothing to parse. I recommend you clean your TDMS file, too, or select which channels to read (that you know have data and can be parsed).
Regards,
11-25-2019 11:05 AM
Thank you. That helps, but do you by any chance know how to select which channels to read from a specific group?
11-25-2019 11:11 AM
I recommend you press Ctrl + H in LabVIEW and use the context help window. It is an awesome tool that shows you the inputs, outputs and descriptions of the functions you are using.
Else, you can also see this in the online help: TDMS Read Function. You will notice there is a "Channel name(s) in" terminal.
Regards,