IDashCANPorts

Interface for access to PC logging features.

{}

Contents

Properties

Property Description
Count Get the number of items in the list.
IncludePCAN_ISA Property to include ISA PCAN ports in the list (default false).
IncludeKvaserVirtual Property to include Kvaser Virtual CAN ports in the list (default false).

Public Methods

Function Description
Refresh Refresh the ports list. Blocks execution until complete.
NameAt Get friendly name of the port at the specified index in the port list.
IdentifierAt Get an identifier for the port at the specified index in the port list.

Properties

Count

Get the number of items in the list.

int Count

IncludePCAN_ISA

Property to include ISA PCAN ports in the list (default false).

BOOL IncludePCAN_ISA

IncludeKvaserVirtual

Property to include Kvaser Virtual CAN ports in the list (default false).

BOOL IncludeKvaserVirtual

Public Methods

Method: Refresh

Refresh the ports list. Blocks execution until complete.

HRESULT Refresh()

Method: NameAt

Get friendly name of the port at the specified index in the port list.

HRESULT NameAt([in] unsigned int index, [out, retval] BSTR *retval)

Method: IdentifierAt

Get an identifier for the port at the specified index in the port list.

HRESULT IdentifierAt([in] unsigned int index, [out, retval] BSTR *retval)

The identifier is a string that uniquely identifies the CAN port and may be used to open the port by other functions.