LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Measurement file does not read the first channel of my TDMS file

When I try to read a TDMS file with the Read Measurement File express VI, the first channel of the data is not there.  When I open the file up in excel the channel exists
0 Kudos
Message 1 of 7
(3,620 Views)

Hi CLIIT,

 

Is that possible for you to post your code and the tdms files here and we can take a look? Thank you. 

0 Kudos
Message 2 of 7
(3,603 Views)
 

Here is the TDMS file.  The code is not even worth saving.  All I did was open the file using the "Read Measurement File" express VI with the output going to a chart.  When the file is opened in excel there are 4 channels, which is correct.  When I try to open it up in Labview with the "Read Measurement File" express VI, the first channel is missing and I only get three channels.  I even see the same thing when I put a probe directly at the output.

0 Kudos
Message 3 of 7
(3,592 Views)

Looks like when you wrote the file, you might have configured "X Value Columns" as "One column only" instead of "Empty time column" ("Empty" is the default). If you do that, the "Read Measurement File" Express VI will use the first channel as x-axis for the other channels. You can double-check this by opening the file in the TDMS File Viewer (on the TDM Streaming palette). All groups in your file should have a property called "wf_xcolumns". If it is set to "One", you might want to change the configuration in the VI that writes the file.

 

Hope that helps,

Herbert

0 Kudos
Message 4 of 7
(3,590 Views)
Even I have the same doubt  regarding Labview plss help me reading the Excel file from 23rd row and the graph should be drawn between 1st column and 8th column ,  from 23rd row . Here is the sample data.
0 Kudos
Message 5 of 7
(3,582 Views)

Avinash,

 

Please continue in your original thread instead of hijacking someone else's thread.

 

This thread is about reading a TDMS file.  You were already getting help in that other thread about reading an Excel file.  (Two different animals.)

0 Kudos
Message 6 of 7
(3,576 Views)

I am now having the same issue. My first column is absolute time, second is relative time, but when I use the express TDMS file viewer is misses the data in the thirds column all together.

0 Kudos
Message 7 of 7
(3,435 Views)