CAN DragonEmSA
methodCanDragonDevice

CanDragonDevice.OpenChannel

Prototype

void OpenChannel(byte channel);

Description

Opens a CAN port and arms the USB presence monitor for it. When the interface is unplugged or reconnected, is raised on the native monitor thread for this port.

Parameters

ParameterDirectionTypeDescription
channelinbyteZero-based channel index.

Example

// See Quick Start and Program Flow for a full session example.
// CanDragonDevice.OpenChannel(...);