annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Question about Write to Spreadsheet

QQ图片20131001092601.jpg

 

Does anyone has any idea about how to fixed that ?

0 Kudos
Messaggio 1 di 7
3.274Visualizzazioni

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
Messaggio 2 di 7
3.269Visualizzazioni

It does exist, but the error still shown

0 Kudos
Messaggio 3 di 7
3.264Visualizzazioni

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

0 Kudos
Messaggio 4 di 7
3.262Visualizzazioni

I think I have,

Here is the file

0 Kudos
Messaggio 5 di 7
3.257Visualizzazioni

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
Messaggio 6 di 7
3.254Visualizzazioni

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
Messaggio 7 di 7
3.244Visualizzazioni