beautypg.com

Daqadcsettrigenhanced – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 108

background image

daqAdcSetTrigEnhanced

Also See: daqAdcSetAcq, daqAdcSetScan,daqAdcSetTrigEnhanced,daqSetTriggerEvent,

daqAdcSoftTrig

Format

daqAdcSetTrigEnhanced(handle, trigSources, gains, adcRanges,
trigSensitivity, level, hysteresis, channels, chanCount, opStr)

Purpose

daqAdcSetTrigEnhanced

configures the device for enhanced triggering.

Parameter Summary

Parameter Type

Description

handle DaqHandleT Handle to the device for which the ADC

acquisition trigger will be configured

trigSources DaqAdcTriggerSource

A pointer to an array of trigger sources for each
defined trigger channel

gains DaqAdcGain

A pointer to an array of gains for each defined
trigger channel

adcRanges

DaqAdcRangeT

A pointer to an array of polarity flag definitions
for each defined channel

trigSensitivity DaqEnhTrigSenseT

A pointer to an array of trigger sensitivity flags for
each defined channel trigger source

level PFLOAT

A pointer to an array of analog trigger levels for
each defined trigger channel

hysteresis PFLOAT

A pointer to an array of hysteresis values for each
defined trigger channel

channels PDWORD

A pointer to an array of trigger channels
representing the actual trigger channels to trigger
on

chanCount DWORD

Number of trigger channels

opStr char

A pointer to an array of characters which
determines the interaction of the trigger channels


Parameter Values

handle:

obtianed from the daqOpen function

trigSources:

see table below

gains:

see the ADC Gains Table

adcRanges:

see table below

trigSensitivity:

see table below

level:

a pointer to an array of values ranging from –10.0 to +10.0 Volts

hysteresis:

a pointer to an array of values ranging from –10.0 to +10.0 Volts

channels:

a pointer to an array of values ranging from 0 to 71

chanCount:

valid values range from 1 to 512

opStr:

a pointer to an array characters which can be “+” or “-“

4.2-52 Daq API Command Reference

988594

Programmer’s Manual