|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
how to use netconsole in C++
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? |
|
#2
|
||||
|
||||
|
Re: how to use netconsole in C++
If you installed all the updates correctly, you should have a "NetConsole for cRIO" when you click "Start->All Programs". After you click on NetConsole, you need to enter the IP address of the cRIO (e.g. 10.te.am.2).
I am not sure about cout but you can do printf in your code. I think some other threads said cout doesn't work. |
|
#3
|
|||
|
|||
|
Re: how to use netconsole in C++
Quote:
|
|
#4
|
|||
|
|||
|
Re: how to use netconsole in C++
If you select NetConsole in the imaging tool, is the 'console out' on the serial port automatically disabled? I.E. is either 'console out' on the serial port or NetConsole over the ethernet cable?
|
|
#5
|
|||
|
|||
|
Re: how to use netconsole in C++
I'm not sure. I really only use the Serial console if something is very wrong with the cRIO.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|