Error -201304 When Running DAQmx Voltage-Continuous Input Example

Updated Jun 29, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I want to acquire from a data acquisition board and save directly into TDMS file. 

When I run the LabVIEW example Voltage - Continuous Input .vi I receive error message: 


Error -201304    File path specified is invalid, or the file is not a valid TDMS file. Specify the location of a valid TDMS file.

Why?
 

Solution

The problem is that you are selecting the same tdms file to be written. 

In order to avoid the error, you have two options: 
  • Change the file name before running the vi.
  • Go to the DAQmx Configure Logging (VI) and change the operation to Create or Replace

WAS THIS ARTICLE HELPFUL?

Not Helpful