5 trigger detector, Trigger detector – Digilent WaveForms User Manual

Page 27

Advertising
background image

WaveForms™ SDK Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 27 of 85


FDwfAnalogInTriggerHoldOffInfo
(
HDWF hdwf,

double

*psecMin,

double

*psecMax,

double

*pnStep)

Parameters:
-

hdwf – Interface handle.

-

psecMin – Variable to receive the minimum hold off value.

-

psecMax – Variable to receive the maximum hold off value.

The function above returns the supported range of the trigger Hold-Off time in Seconds. The trigger hold-off is an
adjustable period of time during which the acquisition will not trigger. This feature is used when you are triggering
on burst waveform shapes, so the oscilloscope triggers only on the first eligible trigger point.


FDwfAnalogInTriggerHoldOffSet
(HDWF hdwf,

double

secHoldOff)

Parameters:
-

hdwf – Interface handle.

-

secHoldOff – Holdoff to set.

The function above is used to set the trigger hold-off for the AnalongIn instrument in Seconds.


FDwfAnalogInTriggerHoldOffGet(HDWF hdwf,

double

*psecHoldOff)

Parameters:

-

hdwf – Interface handle.

-

psecHoldOff – Variable to receive the current holdoff value.

The function above is used to get the current trigger hold-off for the AnalongIn instrument in Seconds.

5.5 Trigger Detector

The following functions configure the trigger detector on analog in channels. To use this, set trigger source with
FDwfAnalogInTriggerSourceSet to trigsrcDetectorAnalogIn.
See the AnalogIn_Trigger.py example.



FDwfAnalogInTriggerTypeInfo
(HDWF hdwf,

int *

pfstrigtype)

Parameters:
-

hdwf – Interface handle.

-

pfstrigtype – Variable to receive the supported trigger types.

The function above returns the supported trigger type options for the 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
TRIGTYPE constants in dwf.h. These trigger type options are:

Advertising