LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read specific channels from an existing TDMS file

Solved!
Go to solution

nrp,

 

your suggestion did the trick. I no longer get an invalid TDMS file reference message.

 

 

I am abashed this was such a simple fix.  My original logic was to close the file each time the loop ran since a new file was being generated each time.  the read function was being used to extract different parts of the data on each loop.

 

I must thank Herbert for sticking with me on this and giving sugestions. Kept me thinking.

 

Alfonso

A. Lopez
0 Kudos
Message 11 of 12
(931 Views)

Glad I could be of assistance. Sometimes the simple things are the easiest to miss!

 

TDMS files are great, but be careful sometimes they fail in weird ways (for exampleif you wire an empty 1D array into a TDMS write function everything is ok, but if you wire an empty 2D array it throws an error!)

Message 12 of 12
(927 Views)