Quote:
Originally Posted by gpetilli
We observed similar symptoms. We tried a 10ms PID timed loop which read some I2C sensors and wrote to the PWM outputs and we measured periods of 11ms to 16ms. We have changed our scheduler to do 15ms since this appears to be the limit of either the cRIO or the scheduler. Do you really need 10ms?
|
I would expect that I2C could be less efficient then DIO. You were also doing your test in java and with lots of additional calculations, right?