Defines the possible parameters for configuring and retrieving PCAN's environment values with the methods SetValue and GetValue.
Type | Identifier | Value | Description |
|---|---|---|---|
0 | The PCAN parameter is not set (inactive). | ||
1 | The PCAN parameter is set (active). |
Type | Identifier | Value | Description |
|---|---|---|---|
0 | The PCAN filter is closed. No messages will be received. | ||
1 | The PCAN filter is fully opened. All messages will be received. | ||
2 | The PCAN filter is custom configured. Only registered messages will be received. |
Type | Identifier | Value | Description |
|---|---|---|---|
0 | The PCAN Channel handle i.e. its associated hardware is not available. | ||
1 | The PCAN Channel handle is valid to connect/initialize. Furthermore, for plug-and-play hardware, this means that the hardware is plugged-in. | ||
2 | The PCAN Channel handle is valid, and is currently being used. | ||
OR | The PCAN Channel handle is currently being used by a PCAN-View application and is valid to connect. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x00 | Logs system exceptions and errors. Custom log texts are also included. | ||
0x01 | Logs the entries to the PCAN-Basic API functions. | ||
0x02 | Logs the parameters passed to the PCAN-Basic API functions. | ||
0x04 | Logs the exits from the PCAN-Basic API functions. | ||
0x08 | Logs the CAN messages passed to the Write / WriteFD methods. | ||
0x10 | Logs the CAN messages received with the Read / ReadFD methods. | ||
0xFFFF | Logs all possible information within the PCAN-Basic API functions. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x00 | Stores messages in a single file until the configured file size is reached. | ||
0x01 | Stores messages distributed in several files. | ||
0x02 | Includes date information into the name of the trace file. | ||
0x04 | Includes the time information into the name of the trace file. | ||
0x08 | Forces the overwriting of available traces (same name). |
Type | Identifier | Value | Description |
|---|---|---|---|
1 | The PCAN Channel represents a device that supports flexible data rate (CAN-FD). | ||
2 | The PCAN Channel represents a device that supports the configuration of a delay between sending frames (FPGA devices only). | ||
4 | The PCAN Channel represents a device that supports the configuration of digital and/or analogue IOs (input/output) for using with electronic circuits. |
Type | Identifier | Value | Description |
|---|---|---|---|
1 | The service is not running. | ||
4 | The service is running. |
Type | Identifier | Value | Description |
|---|---|---|---|
0x01 | The PCAN Channel is limited to incoming communication only. | ||
0x02 | The PCAN Channel is limited to outgoing communication only. | ||
OR | The PCAN Channel communication is bidirectional. |
Type | Identifier | Value | Description |
|---|---|---|---|
33 | Maximum length of the name of a device: 32 characters + terminator. | ||
256 | Maximum length of a version string: 255 characters + terminator. |
These values are declared as object fields in an object oriented environment (Delphi, .NET Framework) and declared as #define's in C++ (plain API).
Important: For more information about each TPCANParameter value, please refer to the companion PDF documentation PCAN-Parameter_Documentation.pdf.