LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about Write to Spreadsheet

QQ图片20131001092601.jpg

 

Does anyone has any idea about how to fixed that ?

0 Kudos
Message 1 of 7
(3,126 Views)

Does the c:\data directory exist?

 

If it doesn't exist, then you'll get this error when LabVIEW tries to create a file inside of it.

0 Kudos
Message 2 of 7
(3,121 Views)

It does exist, but the error still shown

0 Kudos
Message 3 of 7
(3,116 Views)

Do you have rights to write to a file in that directory?

0 Kudos
Message 4 of 7
(3,114 Views)

I think I have,

Here is the file

0 Kudos
Message 5 of 7
(3,109 Views)

Your VI works just fine for me when I create a c:\data folder.

 

What if you pick a different file name?

What if you pick a different directory?

 

You think you have rights to that directory, but you don't know for sure?  What if you go to that directory from an explorer windows and try to create a new file in it manually.

0 Kudos
Message 6 of 7
(3,106 Views)

Is this running on the new NI cRIO-9068?

 

If so remember that it runs on a Linux kernel! Some information about file paths can be found here: http://www.ni.com/white-paper/14626/en/#toc2

 

Also, you should ensure that that CSV file exists on the remote system as your host file system has no bearing on where it saves data.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 7 of 7
(3,096 Views)