ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Recieving Error 2513 when exporting TDMS

Solved!
Go to solution

Hi,

I'm relatively new to labview and have been writing a program to graph pressure and RPM and export a TDMS of the data. When the program only had to export time and pressure in the TDMS it worked without error. Then I added one more array to the program (being RPM). When I ran the program everything seemed to work fine but when I went to export the TDMS it gave me the following:

"Error -2513 occurred at TDMS Set Properties in Function.gvi

LabVIEW: (Hex 0xFFFFF62F) LabVIEW does not support properties of the specified data type."

It still prints out the TDMS fine, but I can't figure out where the error is occurring.

Thanks in advance

0 Kudos
Message 1 of 2
(2,722 Views)
Solution
Accepted by topic author mcarroll45

Hi mcarroll45,

 

That error was being thrown at the TDMS Set Properties function. You were passing in a Variant Array to the property values input. You can input a string array with your properties instead using Number to Decimal String instead of To Variant. 

 

I would also recommending looking at the TDMS shipping examples for best practices for writing/reading TDMS files , such "TDMS Write Time Domain Data.lvproject" in Examples > Programming Basics > File I/O.

 

Number to Decimal String for TDMS Set Properties.png

 

Thanks,
Frank

Message 2 of 2
(2,645 Views)