NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationNI-DAQmx .NET Framework 4.0 API ReferenceStartTrigger.ConfigureAnalogMultiEdgeTrigger MethodCurrent page
Table of Contents

StartTrigger.ConfigureAnalogMultiEdgeTrigger Method

StartTrigger.ConfigureAnalogMultiEdgeTrigger Method

StartTriggerConfigureAnalogMultiEdgeTrigger Method

Configures the task to start acquiring or generating samples when any of the configured analog signals cross the respective levels you specify.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public void ConfigureAnalogMultiEdgeTrigger(
	string sources,
	AnalogMultiEdgeStartTriggerSlope[] slopes,
	double[] levels
)
Public Sub ConfigureAnalogMultiEdgeTrigger ( 
	sources As String,
	slopes As AnalogMultiEdgeStartTriggerSlope(),
	levels As Double()
)

Parameters

sources
Type: SystemString
A string specifying a list of terminals, physical channel names, or ranges of physical channels where there are analog signals to use as the sources of the trigger.
slopes
Type: NationalInstruments.DAQmxAnalogMultiEdgeStartTriggerSlope
An array containing the slopes of the signals to start acquiring or generating samples when the respective signal crosses the respective trigger level. Each element corresponds to the sources specified in sources and elements in the other array parameters.
levels
Type: SystemDouble
An array containing the thresholds at which to start acquiring or generating samples. Each element corresponds to the sources specified in sources and elements in the other array parameters. Specify these values in the units of the measurement or generation. Use slopes to specify on which slopes to trigger at the respective thresholds.

Exceptions

ExceptionCondition
DaqException The NI-DAQmx driver returned an error.

Remarks

Multi-edge triggering treats the specified triggers as if they are logically ORed.

The number of trigger sources represented by sources and the number of elements in slopes and levels must all be the same.

See Also

Was this information helpful?