DAQChannel Constructor
- Updated2023-02-21
- 2 minute(s) read
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.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| 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.