![]() |
Wireless debug print ??
We are using C++ and want to use debug print statements to send data over the wireless data link and display it on a laptop.
We are aware of the LCD print capability and use it for small prints but large data dumps require a laptop. We have the TCP/IP communications going, but not quite sure how to send things to the Terminal window. Does anyone have some sample code for this. |
Re: Wireless debug print ??
Juse use printf and to see the output, open a target console. Right click on the target, select "Target Tools" and "Console". You don't have to be running in debug mode to see the output.
Brian |
Re: Wireless debug print ??
Quote:
|
Re: Wireless debug print ??
Quote:
Or maybe if you write your debugging messages to a file on the cRio, you can retrieve them by ftp-ing to it wirelessly (10.te.am.2, using "root" and no password). You could probably even watch the file grow as if it were real console output, using something like ftptail. Here's the code you need to write stuff to files: Code:
#include <stdio.h> |
Re: Wireless debug print ??
We get the output to the console wirelessly. Always have since the beginning. Our "console out" switch is on, if that makes a difference.
Brian |
Re: Wireless debug print ??
For wireless debugging I wrote to the console output using standard iostream:
Code:
std::cout << "Variable 1: " << var1 << std::endl; |
Re: Wireless debug print ??
I am searching for the way to activate it and i can't find it.
Is it the same for wireless download or is that a different thing altogether? |
Re: Wireless debug print ??
Quote:
|
| All times are GMT -5. The time now is 02:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi