ParameterValueTraceUseDataLength Field

The trace file shows the column "Data Length" ('l') instead of the column "Data Length Code" ('L').

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public static readonly uint UseDataLength

Field Value

UInt32

Remarks

The "Data Length" represents the actual number of data bytes in a CAN or CAN FD message. Its value range is from 0 to 64. The "Data Length Code", as known as DLC, has a different interpretation in CAN and CAN FD. The first nine codes (0 to 8) represents 0 to 8 bytes for both. The last codes (9 to 15) represent for CAN a data length of 8. For CAN FD, these values indicate a data length between 12 and 64 bytes (see DLC for detailed information).

See Also