NI-DAQmx .NET Framework 4.5 API Reference

PauseTrigger.ConfigureAnalogWindowTrigger Method

  • Updated2023-02-21
  • 2 minute(s) read
PauseTrigger.ConfigureAnalogWindowTrigger Method
Configures the task to pause acquisition or generation when an analog signal is inside or outside of a range you specify.

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

Syntax

public void ConfigureAnalogWindowTrigger(
	string source,
	AnalogWindowPauseTriggerCondition condition,
	double top,
	double bottom
)
Public Sub ConfigureAnalogWindowTrigger ( 
	source As String,
	condition As AnalogWindowPauseTriggerCondition,
	top As Double,
	bottom As Double
)

Parameters

source
Type: SystemString
The name of a virtual channel or terminal where there is an analog signal to use as the source of the trigger.
condition
Type: NationalInstruments.DAQmxAnalogWindowPauseTriggerCondition
Specifies if the task pauses acquiring and generating samples when the signal is inside the window or outside the window. Use bottom and top to specify the limits of the window.
top
Type: SystemDouble
The upper limit of the voltage window, in the units of the measurement or generation.
bottom
Type: SystemDouble
The lower limit of the voltage window, in the units of the measurement or generation.

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. ConfigureAnalogWindowTrigger(String, AnalogWindowPauseTriggerCondition, Double, Double) 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