DAQChannel Constructor

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

DAQChannel Class See Also


Initializes a new instance of the DAQChannel class, with default properties from the DAQ plug-in XML file that corresponds to the pluginGUID.

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)
Protected Friend Sub New ( _
	name As String, _
	pluginGUID As String, _
	channelGUID As String _
)

C#
protected internal DAQChannel(
	string name,
	string pluginGUID,
	string channelGUID
)

Visual C++
protected public:
DAQChannel(
	String^ name, 
	String^ pluginGUID, 
	String^ channelGUID
)

Parameters

name
Type: System.String
The name of the channel.
pluginGUID
Type: System.String
The GUID that corresponds to the DAQ measurement type the channel performs.
channelGUID
Type: System.String
The GUID that corresponds to the channel type, such as analog input. Used to verify if the specified measurement type is valid for the channel type.

Remarks

Use a constructor from a class that inherits from DAQChannel to initialize a specific type of DAQ channel, such as an analog input channel. National Instruments recommends you use a version of these constructors that contains the measurementType parameter, which allows you to specify an enumeration of DAQMeasurementType.

See Also

Reference

DAQChannel Class

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful