FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use netconsole in C++

Solved!
Go to solution

I formatted the cRIO and selected the check box for NetConsole. Now I need to figure out how to use it.


How can I include it the C++ code? I added "netcosole::cout << "test";" but it didn't compile.


Where can I find the NetConsole program on the development PC?

0 Kudos
Message 1 of 5
(5,029 Views)
Solution
Accepted by jnettleton

You simply print like normal.  printf("Hello world\n");  You can view the output in the Net Console Client installed with the utilities update.

0 Kudos
Message 2 of 5
(3,070 Views)

I started the "NetConsole for cRIO" program. I entered "10.xx.yy.2" for the machine address and nothing happens. I also tried pressing the Auto button.


Not able to get any output yet. Any ideas?

0 Kudos
Message 3 of 5
(3,070 Views)

Make sure you have the firewall off and that you have enabled the NetConsole server in the cRIO imaging tool.

0 Kudos
Message 4 of 5
(3,070 Views)

Firewall is turned off (so I can deploy code) and I used the imaging tool to format the cRIO with the NetConsole checkbox enabled.  Is there anything else to enable the NetConsole server?

0 Kudos
Message 5 of 5
(3,070 Views)