Owner manual

WaveForms™ SDK Reference Manual
Page 32 of 85
FDwfAnalogInTriggerLengthConditionInfo(HDWF hdwf, int *pfstriglen)
Parameters:
- hdwf Interface handle.
- pfsstriglen Variable to receive the supported trigger length conditions.
The function above returns the supported trigger length condition options for the AnalogIn instrument. They are
returned (by reference) as a bit field. This bit field can be parsed using the IsBitSet Macro. Individual bits are
defined using the TRIGLEN constants in DWF.h. These trigger length condition options are:
triglenLess: Trigger immediately when a shorter pulse or transition time is detected.
triglenTimeout: Trigger immediately as the pulse length or transition time is reached.
triglenMore: Trigger when the length/time is reached and pulse or transition has ended.
FDwfAnalogInTriggerLengthConditionSet(HDWF hdwf, TRIGLEN triglen)
Parameters:
- hdwf Interface handle.
- triglen Trigger length condition to set.
The function above is used to set the trigger length condition for the AnalongIn instrument.
FDwfAnalogInTriggerLengthConditionGet(HDWF hdwf, TRIGLEN *ptriglen)
Parameters:
- hdwf Interface handle.
- ptriglen Variable to receive the current trigger length condition.
The function above is used to get the current trigger length condition for the AnalongIn instrument.
FDwfAnalogInTriggerLengthInfo(
HDWF hdwf, double *psecMin, double *psecMax, double *pnStep)
Parameters:
- hdwf Interface handle.
- psecMin Variable to receive the minimum trigger length.
- psecMax Variable to receive the maximum trigger length.
The function above returns the supported range of trigger length for the instrument in Seconds. The trigger length
specifies the minimal or maximal pulse length or transition time.