09-28-2009 07:20 PM
im trying to log some data to an excel spreadsheet using the write to spreadsheet.vi.
When this VI is run on the crio, i get an error.
"error 43 occured at open/create/replace file in write spreadsheet string.vi"...
Its the same error i get if the same vi is run on teh local pc, and with no path provided, and the user clicks on the cancel button.. thus giving it no valid file name. In this case, on the crio, i have even hardcoded a file path in and still get the error though.
any help is apprecatied as i really would like to log the data
09-29-2009 09:29 AM
How are you providing your path constant?
If you are using a string constant with "c:\" you will get an error because cRIO uses unix style paths: "/c/system/"
If you use a path constant (green box) and put "c:\" it should work correctly.
09-29-2009 11:04 AM
Im trying to write the file to the local PC
I was always using file path (green) constants.
If i write to the crio, well, i need to know how to get the file off of it.
I did try your suggstion of just the root of the c drive.
I do not get an error, but the file does not show up.
Where is the file being written to, the crio?
If i run a more elaborate path, such as this:
http://www.engr.uconn.edu/~jmacione/temp/Untitled6.jpg
The following error occurs
http://www.engr.uconn.edu/~jmacione/temp/Untitled5.jpg
09-29-2009 12:38 PM
09-29-2009 12:38 PM
so according to hunter at ni, the crio will only write locally.
then we have to ftp into it to get the files
i guess its ok as the files are small.
easiest way if found is through my computer, ftp://192.168.1.105 and all the files show up.
09-29-2009 12:39 PM
thanks
09-29-2009 01:35 PM