Go to Post Just call me conservative. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2009, 18:59
Maxpower57's Avatar
Maxpower57 Maxpower57 is offline
Fabuloso
AKA: Maxwell V.
FRC #2574 (RoboHuskie)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: St. Anthony, MN
Posts: 53
Maxpower57 will become famous soon enoughMaxpower57 will become famous soon enough
Send a message via AIM to Maxpower57
cRIO feedback

In WindRiver,
How do you read the feedback from the cRIO (e.g. the printf() statements)
or is there another function we should use for this
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2009, 02:56
Jlulian Jlulian is offline
Registered User
AKA: Julian Moore
FRC #0004
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: CA
Posts: 5
Jlulian is an unknown quantity at this point
Re: cRIO feedback

There is a Printf method in the Dashboard object ( Dashboard::GetInstance()->Printf("Hello World!"); ), but just plain printf prints to the Serial Console.
Connect your computer to the cRIO's serial port with a Null modem cable, Then you can view the console output with any terminal emulator you choose (the one in WindRiver, HyperTerminal, PuTTY).

(The Serial Port is 9600 baud 8 data bits no flow control/handshaking 1 stop bit with default settings (or 9600 8N1) )
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2009, 19:06
laultima laultima is offline
Registered User
FRC #1458 (Danvillans)
Team Role: Alumni
 
Join Date: Feb 2007
Rookie Year: 2005
Location: Danville, CA
Posts: 87
laultima is on a distinguished road
Send a message via AIM to laultima
Re: cRIO feedback

You can view them from WindRiver without a serial cable. After setting up the cRIO as a remote system and connecting to it, right click the cRIO in the remote systems tab on the left, and in target tools, click on target console. You can view your printf statements this way.
__________________
2007 Davis/Sacramento Regional Winner (100, 997, 1458)

2008 Davis/Sacramento Regional Gracious Professionalism Award Winner

Reply With Quote
Reply


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
CRIO Error 60 seanl FRC Control System 14 18-01-2009 16:29
cRIO fuse??? 20 or 30? mynameisbob Electrical 12 09-01-2009 11:33
cRIO: Traditional or LabVIEW? Spartan151 Programming 6 23-10-2008 17:18
Future use of cRIO? SL8 Technical Discussion 47 30-04-2008 13:18


All times are GMT -5. The time now is 13:17.

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