Represents a PCAN device. According with the programming language, this type can be a group of defined values or an enumeration.
Syntax
#define TPCANDevice BYTE #define PCAN_NONE 0x00 #define PCAN_PEAKCAN 0x01 #define PCAN_ISA 0x02 #define PCAN_DNG 0x03 #define PCAN_PCI 0x04 #define PCAN_USB 0x05 #define PCAN_PCC 0x06 #define PCAN_VIRTUAL 0x07 #define PCAN_LAN 0x08
{$Z1} TPCANDevice = ( PCAN_NONE = 0, PCAN_PEAKCAN = 1, PCAN_ISA = 2, PCAN_DNG = 3, PCAN_PCI = 4, PCAN_USB = 5, PCAN_PCC = 6, PCAN_VIRTUAL = 7, PCAN_LAN = 8 );
public enum TPCANDevice : byte { PCAN_NONE = 0, PCAN_PEAKCAN = 1, PCAN_ISA = 2, PCAN_DNG = 3, PCAN_PCI = 4, PCAN_USB = 5, PCAN_PCC = 6, PCAN_VIRTUAL = 7, PCAN_LAN = 8 }
public enum class TPCANDevice : Byte { PCAN_NONE = 0, PCAN_PEAKCAN = 1, PCAN_ISA = 2, PCAN_DNG = 3, PCAN_PCI = 4, PCAN_USB = 5, PCAN_PCC = 6, PCAN_VIRTUAL = 7, PCAN_LAN = 8 };
Public Enum TPCANDevice As Byte PCAN_NONE = 0 PCAN_PEAKCAN = 1 PCAN_ISA = 2 PCAN_DNG = 3 PCAN_PCI = 4 PCAN_USB = 5 PCAN_PCC = 6 PCAN_VIRTUAL = 7 PCAN_LAN = 8 End Enum
TPCANDevice = c_ubyte PCAN_NONE = TPCANDevice(0x00) PCAN_PEAKCAN = TPCANDevice(0x01) PCAN_ISA = TPCANDevice(0x02) PCAN_DNG = TPCANDevice(0x03) PCAN_PCI = TPCANDevice(0x04) PCAN_USB = TPCANDevice(0x05) PCAN_PCC = TPCANDevice(0x06) PCAN_VIRTUAL = TPCANDevice(0x07) PCAN_LAN = TPCANDevice(0x08)
The PCAN-Devices PCAN_PEAKCAN and PCAN_VIRTUAL are not used within the PCAN-Basic API.
Name |
Value |
Description |
PCAN_NONE |
0 |
Undefined, unknown or not selected PCAN device value. |
PCAN_PEAKCAN |
1 |
PCAN Non-Plug And Play devices. NOT USED WITHIN PCAN-Basic API. |
PCAN_ISA |
2 |
PCAN-ISA, PCAN-PC/104. |
PCAN_DNG |
3 |
PCAN-Dongle. |
PCAN_PCI |
4 |
PCAN-PCI, PCAN-cPCI, PCAN-miniPCI, PCAN-PC/104-Plus, and PCAN-PCI Express. |
PCAN_USB |
5 |
PCAN-USB and PCAN-USB Pro. |
PCAN_PCC |
6 |
PCAN-PC Card. |
PCAN_VIRTUAL |
7 |
PCAN Virtual hardware. NOT USED WITHIN PCAN-Basic API. |
PCAN_LAN |
8 |
PCAN Gateway devices. |
Copyright © 2017. PEAK-System Technik GmbH. All rights reserved.
|
Send feedback to this documentation
|