View Single Post
  #9   Spotlight this post!  
Unread 04-02-2010, 07:28
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Any way to connect to console on cRIO?

Quote:
Originally Posted by SteveGarward View Post
Thanks everyone for the help. Tonight I managed to successfully test a simple logging class, which writes to a file on the cRIO. We can then retrieve the file via FTP. We'll use this for diagnostics during our matches.
Good work.
Depending on what you're logging, you might find logging user events in 'System Viewer' (open Workbench Help and search for it) a better and more efficient way. You can log arbitrary data (binary and string) which will be automatically time-stamped. While I'm sure you are, and you should be, proud of this break-through, the sub-microsecond resolution time stamps of System Viewer events could prove invaluable to whatever post-match analysis you're contemplating. OTOH, using System Viewer *without* being connected to the cRio in debug mode is admittedly a fair bit of programming work.

Quote:
Also got access to the cRIO's console via hyperterminal and through Windriver Workbench as well (not at the same time ).
The terminal in Workbench is okay.
HyperTerminal is the worst software I've ever used.
Try TeraTerm -- it's a brilliantly well behaved tool and it (easily and reliably) logs to files on the host file system.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)

Last edited by gvarndell : 04-02-2010 at 08:00.
Reply With Quote