LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Generic File I/O Error when running DAQ Reference Design

I Get a Generic File I/O Error when trying to Save Data to Disk in Data Acquisition Reference Design.lvproj from daq_ref_app_v10.zip in LabVIEW 9, If I configure to simulate one channel, start the acquisition, stop the acquisition and then save the data to disk, I get the generic file I/O and:

 

Error 6 occurred at TDMS Open in Data Acquisition Reference Design.lvlib:Logging [TDMS].lvlib:TDMS Data Logging.vi->Data Acquisition Reference Design.lvlib:Main.vi

 

Shouldn't this work without error?

 

Should NI distribute Reference Desgins that work without errors?

 

What is the problem with this application?

0 Kudos
Message 1 of 4
(3,175 Views)

Are you using any special characters as your file name? Are you defining the path correctly? Eg- (C:\) shouldnt be "c:/"

0 Kudos
Message 2 of 4
(3,164 Views)

The data file name was cfg_store in the app's Data directory. The DAQ Reference Design did all of the rest of the file path generation.

 

I'll look closer to the filename generated by the app. But the app did not handle the data sore operation well.

0 Kudos
Message 3 of 4
(3,151 Views)

This error usually occurs because of malformed file paths. Put an indicator on the path before the TDMS Open so you can see the path explicitely. Make sure you have full permissions for the directory in which you will be saving and make sure that the path isn't greater than 255 characters.

 

Have a great day!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 4 of 4
(3,132 Views)