MATLAB: Is the lower limit of the TimerPeriod property of instrument objects different from the lower limit of the MATLAB timer object

Instrument Control Toolboxobjectserialtimertimerperiod

Why is the lower limit of the TimerPeriod property of instrument objects different from the lower limit of the MATLAB timer object?
Why can the timer Period from the timer object Matlab can go down to 0.001s and the timer object from the Instrument Control Toolbox only to 0.01s?
The MATLAB timer object has a lower limit of 0.001s but the lower limit of the instrument control toolbox objects and the serial object is 0.01s. Why is this so and how can we obtain a lower limit of 0.001s with the instrument control toolbox objects?

Best Answer

The reason why the Instrument Control Toolbox and the SERIAL object have a Timer Period lower limit of 0.01s is so that the period is not skipped during the operations that are being performed. That is, the TimerPeriod can possibly be skipped if the operation takes more than the timer period. The lower limit of 0.01s safe guards against setting the limit to an unrealistic period.
The lower limit of 0.001s with the timer object is provided but it is not likely that all callback functions can be executed within a period. So there are possibilities that some periods will be missed intermittently.
Related Question