|
Re: Wait Function
It is nowhere near 1ms. And the overhead of the loop is relatively small. Of course it very much depends on what you put in it, and whether you configure it to try to regain the schedule or slip it.
If you want to look at it under a microscope, you modify those sample loops to call into the RT Trace toolkit and that will let you see all the details of the scheduling. I've attached one of the example log screenshots. I would attach a typical 20ms teleop execution, but again, no cRIO at home.
Greg McKaskle
|