Owner manual

WaveForms™ SDK Reference Manual
Page 25 of 85
FDwfAnalogInTriggerSourceInfo(HDWF hdwf, int *pfstrigsrc)
Parameters:
- hdwf Interface handle.
- pfstrigsrc Variable to receive the supported trigger sources.
The function above returns the supported trigger source 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 TRIGSRC constants in dwf.h. For more detail regarding these constants, see the description of
FDwfDeviceTriggerInfo.
FDwfAnalogInTriggerSourceSet(HDWF hdwf, TRIGSRC trigsrc)
Parameters:
- hdwf Interface handle.
- trigsrc Trigger source to set.
The function above is used to configure the AnalogIn acquisition trigger source.
FDwfAnalogInTriggerSourceGet(HDWF hdwf, TRIGSRC *ptrigsrc)
Parameters:
- hdwf Interface handle.
- ptrigsrc Variable to receive the current trigger source.
The function above returns the configured trigger source. The trigger source can be “none” or an internal
instrument or external trigger. To use the trigger on AnalogIn channels (edge, pulse, etc.), use
trigsrcDetectorAnalogIn.
FDwfAnalogInTriggerPositionInfo(HDWF hdwf, double *psecMin, double *psecMax)
Parameters:
- hdwf Interface handle.
- psecMin Variable to receive the minimum trigger position.
- psecMax Variable to receive the maximum trigger position.
The function above returns the minimum and maximum values of the trigger position in seconds. The horizontal
trigger position is used for Single acquisition mode and it is relative to the buffer middle point.
FDwfAnalogInTriggerPositionSet(HDWF hdwf, double secPosition)
Parameters:
- hdwf Interface handle.
- secPosition Trigger position to set.
The function above is used to configure the horizontal trigger position in seconds.