Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Saving Value to the cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=112445)

Bpk9p4 01-31-2013 09:45 AM

Saving Value to the cRIO
 
Does anyone know how to save tuning values on the cRIO and be able to to update the variables without re-flashing the software? We are wanting to do this so that we can calibrate the robot easily at the competition.

Mark McLeod 01-31-2013 10:37 AM

Re: Saving Value to the cRIO
 
1 Attachment(s)
Here's only one example of creating and saving a text file on the cRIO from your cRIO program.
You can create and save other types of files, too, that might be more appropriate for your calibration data.

Look under Programming -> File I/O for these and how to read the data back in.

Bpk9p4 01-31-2013 11:08 AM

Re: Saving Value to the cRIO
 
so can you send values from the drives station to the cRIO and have it be saved there? Also with this method you have to reflash the software each time you send a new text file?

Mark McLeod 01-31-2013 11:25 AM

Re: Saving Value to the cRIO
 
You save whatever values you want, from wherever they came.

If you are instead talking about creating a File locally on a PC, then ftp'ing the File to the cRIO, that's a different thing, but also possible. You have to handle the ftp part yourself.
Just write your cRIO code to read the local File on command.


All times are GMT -5. The time now is 06:09 PM.

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