VeriStand .NET API Reference

DAQCountUpDown Constructor

Initializes a new instance of DAQCountUpDown 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, _
	Index As UInteger, _
	DefaultValue As Double, _
	CountDirection As DAQCounterCountMode, _
	Edge As DAQCounterEdge, _
	ResetVariable As BaseNode _
)
C#
public DAQCountUpDown(
	string Name,
	string Description,
	uint Index,
	double DefaultValue,
	DAQCounterCountMode CountDirection,
	DAQCounterEdge Edge,
	BaseNode ResetVariable
)
Visual C++
public:
DAQCountUpDown(
	String^ Name, 
	String^ Description, 
	unsigned int Index, 
	double DefaultValue, 
	DAQCounterCountMode CountDirection, 
	DAQCounterEdge Edge, 
	BaseNode^ ResetVariable
)

Parameters

Name
Type: System.String
The name of the channel.
Description
Type: System.String
The description of the channel.
Index
Type: System.UInt32
The index value of the channel.
DefaultValue
Type: System.Double
The initial value of the channel.
CountDirection
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterCountMode
The direction of the count (up, down, or externally controlled).
Edge
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterEdge
The edge on which to count (rising or falling).
ResetVariable
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel whose value the counter must reach before it resets.

See Also