Download AlazarTech SDK Programmer`s Guide
Transcript
SDK Programmer’s Guide 3.3.61 AlazarSetTriggerDelay Set the time, in sample clocks, to wait after receiving a trigger event before capturing a record for the trigger. Syntax C/C++ RETURN_CODE AlazarSetTriggerDelay ( HANDLE BoardHandle, U32 Value ); VisualBasic AlazarSetTriggerDelay ( ByVal BoardHandle As Integer, ByVal Value As Long ) As Long Parameters BoardHandle [in] Handle to board. Value [in] Trigger delay in sample clocks. Return value The function returns ApiSuccess (512) if it was able to retrieve the value of the specified parameter. Otherwise, the function returns an error code that indicates the reason that it failed. See Table 1 for a list of error codes. Remarks To convert the trigger delay from seconds to sample clocks, multiple the sample rate in samples per second by the trigger delay in seconds. For example, if the sample rate is 50 MS/s and the desired trigger delay is 1 ms, then the trigger delay in sample clocks is 50e6 samples per second x 1e-3 seconds = 50000 samples. The trigger delay value may be 0 to 9,999,999 samples. The trigger delay value must be a multiple of 4 for the ATS850 and ATS860. See Also AlazarSetExternalTrigger AlazarSetTriggerOperation AlazarSetTriggerTimeOut © 2003-2010 Alazar Technologies Inc. 171