LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS File Viewer cannot find file

Solved!
Go to solution
Shelby, you could try like this, open a new VI, put a TDMS File Viewer node on the block diagram and run the VI, select the file you want to view by yourself. Can that work?
0 Kudos
Message 11 of 14
(1,287 Views)
Solution
Accepted by shelby

Hey Shelby,

 

I tried this on my system and was not able to reproduce the problem.  The only thing that I can imagine being a problem is if sometimes you include the file extension in the dialog and sometimes you don't.  That is, there is some different behavior that can happen when you exclude the .tdms extension on the file path that you specify.  For instance, the extension might be appended when you create the file, but when the TDMS Viewer goes to open the file for reading, it can't find the file without the extension.

 

Additionally, you might find it worthwhile to use the new DAQmx 9.0 feature that logs to TDMS for you.  On the "Advanced Task" subpalette under DAQmx, a new VI called "DAQmx Configure Logging" can be used before you start your task.  Simply specify the file path and group name, and all the data read will be logged to disk (A shipping example can be found in the same directory as the Cont Acq & Graph folder).  Aside from the ease of use with this approach, your file size will typically be less then 4 times smaller and file I/O speed will be a lot faster.

Message Edited by AndrewMc on 09-13-2009 10:06 PM
Thanks,

Andy McRorie
NI R&D
Message 12 of 14
(1,273 Views)

Thanks for all of the suggestions.

Andy, you were right about the file extension.  I finally had time to work on the VI again this morning, and when I save my file as 'filename.tdms', rather than just 'filename', the File Viewer can find it.

I tried searching for the DAQmx Configure Logging, but I was having a hard time finding it.  It should be listed under Advanced Task in DAQmx?  Is it under another subfolder, or should it be there?  I just did a cursory search this morning; I'll try looking harder later.

 

0 Kudos
Message 13 of 14
(1,251 Views)

@shelby wrote:

I tried searching for the DAQmx Configure Logging, but I was having a hard time finding it.

 


Do you have DAQmx 9.0 installed? If not, you can find it here: http://joule.ni.com/nidu/cds/view/p/id/1278/lang/en

Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 14 of 14
(1,245 Views)