Go to Post DEKA is right next to the river, and when i got there this morning they wouldn't let us into the building, but apparently there is and standing water on the first floor. The ironic thing is that i work on the water project and we can't deal with a bit of water on the floor - Greg Needel [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2009, 21:06
goodsky's Avatar
goodsky goodsky is offline
Programming Mentor
AKA: Skyler
FRC #1902 (Exploding Bacon)
Team Role: College Student
 
Join Date: Sep 2007
Rookie Year: 2005
Location: Orlando
Posts: 55
goodsky has a spectacular aura aboutgoodsky has a spectacular aura aboutgoodsky has a spectacular aura about
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?
__________________
OINK OINK BOOM!!!
  #2   Spotlight this post!  
Unread 13-01-2009, 21:11
wt200999's Avatar
wt200999 wt200999 is online now
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
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?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
  #3   Spotlight this post!  
Unread 13-01-2009, 21:27
jee7s jee7s is offline
Texan FIRSTer, ex-frc2789, ex-frc41
AKA: Jeffrey Erickson
FRC #6357
 
Join Date: Nov 2007
Rookie Year: 1997
Location: Dripping Springs, TX
Posts: 313
jee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond repute
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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