09-08-2011 04:15 PM
Hi ,
I have a datalogging system based around a cRIO 9012. On startup, the system generates a unique filename based on the time and date. It then opens a file on an attached USB stick and logs data. When I run the system in interactive mode, it works fine. When I deploy it to the controller, I get a message: "Error 1430."
This made me think that the problem was related to the root path being different for Windows and VxWorks, as mentioned here: http://digital.ni.com/public.nsf/allkb/0D6D5696E481E4808625749800497EA1?OpenDocument
But, I tried several different configurations, and I couldn't get the path to work when deployed to the cRIO.
I then generated a more simple test case, shown in the screenshot below.
I've replaced the logging system with a path indicator and changed the root directory to C:\, in case the problem was related to the USB stick.
When I run this in interactive mode, a path appears in the path indicator. If I deploy the same code to the cRIO, and then use "Connect to remote panel" to view the panel, the path indicator is empty, but no errors are reported.
Any ideas on how I can get this working?
Thanks,
Brandon
09-09-2011 06:14 PM
Hello,
To address your question about the file path on VxWorks targets, "On VxWorks real-time targets, the file path root is actually /c/
(in lower case)" per ther article below.The article also lists some additional information about formatting RT target file paths.
Creating the Correct File Path Format for LabVIEW Real-Time Targets
http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF?OpenDocument
Best,
Patricia B.