beautypg.com

Digilent WaveForms User Manual

Page 28

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

trigtypeEdge: trigger on rising or falling edge. This is the default setting.

trigtypePulse: trigger on positive or negative; less, timeout, or more pulse lengths.

trigtypeTransition: trigger on rising or falling; less, timeout, or more transition times.


FDwfAnalogInTriggerTypeSet
(HDWF hdwf, TRIGTYPE trigtype)

Parameters:
-

hdwf – Interface handle.

-

trigtype – Trigger type to set.

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


FDwfAnalogInTriggerTypeGet(HDWF hdwf, TRIGTYPE *ptrigtype)

Parameters:

-

hdwf – Interface handle.

-

ptrigtype – Variable to receive the current trigger type.

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


FDwfAnalogInTriggerChannelInfo(HDWF hdwf,

int

*pidxMin,

int

*pidxMax)

Parameters:

-

hdwf – Interface handle.

-

pidxMin – Variable to receive the minimum channel index.

-

pidxMax – Variable to receive the maximum channel index.

The function above returns the range of channels that can be triggered on.



FDwfAnalogInTriggerChannelSet
(HDWF hdwf,

int

idxChannel)

Parameters:
-

hdwf – Interface handle.

-

idxChannel – Trigger channel index to set.

The function above is used to set the trigger channel.