VeriStand .NET API Reference

DAQPositionMeasurement Constructor

Initializes a new instance of DAQPositionMeasurement 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, _
	Decoding As DAQCounterDecoding, _
	ZIndexMode As DAQCounterZIndexMode _
)
C#
public DAQPositionMeasurement(
	string Name,
	string Description,
	uint Index,
	double DefaultValue,
	DAQCounterDecoding Decoding,
	DAQCounterZIndexMode ZIndexMode
)
Visual C++
public:
DAQPositionMeasurement(
	String^ Name, 
	String^ Description, 
	unsigned int Index, 
	double DefaultValue, 
	DAQCounterDecoding Decoding, 
	DAQCounterZIndexMode ZIndexMode
)

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.
Decoding
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterDecoding
The method used to count and interpret the pulses the encoder generates on signal A and signal B.
ZIndexMode
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterZIndexMode
The states at which signal A and signal B must be while signal Z is high for the device to reset the measurement.

See Also

Log in to get a better experience