11-27-2012 05:53 PM
Hello all!
I'm using a cRIO 9014 to read and save voltage data from a number of different sensors (thermocouples, load cells, pressure transducers) and want to save directly onto the cRIO. [Figure One]
Using the file transfer options in the Measurment and Automation Explorer, I see a root file path '/' (and another section '/ni-rt/LabVIEW Data/'). I however I created my own folder, just to keep organization '/STF_data/'. [Figure 2]
When I start up the program and specify the file path and begin trying to save data (I have two data saver VIs, one for the sensor voltages, and one for boolean values I'm writing to several valves in order to control them). [Figure 3 and 4]
However once I start up the case structure to save data (just a boolean toggle), I get the following error [Figure 5]
Any ideas on what's going on here?
11-27-2012 05:53 PM
More images:
11-27-2012 06:25 PM
And as a final follow-up, I tried to save just to the computer and ran into another error I haven't been able to figure out....I would assume this translates to the cRIO saving as well.
Here is a screen shot of the error.
11-28-2012 10:20 AM
Even though the MAX FTP client lists the directory as simply "/" the correct file path for a cRIO's hard drive is "C:\". You can find information on this in this KnowledgeBase, http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF?OpenDocument.
As for your second error there is this forum post discussing a similar case, http://forums.ni.com/t5/LabVIEW/LabVIEW-error-63198/m-p/552810?requireLogin=False. Try double checking your open and closes on your FPGA references to make sure everything is being closed properly. In addition, make sure your FPGA Opens are outside of your loops.
I hope that helps.
11-28-2012 07:00 PM
Thanks for the help. Got the file path to the cRIO set up, but now I'm running into Error 8 (a permissions error), any ideas there?
I'm using the following file path C:\test1.tdms
11-29-2012 10:54 AM
Do you get this error if you put the file in the ni-rt subdirectory rather than on the main directory of the C drive of the device? I believe that user files are supposed to be under the ni-rt folder. If that doesn't work let me know.
11-29-2012 12:28 PM
Tried that already but go an 118 Error:
Possible reason(s):
LabVIEW: The supplied folder path does not exist.
Can save to the computer just fine, but having issues with the cRIO.
11-29-2012 10:00 PM
You'll need to create the folder first on the RT side. The easiest way to do this is to ftp into the cRIO.
Simply open up Windows Explorer (not Internet Explorer) and type into the location bar ftp://<ipaddress>
This should take you to the root folder showing the ni-rt folder and the like. Just treat it like a regular Windows folder. Right-click to create the subfolder you want and then trying creating a file in that directory.