|
Re: Where does Windriver printf
Just be careful of sending a printf() in your while(IsOperatorControl()) loop. The frequency of such a thing is very high and will quickly swamp the network/cRio etc. Often we will use a static int counter or a timer.HasPeriodPassed(500) to only allow a printf to occur a few times per second.
bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
|