Adds a custom device channel with the name and guid you specify to the current section, if the channel does not already exist under the section. If the channel you specify already exists, this method takes no action and returns a reference to the existing channel.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly:
NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Parameters
- name
- Type: System.String
The name associated with the channel, as specified in the Custom Device XML file.
- guid
- Type: System.String
The GUID associated with the channel, as specified in the Custom Device XML file.
- newItem
- Type:
System.Boolean
%
Returns true (True in Visual Basic) if the channel was added.
Return Value
The
CustomDeviceChannel reference for the channel specified by
name and
guid.