LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Write Error -2501

I am getting an -2501 Error for a TDMS Write.  What should I try first?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
Message 1 of 6
(6,823 Views)

Error -2501 occurred at an unidentified location

Possible reason(s):

LabVIEW: Invalid TDMS file reference.

 

This means that your reference to the file is going invalid.  Could be cause by not connecting the wire and using a default case or closing the file,  YOu can probe the wire and it will show the reference number.  The number should be a non-zero number.

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 2 of 6
(6,819 Views)

It turned out that I was feeding an empty array to it, and that caused the problem.  However, now, i am looking at why I am getting an empty array from the FPGA.  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 6
(6,817 Views)

Hello Jyang7221, 

 

Could you go into detail about what Hardware you are using, and the piece of your code that is generating the empty array. It is difficult to give troubleshooting steps/solutions without further information. 

 

Regards,

 

Izzy O. 

Applications Engineer

National Instruments 

0 Kudos
Message 4 of 6
(6,795 Views)

I am getting a reference number as 2089811970 but still I am unable to write data to TDMS file. It is showing Invalid ref number to write to file. I am using sequence structure to pass file reference.Isnt that good way or any other way to make it work?

0 Kudos
Message 5 of 6
(5,207 Views)

Was the HD full?

0 Kudos
Message 6 of 6
(4,560 Views)