DAQAnalogInput Constructor (String, String, Double, Double, Double, UInt32, DAQAnalogChannelType)

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

DAQAnalogInput Class See Also


Initializes a new instance of the DAQAnalogInput class with the name and configuration that you specify.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI

Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2017.0.0.0 (2017.0.0.128)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	Name As String, _
	Units As String, _
	InitialValue As Double, _
	LowLevel As Double, _
	HighLevel As Double, _
	Channel As UInteger, _
	ChannelType As DAQAnalogChannelType _
)

C#
public DAQAnalogInput(
	string Name,
	string Units,
	double InitialValue,
	double LowLevel,
	double HighLevel,
	uint Channel,
	DAQAnalogChannelType ChannelType
)

Visual C++
public:
DAQAnalogInput(
	String^ Name, 
	String^ Units, 
	double InitialValue, 
	double LowLevel, 
	double HighLevel, 
	unsigned int Channel, 
	DAQAnalogChannelType ChannelType
)

Parameters

Name
Type: System.String
The name of the analog input channel.
Units
Type: System.String
The units to associate with the analog input channel.
InitialValue
Type: System.Double
The initial value of the analog input channel.
LowLevel
Type: System.Double
The minimum value of the analog input channel.
HighLevel
Type: System.Double
The maximum value of the analog input channel.
Channel
Type: System.UInt32
The number for the analog input channel.
ChannelType
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQAnalogChannelType
The DAQAnalogChannelType as Current or Voltage.

Remarks

National Instruments recommends that you use a version of this constructor that contains the measurementType parameter, which allows you to specify an enumeration of DAQMeasurementType.

See Also

Reference

DAQAnalogInput Class

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful