PCAN Handles represent the different PCAN buses (Channels) available to use within the API when a PCAN Handle is required. The values listed here are fields of the class PCANBasic.
Type | Identifier | Value | Description |
|---|---|---|---|
0 | Represents a standard PCAN channel. This channel cannot be initialized. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x41 | PCAN-PCI interface, channel 1. | ||
0x42 | PCAN-PCI interface, channel 2. | ||
0x43 | PCAN-PCI interface, channel 3. | ||
0x44 | PCAN-PCI interface, channel 4. | ||
0x45 | PCAN-PCI interface, channel 5. | ||
0x46 | PCAN-PCI interface, channel 6. | ||
0x47 | PCAN-PCI interface, channel 7. | ||
0x48 | PCAN-PCI interface, channel 8. | ||
0x409 | PCAN-PCI interface, channel 9. | ||
0x40A | PCAN-PCI interface, channel 10. | ||
0x40B | PCAN-PCI interface, channel 11. | ||
0x40C | PCAN-PCI interface, channel 12. | ||
0x40D | PCAN-PCI interface, channel 13. | ||
0x40E | PCAN-PCI interface, channel 14. | ||
0x40F | PCAN-PCI interface, channel 15. | ||
0x410 | PCAN-PCI interface, channel 16. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x51 | PCAN-USB interface, channel 1. | ||
0x52 | PCAN-USB interface, channel 2. | ||
0x53 | PCAN-USB interface, channel 3. | ||
0x54 | PCAN-USB interface, channel 4. | ||
0x55 | PCAN-USB interface, channel 5. | ||
0x56 | PCAN-USB interface, channel 6. | ||
0x57 | PCAN-USB interface, channel 7. | ||
0x58 | PCAN-USB interface, channel 8. | ||
0x509 | PCAN-USB interface, channel 9. | ||
0x50A | PCAN-USB interface, channel 10. | ||
0x50B | PCAN-USB interface, channel 11. | ||
0x50C | PCAN-USB interface, channel 12. | ||
0x50D | PCAN-USB interface, channel 13. | ||
0x50E | PCAN-USB interface, channel 14. | ||
0x50F | PCAN-USB interface, channel 15. | ||
0x510 | PCAN-USB interface, channel 16. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x801 | PCAN-LAN interface, channel 1. | ||
0x802 | PCAN-LAN interface, channel 2. | ||
0x803 | PCAN-LAN interface, channel 3. | ||
0x804 | PCAN-LAN interface, channel 4. | ||
0x805 | PCAN-LAN interface, channel 5. | ||
0x806 | PCAN-LAN interface, channel 6. | ||
0x807 | PCAN-LAN interface, channel 7. | ||
0x808 | PCAN-LAN interface, channel 8. | ||
0x809 | PCAN-LAN interface, channel 9. | ||
0x80A | PCAN-LAN interface, channel 10. | ||
0x80B | PCAN-LAN interface, channel 11. | ||
0x80C | PCAN-LAN interface, channel 12. | ||
0x80D | PCAN-LAN interface, channel 13. | ||
0x80E | PCAN-LAN interface, channel 14. | ||
0x80F | PCAN-LAN interface, channel 15. | ||
0x810 | PCAN-LAN interface, channel 16. |
The PCAN_NONEBUS value is used as default channel value. It is used for general purposes, e.g., configuring the Log capabilities of the PCAN-Basic API. It can also be used to remove all connections made by an application.
These values are declared as object fields in an object oriented environment (Delphi, .NET Framework) and declared as #define's in C++ (plain API).
Hardware Type and Channels
Non Plug-and-Play: This kind of hardware is not supported anymore.
Plug-and-Play: For hardware handles of PCI, USB and PC-Card, the availability of the channels is determined by the count of hardware connected to a computer in a given moment, in conjunction with their internal handle. This mean, that having four PCAN-USB connected to a computer will let the user connect to the channels PCAN_USBBUS1 to PCAN_USBBUS4. The association of each channel with a hardware is managed internally using the handle of a hardware.