beautypg.com

Digilent WaveForms User Manual

Page 13

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


FDwfDeviceTriggerSet(HDWF hdwf,

int

idxPin, TRIGSRC trigsrc)

Parameters:
-

hdwf – Interface handle.

-

idxPin – External trigger, I/O pin index.

-

trigsrc – Trigger source to set.

The function above is used to configure the trigger I/O pin with a specific TRIGSRC option.



FDwfDeviceTriggerGet(HDWF hdwf,

int

idxPin, TRIGSRC *ptrigsrc)

Parameters:

-

hdwf – Interface handle.

-

idxPin - External trigger, I/O pin index.

-

ptrigsrc – Variable to receive the current trigger source.

The function above returns the configured trigger setting for a trigger I/O pin. The trigger source can be “none”, an
internal instrument, or an external trigger.


FDwfDeviceTriggerPC(HDWF hdwf)

Parameters:
-

hdwf – Interface handle.

The function above generates one pulse on the PC trigger line.

Trig Ext

DI/O

ADC

Oscilloscope

Trigger Detector

Control

Analyzer

Trigger Detector

Control

Patterns

Control

Tri
g

g

e

r s

ig

n

a

ls

b

u

s

Board ON

WaveGen 1

Control