|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 |
|
#2
|
|||
|
|||
|
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) ) |
|
#3
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CRIO Error 60 | seanl | FRC Control System | 14 | 01-18-2009 04:29 PM |
| cRIO fuse??? 20 or 30? | mynameisbob | Electrical | 12 | 01-09-2009 11:33 AM |
| cRIO: Traditional or LabVIEW? | Spartan151 | Programming | 6 | 10-23-2008 05:18 PM |
| Future use of cRIO? | SL8 | Technical Discussion | 47 | 04-30-2008 01:18 PM |