FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

cRio idle time?

Is there a way to determine how much time on the cRio is spent idling?

The idea is that this could be used to tune the camera, i.e., more idle time means more time to do image processing.

(Clearly, this value would make the most sense in full run-time mode, i.e., no debugging windows open, etc.)

0 Kudos
Message 1 of 3
(6,082 Views)

Go to Tools>>RealTime>>System Manager. Since the default settings have a ton of overhead, change to the VIs tab and turn off the option "Track VI states". The change back to the Resources tab and check the "Track CPU Usage" option, and click start.

0 Kudos
Message 2 of 3
(2,727 Views)

The Execution Trace Toolkit can be used to measure the exact time each thread takes to compute on the cRIO.  This is a very advanced debugging tool and it can take some time to learn how to use.  Here a tutorial to get started with. 

Exercise 1: Create and Debug a Real-Time Project and Application

Mark
NI App Software R&D
0 Kudos
Message 3 of 3
(2,727 Views)