SetPreSampleDuration¶
-
virtual void IAcquisitionTrigger::SetPreSampleDuration(double duration) = 0¶
Sets the pre-trigger sample duration in seconds.
- Parameters
duration – Pre-trigger sample duration.
- Throws
CInvalidArgumentException
– Invalid duration (negative, infinite or NaN).CInvalidOperationException
– Associated 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.