10-22-2007 01:47 AM
10-22-2007 02:09 AM
Hey,
Are there any errors? Did you debug your VI to see if the data reaches the "write to spredsheet.vi"? Is there no file or an empty file after writing the data? And so on...
I think we need a little bit more information on whats going on to help you!
Christian
10-22-2007 04:28 AM
10-22-2007 04:49 AM
Hey!
One thing you can try is to take the File I/O Part, place it in another VI and write dummy data (e.g. random numbers) to the "write to spreadsheet file.vi". So just test the File I/O part for its own.
Christian
10-22-2007 11:31 PM
10-22-2007 11:57 PM
10-23-2007 03:07 AM
Hey!
Ok, so you don't run the File I/O on your Host computer but on your 9004 controller...., anyway it should work! Again i would suggest to run a realy simple example with only the File I/O on your 9004. Attached you will find a very simple VI which only writes random numbers to C:\test.txt of your 9004. Please test this VI.
Christian
10-23-2007 11:03 PM
10-24-2007 02:07 AM
Hey,
First of all, you shouldn't use Express VIs on realtime targets.
Another hint would be to copy the file from the cRIO target to the host PC, so to open the File via ftp://100.100.100.101 (please use the IP of your cRIO there) and then copy it on your desktop. This is because Windows keeps the file in memory as longe as the ftp connection is open, so it will display no changes of the file since you open it the first time.
Christian
10-25-2007 05:51 AM