LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error in open tdms file

can some one help me why I get data type error when I want to open a tdms file by Read From Measurement File?I can open and view and analyse my file in diadem but I can't use them by labview!
0 Kudos
Message 1 of 4
(2,339 Views)
Can you post a screenshot?
0 Kudos
Message 2 of 4
(2,330 Views)

sahands2,

 

you should not use the read from measurment file.vi there is a portion of the file I/O pallete that is TDMS streaming that may help you.

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 4
(2,327 Views)

The Express VIs support only numeric channels, and some time stamp channels. The error you're seeing typically comes from files that contain string channels. You can double-check that by using the TDMS File Viewer from the TDM Streaming palette. The functions on the TDM Streaming palette (e.g TDMS Read) allow for easy access to particular channels, so you wouldn't have any issues with unsupported data types. You can check the "Write/Read Event Data" example VIs for more details on how to handle numeric and string channels in the same file.

 

Hope that helps,

Herbert

0 Kudos
Message 4 of 4
(2,323 Views)