SetInterval¶
-
virtual void IAcquisition::SetInterval(double interval) = 0¶
Sets the sample interval used for obtaining samples.
- Parameters
interval – Sample interval in seconds.
- Throws
CInvalidArgumentException
– Invalid sample interval (zero, negative, infinite or NaN).CInvalidOperationException
– Acquisition instance is not in state EAcquisitionState::Idle or EAcquisitionState::Prepared.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CObjectDestroyedException
– Object is destroyed.
- Remarks
The value is rounded to the nearest supported sample interval.