VeriStand .NET API Reference

Table of Contents

CANPort Constructor

Initializes a new instance of the CANPort class and creates a port with the specified Name, PortNumber, LinkedDatabase, ClusterName, and BaudRate.

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 Sub New ( _
	Name As String, _
	PortNumber As UShort, _
	LinkedDatabase As Database, _
	ClusterName As String, _
	BaudRate As UInteger _
)
C#
public CANPort(
	string Name,
	ushort PortNumber,
	Database LinkedDatabase,
	string ClusterName,
	uint BaudRate
)
Visual C++
public:
CANPort(
	String^ Name, 
	unsigned short PortNumber, 
	Database^ LinkedDatabase, 
	String^ ClusterName, 
	unsigned int BaudRate
)

Parameters

Name
Type: System.String
The name of the port.
PortNumber
Type: System.UInt16
The physical address of the port.
LinkedDatabase
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.Database
The XNET database associated with the port.
ClusterName
Type: System.String
The cluster in LinkedDatabase that is associated with the port.
BaudRate
Type: System.UInt32
The baud rate all cluster nodes under the port use. This rate can be 33333, 40000, 50000, 62500, 80000, 83333, 100000, 125000, 160000, 200000, 250000, 400000, 500000, 800000, or 1000000. Some transceivers may support only a subset of these values.

See Also

Log in to get a better experience