PrintFs

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.

C++ printfs are known as couts. Try using a few of those.

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.

printfs work as expected when you configure your system as I said above.