Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Running the Motors Backward in WindRiver & cRIO Freezes (http://www.chiefdelphi.com/forums/showthread.php?t=72401)

kyungjin 08-02-2009 14:24

Re: Running the Motors Backward in WindRiver & cRIO Freezes
 
Oh, and as the freezing cRIO...

It seems to happen when the cRIO is outputting messages to the console (Target Console). The way I see it, there is significant lag (about half a second) between values inputted into the cRIO (for example joystick values) versus values outputted from the console on your computer using printf commands. This leads me to believe that the cRIO freezes all operations trying to send values when the processor gets overloaded (because the values outputted are too slow to match the values inputted) on the cRIO and thus cannot send data as quickly to the DSU. In either case however, it works fine whenever the robot is set to run by itself (without the target console).

For us, the freezing still happens... It works for maybe 5 to 15 seconds at a time, more or less, but it's still a valuable source of data collecting and error correcting.


All times are GMT -5. The time now is 17:29.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi