beautypg.com

Function usage, Prototypes, Program references – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 107

background image

Function Usage

This function has been obsoleted by the daqSetTriggerEvent function, and his presented
here only as a reference. See daqSetTriggerEvent for more details.

The daqAdcSetTrig function sets and arms the trigger of the A/D converter. Several trigger sources and
several mode flags can be used for a variety of acquisitions. daqAdcSetTrig will stop current acquisitions,
empty acquired data, and arm the device using the specified trigger. All of this can be accomplished using the
daqSetTriggerEvent

function.

Prototypes

C/C++

daqAdcSetTrig(DaqHandleT handle, DaqAdcTriggerSource triggerSource, BOOL
rising, WORD level, WORD hysteresis, DWORD channel);

Visual BASIC

VBdaqAdcSetTrig&(ByVal handle&, ByRef triggerSource&, ByVal rising&, ByVal
level%, ByVal hysteresis%, ByVal channel&)

Program References

None

Programmer’s Manual

908594

Daq API Command Reference 4.2-51