LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Error -2587 in TDMS Advanced Set Channel Information

I had a working real-time labview program before I had to leave my lab for 3 months thanks to COVID-19. My program is meant to control a rotatory motor and save off the calculated position path, the torque, and the actual position as well as the final and ending positions. It is failing before any of the code executes, so it isn't relevant. Now, that I have come back, my files are no longer saving to my remote PC.

 

I get the error -2587 at the TDMS Advanced Set Channel Information saying that it the file is not being written to. The strange part is that the NI error description says that I have the incorrect format set in my TDMS Open File function. It seems to indicate that I would need a 2.0 file format which is the default of the regular TDMS Open function and is the type of file that the Advanced functions are meant for. I do not really understand how this problem is possible since Advanced is made for the 2.0 file format. Is there another reason for this error or the failing to write a file? 

 

I have attached screenshots of the relevant parts of my code. The two parts are directly connected and the second block just feeds into an error indicator. It does seem some of the software might have updated to 2019 even though I only have 2018 real-time, so that could contribute. I have tried to take all the software back to the 18.0.0 versions. The files are not even being created. 

Download All
0 Kudos
Message 1 of 1
(1,761 Views)