Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

How Do I Access Console Out on a roboRIO?



Primary Software: LabVIEW Modules>>LabVIEW Real-Time Module
Primary Software Version: 2015
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to view the console output on my roboRIO. How do I do this?

Solution:
The following steps walk through the process of obtaining the console out from the roboRIO:
  1. Connect the the RS-232 (serial) port on the roboRIO to the serial port of your computer. The typical serial port on most computers will be a DB-9 connector, while the roboRIO uses a 3 pin header. See the following table for the proper wiring configuration:

  2. Figure 1: Serial DB-9 Male Pinout

    Figure 2: roboRIO RS-232 Pinout

     roboRIO Serial DB-9 Serial DB-9 (NULL)
    TXD RXD (Pin 2) TXD (Pin 3)
    RXD TXD (Pin 3) RXD (Pin 2)
    GND GND (Pin 5) GND (Pin 5)


  3. When in Run Mode, you will need to enable the console out in MAX or through the Web Configuration. 


      Figure 3: Console Out Settings       

      Note: Safe Mode should be set to display the console out by default.   

  4. To view the output on the computer, you will need to run a terminal program. PuTTY is a popular choice with a free download. Configure this for serial and set the baud rate to 115200 (the default for roboRIO)

  5. Figure 4: Standard Putty Configuration       

  6. Run PuTTY, or the terminal program of your choice, and restart the roboRIO. 

  7. At this point, the console out should be displaying information as the roboRIO boots up. If not, try adjusting the TX and RX wiring as these are swapped if using a null cable instead of a standard serial cable.  The figure below shows an example of the expected output if the wiring is successful.

  8. Figure 5: Example PuTTY Console Display



Related Links:
White Paper: Serial Communication Overview
KnowledgeBase 3M87HMD7: How Do I Enable the Console Out on CompactRIO, Single-Board RIO, CompactFieldPoint Controllers?
External Link: PuTTY

Attachments:





Report Date: 05/15/2015
Last Updated: 07/28/2015
Document ID: 6XE9911O

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit