Quote:
Originally Posted by Hugh Meyer
The periodic rate can be controlled either by a fixed value or follow the driver station. If it is set to follow the driver station, which is the default, then the period time will vary because of being a windows app. If you set the period to a specific value the cRIO will maintain a very precise periodic rate. This could also be a source of your problem.
-Hugh
|
... or you could read the actual elapsed time since the last sample, rather than assuming it is 20ms.