Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Accessing CRIO files from LabVIEW (http://www.chiefdelphi.com/forums/showthread.php?t=100918)

MotorHead 22-01-2012 19:27

Accessing CRIO files from LabVIEW
 
1 Attachment(s)
I am exploring the ability to read robot operating parameters at program startup. This would allow me to make quick changes to tuning parameters without having to redeploy code. I have successfully used the read and write ini vi's to my computer as a test. I am now trying to read and write to the CRIO memory. Using ftp, I see a folder labeled 'ni-rt/LabVIEW Data' on the CRIO. This is where I would like to read/write to.

My problem is the syntax for the file path. I keep getting an error about I must use an absolute path and not a relative path. Has anyone successfully done this and what is the syntax?

I have attached my current vi attempt for reference.


Thanks

Joe Ross 22-01-2012 19:34

Re: Accessing CRIO files from LabVIEW
 
We store our files on the root of the cRIO. We use a absolute path c:\filename.ext

Doug Norman 23-01-2012 09:08

Re: Accessing CRIO files from LabVIEW
 
We actually have an example that may help. It is installed on your machine at:
\Program Files\National Instruments\LabVIEW 2011\examples\FRC\File\Load and Save Preferences\Load and Save Preferences.lvproj

Sorry this didn't make it into the Example Finder - it was written too late for that.


All times are GMT -5. The time now is 11:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi