NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

AdvanceTrigger.ConfigureDigitalEdgeTrigger Method

AdvanceTrigger.ConfigureDigitalEdgeTrigger Method

AdvanceTriggerConfigureDigitalEdgeTrigger Method

Configures a task to advance to the next entry in a scan list upon a rising or falling edge of a digital signal.

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

Syntax

public void ConfigureDigitalEdgeTrigger(
	string source,
	DigitalEdgeAdvanceTriggerEdge edge
)
Public Sub ConfigureDigitalEdgeTrigger ( 
	source As String,
	edge As DigitalEdgeAdvanceTriggerEdge
)

Parameters

source
Type: SystemString
The terminal of the trigger signal.
edge
Type: NationalInstruments.DAQmxDigitalEdgeAdvanceTriggerEdge
The edge of the trigger signal that causes an advance trigger to occur.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

The NI-DAQmx driver does not determine if the requested settings are possible until the task is verified. ConfigureDigitalEdgeTrigger(String, DigitalEdgeAdvanceTriggerEdge) does not throw an exception for parameter values that are not compatible with your hardware or other settings in your task. To determine if all of the settings for a Task are valid, you must verify the task by starting the task, either with Start or by reading from or writing to the task, or by calling Control(TaskAction) with Verify.

See Also

Was this information helpful?