TPCANParameter Enumeration

Represents a PCAN parameter or a PCAN Value that can be read or set.

Definition

Namespace: Peak.Can.Basic.BackwardCompatibility
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public enum TPCANParameter

Remarks

With some exceptions, a channel must first be initialized before their parameters can be read or set.

  Important

For more information about each parameter, please refer to the companion PDF documentation PCAN-Parameter_Documentation.pdf.

Members

PCAN_DEVICE_ID1 Device identifier parameter.
PCAN_5VOLTS_POWER2 PCAN "5-volt power" parameter.
PCAN_RECEIVE_EVENT3 PCAN receive event handler parameter.
PCAN_MESSAGE_FILTER4 PCAN message filter parameter.
PCAN_API_VERSION5 PCAN-Basic API version parameter.
PCAN_CHANNEL_VERSION6 PCAN device channel version parameter.
PCAN_BUSOFF_AUTORESET7 PCAN "reset on bus-off" parameter.
PCAN_LISTEN_ONLY8 PCAN "listen-only" parameter.
PCAN_LOG_LOCATION9 Directory path for log files.
PCAN_LOG_STATUS10 Debug-Log activation status.
PCAN_LOG_CONFIGURE11 Configuration of the debugged information (LOG_FUNCTION_***).
PCAN_LOG_TEXT12 Custom insertion of text into the log file.
PCAN_CHANNEL_CONDITION13 Availability status of a PCAN Channel.
PCAN_HARDWARE_NAME14 PCAN "hardware name" parameter.
PCAN_RECEIVE_STATUS15 "Receive Status" parameter for incoming messages.
PCAN_CONTROLLER_NUMBER16 Zero-based index of a CAN-Controller in a PCAN device.
PCAN_TRACE_LOCATION17 Directory path for PCAN trace files.
PCAN_TRACE_STATUS18 PCAN tracing activation status.
PCAN_TRACE_SIZE19 Configuration of the maximum file size of a PCAN trace.
PCAN_TRACE_CONFIGURE20 Configuration of the trace file storing modes (TRACE_FILE_***).
PCAN_CHANNEL_IDENTIFYING21 Physical identification of an USB based PCAN Channel.
PCAN_CHANNEL_FEATURES22 Capabilities of a PCAN device (FEATURE_***).
PCAN_BITRATE_ADAPTING23 Attachment to an existing connection with unknown/different bit rate.
PCAN_BITRATE_INFO_BTR24 Current bit rate as a Baud Rate Timing Register value (standard CAN 2.0 A/B).
PCAN_BITRATE_INFO24 DEPRECATED parameter. Use PCAN_BITRATE_INFO_BTR instead.
Obsolete.
PCAN_BITRATE_INFO_FD25 Current bit rate as FD String value (CAN-FD).
PCAN_BUSSPEED_NOMINAL26 Current nominal CAN speed as bits per seconds.
PCAN_BUSSPEED_FD27 Current CAN FD speed as bits per seconds.
PCAN_BUSSPEED_DATA27 DEPRECATED parameter. Use PCAN_BUSSPEED_FD instead.
Obsolete.
PCAN_IP_ADDRESS28 Remote address as a IPv4 formatted string.
PCAN_LAN_SERVICE_STATUS29 Running status of the Virtual PCAN-Gateway Service.
PCAN_ALLOW_STATUS_FRAMES30 "Receive Status" parameter for Status frames.
PCAN_ALLOW_RTR_FRAMES31 "Receive Status" parameter for RTR frames.
PCAN_ALLOW_ERROR_FRAMES32 "Receive Status" parameter for Error frames.
PCAN_INTERFRAME_DELAY33 Delay, in microseconds, between sending frames.
PCAN_ACCEPTANCE_FILTER_11BIT34 Acceptance filter over code and mask for 11-bit CAN IDs.
PCAN_ACCEPTANCE_FILTER_29BIT35 Acceptance filter over code and mask for 29-bit CAN IDs.
PCAN_IO_DIGITAL_CONFIGURATION36 Activation of digital pins as outputs.
PCAN_IO_DIGITAL_VALUE37 Multiple setting of digital pin values.
PCAN_IO_DIGITAL_SET38 Selective setting of digital pin values to "high".
PCAN_IO_DIGITAL_CLEAR39 Selective setting of digital pin values to "low".
PCAN_IO_ANALOG_VALUE40 Value reading of a single analog pin.
PCAN_FIRMWARE_VERSION41 Firmware version of a PCAN device.
PCAN_ATTACHED_CHANNELS_COUNT42 Amount of PCAN channels attached to a system.
PCAN_ATTACHED_CHANNELS43 Information about PCAN channels attached to a system.
PCAN_ALLOW_ECHO_FRAMES44 "Receive Status" parameter for Echo frames.
PCAN_DEVICE_PART_NUMBER45 PEAK's device part number (IPEH number).
PCAN_HARD_RESET_STATUS46 Activation status of hard reset processing via PCANBasic.Reset calls.
PCAN_LAN_CHANNEL_DIRECTION47 Communication direction of a PCAN Channel representing a PCAN-LAN interface.
PCAN_DEVICE_GUID48 Get the global unique device identifier (GUID) associated to a device
PCAN_BITRATE_INFO_CC49 Current bit rate as CC String value (CAN-CC).
PCAN_BITRATE_INFO_XL50 Current bit rate as XL string value (CAN-XL).
PCAN_BUSSPEED_XL51 Current CAN XL speed as bits per seconds.

See Also