
4.6-24 Daq API Command Reference 908594 Programmer’s Manual
daqSetTriggerEvent
Also See: daqAdcSetScan,
daqAdcSetTrig, daqAdcSetTrigEnhanced
Format
daqSetTriggerEvent(handle, trigSource, trigSensitivity, channel, gainCode,
flags, channelType, level, variance, event)
Purpose
daqSetTriggerEvent sets an acquisition trigger start event or an acquisition stop event.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device for which the trigger event is to be
configured
trigSource DaqAdcTriggerSource
Trigger source
trigSensitivity DaqEnhTrigSensT
Trigger sense and direction
channel DWORD
Actual channel number of the trigger channel (NOT the
scan list location)
gainCode DaqAdcGain
Trigger channel gain code
flags DWORD
Trigger channel flags
channelType DaqChannelType
Type of channel
level FLOAT
Trigger level in expected engineering units of the
channel type (Volts, Counts, or Deg C)
variance FLOAT
Variance in the trigger
event DaqTriggerEvent
Trigger event
Parameter Values
handle: obtained from the DaqOpen function
trigSource: see table below
trigSenseitivity: see table below
channel: valid values range from 0 to 271
gainCode: see ADC Gain Definition table for gain parameter values
flags: see ADC Flag Definition table for flags parameter values
channelType: see table below
level: valid values depend on channel type—see channelType table below
variance: valid values depend on channel type—see channelType table below
event: valid values indicate either a start trigger event (daqStartEvent) or a stop trigger event
(daqStopEvent)
Kommentare zu diesen Handbüchern