|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Capture Data from the cRio
We are attempting to capture information from the cRio while the robot is running to put into an excel file. We are using WindRiver and have used the Target Console for a while but can not find a way to extract the information there. I can not find where in the documentation it talks about recording information during a program, does anyone have a good way to do this?
|
|
#2
|
||||
|
||||
|
Re: Capture Data from the cRio
I think you can use dprintf if you look in BAEUtilities.h. You can save stuff to a file on your robot. What are you using for a terminal when you print the data to it?
|
|
#3
|
|||
|
|||
|
Re: Capture Data from the cRio
You probably don't want to use dprintf...it may work, but it is intended for debug and may write into a debug or error file which would be hard to parse.
Looking deeper into BAE utilities, you'll be lead to a function "fwrite" declared in stdio.h. That's your best way to write a file. After the file is written, you can FTP into the cRIO to retrieve it...I believe the user is "root" with no password. -Jeff Erickson, FRC 41 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Packets from the cRio | rfrank | Programming | 2 | 17-01-2009 22:35 |
| Problems undeploying a program from the cRIO | ellisk | Programming | 2 | 29-12-2008 16:21 |
| 24v Power Conector to from the PDB to the cRIO | mcf747 | Electrical | 14 | 01-12-2008 19:19 |
| pic: Team 234 and 1730 in the air after the winning lift from 1555 to capture the Boilermaker Regional | Chris Fultz | Extra Discussion | 2 | 22-03-2007 00:00 |
| Getting data from the robot | mfwit | LabView and Data Acquisition | 1 | 19-02-2006 20:07 |