LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble reading a TDMS file

I have a TDMS file that was used to save data from 9 different
channels over a significant period of time (around 5 minutes) at 25k
samples/s.
The file was saved using the 'Write To measurement file' function with
the following settings

File Format: Binary (TDMS)
Segment Header: One header per segment
X Value Columns: One Column only
Lock file for faster access

I am reading this file using the following
TDMS Open -> TDMS Read-> TDMS Close
I get the following error on TDMS Read
Error -2525

When I try to read the file using 'Read from Measurement File'
I get the same error as above (Error -2525)

When I read the same file using the TDMS File Viewer Dialog Box, I
have no issues. I can see the separate elements (1 second each) of the
file and am able to look at the values and the corresponding plots.

What am I doing wrong?

Thanks,
abhiM

0 Kudos
Message 1 of 3
(2,796 Views)
You may be doing everything correctly.  We've documented a bug that matches the description of your problem.  What version of LabVIEW are you using?

The work around for this issue is to use the low level VIs for both writing and reading.  If you are still having problems after doing this, please attach the code and I'll take a look at it.

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,782 Views)
This post is a duplicate: http://forums.ni.com/ni/board/message?board.id=170&message.id=254588#M254588
Problem is solved.
Herbert
0 Kudos
Message 3 of 3
(2,737 Views)