VeriStand .NET API Reference

Table of Contents

CAN.AddCANPort Method

Adds the specified CANPort to the CAN 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 AddCANPort ( _
	canPort As CANPort _
) As Boolean
C#
public bool AddCANPort(
	CANPort canPort
)
Visual C++
public:
bool AddCANPort(
	CANPort^ canPort
)

Parameters

canPort
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.CANPort
The CAN port to add.

Return Value

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

Remarks

For example code and more information about this method, refer to one of the following help topics:

LabVIEW Walkthrough: Modifying a System Definition File

C# Walkthrough: Modifying a System Definition File

See Also

Log in to get a better experience