beautypg.com

Daqdacwavesettrig, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 221: Parameter summary, Parameter values, Triggersource-(daqdactriggersource)

background image

daqDacWaveSetTrig

Also See: daqDacWaveSetMode

Format

daqDacWaveSetTrig(handle, deviceType, chan, triggerSource, rising)

Purpose

daqDacWaveSetTrig

sets the trigger event for the waveform/pattern output operation.

Parameter Summary

Parameter Type

Description

handle DaqHandleT Handle of the device for which to set DAC

waveform triggering

deviceType DaqDacDeviceType

Specifies the DAC type

chan DWORD

Specifies the DAC channel

triggerSource DaqDacTriggerSource

Specifies the DAC output trigger source

rising BOOL

Boolean indicating the trigger source edge

Parameter Values

handle:

obtained from the daqOpen function

deviceType:

see table below

chan:

valid values depend on the values chosen for the deviceType parameter; see the deviceType

table below
triggerSource:

see table below

rising:

this parameter is ignored with the current trigger source definitions available with this command

Parameter Type Definitions

deviceType–(DaqDacDeviceType)

Definition

chan

Value

Description

0

Set the trigger source of waveform/pattern output operation where DAC0 is
one of the channels being output.

1

Get the trigger source of waveform/pattern output operation where DAC1 is
one of the channels being output.

2

Set the transfer of waveform/pattern output data where DAC2 is one of the
channels being output.

DddtLocal

3

Set the transfer of waveform/pattern output data where DAC3 is one of the
channels being output.

DddtLocalDigital

0

Set the transfer waveform/pattern output data where the 16-bit P3 Digital port
is one of the channels being output.

triggerSource-(DaqDacTriggerSource)

Definition Description

DdtsImmediate

Output immediately after arming

DdtsSoftware

Output upon calling the daqDacWaveSoftTrigfunction from user or software

DdtsAdcClock

Output on a signal from the ADC clock.

Programmer’s Manual

908494

Daq API Command Reference 4.4-39