09-13-2009 07:47 PM
09-13-2009 10:04 PM - edited 09-13-2009 10:06 PM
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.
09-16-2009 09:56 AM
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.
09-16-2009 10:57 AM
@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