VeriStand .NET API Reference

UserChannels.AddNewUserChannel Method

Adds a new UserChannel with the specified name, description, units, and default value to the User Channels section.

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 Function AddNewUserChannel ( _
	Name As String, _
	Description As String, _
	Units As String, _
	DefaultValue As Double _
) As Boolean
C#
public bool AddNewUserChannel(
	string Name,
	string Description,
	string Units,
	double DefaultValue
)
Visual C++
public:
bool AddNewUserChannel(
	String^ Name, 
	String^ Description, 
	String^ Units, 
	double DefaultValue
)

Parameters

Name
Type: System.String
The name of the user channel.
Description
Type: System.String
The description of the user channel.
Units
Type: System.String
The units to associate with the user channel.
DefaultValue
Type: System.Double
The default value of the user channel.

Return Value

true (True in Visual Basic) if the user channel was added successfully.

See Also

Log in to get a better experience