From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Channel Property NI_DataType

I write I16 values to a TDMS channel from LabVIEW. In DIAdem the data type is always float64. The property NI_DataType is read only so how can I set the correct data type ? In fact I have problems because the conversion from I16 to float64 gives me strange results like if I store a sinus my expected negative values will be saved as MaxFloat64 (4.294964939E+09)sinus_cut.jpg

 

I probed my LabVIEW data and I'm sure that it's ok.

 

Regards

Christian

0 Kudos
Message 1 of 3
(4,387 Views)

If I make a explicit type cast to double before writing the data to the TDMS the data looks good. sinus_ok.jpg

0 Kudos
Message 2 of 3
(4,383 Views)

Could you post one of the files including the I16?

 

Greetings

Andreas

0 Kudos
Message 3 of 3
(4,381 Views)