Go to Post Canadian teams would definitely be able to give some of the "big boys" a run for their money. Despite the fact that their money is worth more than ours... =) - Karthik [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 08-01-2009, 21:57
Mr.Macdonald Mr.Macdonald is offline
Registered User
FRC #2272
 
Join Date: Jan 2009
Location: Conejo Valley Robotics
Posts: 26
Mr.Macdonald is an unknown quantity at this point
Wind River Printing from cRio

I can't figure out how to view the statements printed by the cRio when executing the Simple Template. I downloaded it very easily, and I installed the update.

Also how do you debug and watch the process of the cRio

Thank You

EDIT: I am using Wind River

Last edited by Mr.Macdonald : 08-01-2009 at 22:01.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2009, 22:23
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: Wind River Printing from cRio

If you mean statements from "printf()", you can see them on the serial port out (there's some proper documentation on this)

You can also (apparently) use the Dashboard.Printf() member function to print to the LabView FRC Dashboard. (I haven't tested this)
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2009, 00:23
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Wind River Printing from cRio

First, your cRIO must be on and properly connected to your computer through the driver station.

You must first then connect with the cRIO, right clicking on the VxWorks target and clicking "connect to target," assuming you have configured it properly as instructed in the C/C++ programming guide (the instructions I am referring to start on page 86). It should be in the menu on the bottom-left of your screen in the "Remote Systems" tab. Once connected, right click on the "Wind River Target Debugger," go to "Target Tools", and select "Target Console." If a configuration window appears, click ok, and you should now be connected to the console.
__________________

Last edited by slavik262 : 09-01-2009 at 00:26.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2009, 00:37
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Wind River Printing from cRio

The other thing to remember is that the "console out" switch on the cRIO must be set to "on" and the system rebooted before it will send output to the serial port
__________________
Get yer robot source code here!
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2009, 00:38
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,067
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Wind River Printing from cRio

Quote:
Originally Posted by slavik262 View Post
Once connected, right click on the "Wind River Target Debugger," go to "Target Tools", and select "Target Console." If a configuration window appears, click ok, and you should now be connected to the console.
Theres also an option in the debug target options to immediately launch a console on debug. Quite useful.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2009, 20:39
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Re: Wind River Printing from cRio

I have followed all instructions and I haven't been able to receive any feedback from the cRio.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-01-2009, 20:42
360skier 360skier is offline
RTFM!!
AKA: Eric A.
FRC #1334 (Red Devils)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Oakville, Ontario
Posts: 45
360skier is an unknown quantity at this point
Re: Wind River Printing from cRio

Are you opening the VxWorks console or using the serial port output?
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
Getting Packets from the cRio rfrank Programming 2 17-01-2009 22:35
Wind River Help BenB Programming 3 02-01-2009 21:42
Open Wind River excel2474 Programming 12 31-12-2008 17:36
Printing blueprints from SolidWorks tapdancingstef SolidWorks 1 31-01-2008 16:16
Printing to network HP Laserjet 4 from Mac? sanddrag IT / Communications 6 20-04-2005 00:59


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

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