3 trigger, Trigger – Digilent WaveForms User Manual

Page 65

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 65 of 85

9.3 Trigger


FDwfDigitalInTriggerSourceInfo
(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 instrument. See the description of
FDwfDeviceTriggerInfo.


FDwfDigitalInTriggerSourceSet
(HDWF hdwf, TRIGSRC trigsrc)

Parameters:
- hdwf – Interface handle.

- trigsrc – Trigger source to set.

The function above is used to set the trigger source for the instrument.



FDwfDigitalInTriggerSourceGet
(HDWF hdwf, TRIGSRC *ptrigsrc)

Parameters:
- hdwf – Interface handle.

- ptrigsrc – Pointer to variable to receive the trigger source.

The function above is used to get the current trigger source setting for the instrument.


FDwfDigitalInTriggerPositionInfo
(
HDWF hdwf,

unsigned

int

*pnSamplesAfterTriggerMax)

Parameters:
-

hdwf – Interface handle.

-

pnSamplesAfterTriggerMax – Variable to receive the maximum trigger position.

The function above returns maximum values of the trigger position in samples. This can be greater than the
specified buffer size.


FDwfDigitalInTriggerPositionSet
(HDWF hdwf,

unsigned

int

cSamplesAfterTrigger)

Parameters:
- hdwf – Interface handle.

- cSamplesAfterTrigger – Samples after trigger.

The function above is used to set the number of samples to acquire after trigger.

Advertising