NI-DAQmx .NET Framework 4.0 API Reference

PauseTrigger.ConfigureDigitalLevelTrigger Method

  • Updated2023-02-21
  • 1 minute(s) read
PauseTrigger.ConfigureDigitalLevelTrigger Method
Configures the task to pause acquisition or generation based on the level of a digital signal.

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

Syntax

public void ConfigureDigitalLevelTrigger(
	string source,
	DigitalLevelPauseTriggerCondition condition
)
Public Sub ConfigureDigitalLevelTrigger ( 
	source As String,
	condition As DigitalLevelPauseTriggerCondition
)

Parameters

source
Type: SystemString
The name of a terminal where there is a digital signal to use as the source of the trigger.
condition
Type: NationalInstruments.DAQmxDigitalLevelPauseTriggerCondition
The level of the digital signal that pauses acquiring or generating samples.

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. ConfigureDigitalLevelTrigger(String, DigitalLevelPauseTriggerCondition) 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

Log in to get a better experience