VeriStand .NET API Reference

DAQTriggerAnalogEdge Constructor

Initializes a new instance of the DAQTriggerAnalogEdge class with the specified source, slope, and threshold level.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Sub New ( _
	source As String, _
	slope As DirectionType, _
	level As Double _
)
C#
public DAQTriggerAnalogEdge(
	string source,
	DirectionType slope,
	double level
)
Visual C++
public:
DAQTriggerAnalogEdge(
	String^ source, 
	DirectionType slope, 
	double level
)

Parameters

source
Type: System.String
The name of a virtual channel or terminal that is the source of the analog signal used as the trigger. For E Series DAQ devices, if you specify a channel name as source, the channel must be the first channel in the task. Also, the only terminal you can use for E Series devices is PFI0.
slope
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DirectionType
A DirectionType value that specifies the direction of a signal slope that causes a trigger when the signal crosses the threshold level.
level
Type: System.Double
The threshold value, in the units of the measurement, at which to start acquiring samples. Set the slope to specify on which type of slope the level causes the task to start acquiring data.

See Also

Log in to get a better experience