| EHaskins |
20-12-2008 02:46 |
Re: PrintFs
Quote:
Originally Posted by nickmagus
(Post 785793)
Does anyone know how to get window to see the C++ printfs coming from the robot on your computer? I have been able to download and debug code successfully but I am still unable to get feedback on what the code is actually doing other than the actions of the robot.
|
You need to configure your cRio and PC as described in section 5.4.1 of the control system manual. If you're looking for another terminal client for Windows PuTTY is what I'm using.
Essentially you need to use the serial port on the cRio for that type of output.
However if you're using printfs as your primary means for debugging I suggest you look into using break points and the other debugging tools integrated with windriver.
Quote:
Originally Posted by EricH
(Post 785802)
C++ printfs are known as couts. Try using a few of those.
|
printfs work as expected when you configure your system as I said above.
|