LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code 10 occurred at Open/Create/Replace File

For reasons unknown to me my vi is not creating a file when I first run it and I'm getting the following error "Error Code 10 occurred at Open/Create/Replace File

 

Possible reason(s):

LabVIEW: Duplicate path.
=========================
NI-488: Asynchronous I/O operation in progress.

C:\.lvm"

I'm not really sure what exactly is wrong with my code, hoping someone could take a look. I'm using a USB 6210 Daq Card by the wat

 

--Rud

Download All
0 Kudos
Message 1 of 2
(10,890 Views)

Hi Rud,

 

In your code, you are specifying that you want a file created at a specific path. The error you are recieving is because there is already a file with that name at that path, so LabVIEW can not create the file. If you wish, you can change the input of the Open/Create/Replace file to be "replace or create", in which case it will overwrite the file that already exists. You could also choose "open or create" if you do not want to delete the information. The part of your code I am referrring to is pictured below.

 

create file

 

Regards,

 

Elizabeth K. 

National Instruments | Applications Engineer | www.ni.com/support 

Message 2 of 2
(10,870 Views)