Bitmask Channel

Overview

Bitmask Channels are used to mask off bits from a raw (32 bit) input.

This is useful when data is received from the ECU that contains information for two different outputs.

For example, the lower 4 bits of a value may be used to determine gear position while the upper 4 bits determine diff mode.

Bitmask Channel Editor Bitmask Channel Editor

Options

Mask (hex)

The mask, in hexadecimal format.

Any bits in the input value that are also set in the mask are allowed through, otherwise the bits shall be set to zero.

If used as a derived output, internal values in the display are represented as double precision floating point numbers. Floating point numbers are converted to integer prior to masking.

Hexadecimal format is used here since it lines up nicely with bits. A single hexadecimal character represents 4 bits:

Hex Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111

Supported By Displays

DisplaySupported?
CD34 Yes
LDS4 Yes
CD32 Yes
LDS35 Yes
LDS35_L Yes
CD6-43 Yes
GLW-43 Yes