VeriStand .NET API Reference

PeakAndValley Constructor

Initializes a new instance of PeakAndValley with the specified name, description, and configuration.

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 ( _
	Name As String, _
	Description As String, _
	ChannelToAnalyze As BaseNode, _
	ChannelForValley As BaseNode, _
	ChannelForOffset As BaseNode, _
	Reset As UInteger, _
	Hysteresis As Double _
)
C#
public PeakAndValley(
	string Name,
	string Description,
	BaseNode ChannelToAnalyze,
	BaseNode ChannelForValley,
	BaseNode ChannelForOffset,
	uint Reset,
	double Hysteresis
)
Visual C++
public:
PeakAndValley(
	String^ Name, 
	String^ Description, 
	BaseNode^ ChannelToAnalyze, 
	BaseNode^ ChannelForValley, 
	BaseNode^ ChannelForOffset, 
	unsigned int Reset, 
	double Hysteresis
)

Parameters

Name
Type: System.String
The name of the calculated channel.
Description
Type: System.String
The description of the calculated channel.
ChannelToAnalyze
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel for which to calculate the peak, valley, and offset.
ChannelForValley
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel on which to store the valley value.
ChannelForOffset
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel on which to store the offset value.
Reset
Type: System.UInt32
The value at which to reset the calculation.
Hysteresis
Type: System.Double
The amount by which the ChannelToAnalyze value must exceed the Reset value for the calculation to reset.

See Also

Log in to get a better experience