4.2 Setting Up Signal Channels

To edit signal channels, perform the following step:

In the Edit Signal Channel window, click Edit > Edit Signal Channel.

Figure 4-3. Adding a Signal Channel
Figure 4-4. Signal Channel Configuration

From the pop-up table, signal channels can be added, removed and edited with a right-click on the table header. The order in which the signal channels are added is not important, but it is good practice to add them in the order in which they are transmitted in the data stream package (position in message).

A signal definition requires the information shown in Table 4-1.

Table 4-1. Signal Definition
NameDescription

Name

Name of the signal

Unit

Unit of the signal

Scaling

The scaling value is calculated using the following formula:

scaled_value = raw_value * scaling + offset

A multiplier. The raw values can be scaled by this factor. In the example, the value received will be multiplied by 0.5.

Offset

This adds an offset to the raw data. In the example, 2 will be added to the received value.

Value TypeEncoding of the data is sent from the embedded system.

Minimum Plot Value

The minimum value plotted on the Monitoring tab. In the example, values greater or equal to 0 will be plotted.

Maximum Plot Value

The maximum value plotted on the Monitoring tab. In the example, values less than or equal to 2000 will be plotted.

Position in Message

The position of the 16-bit signal channel in the data frame. The first two bytes are position 0, the second two bytes are position 1, etc.

Signal Channel Index

Each signal channel entry must have a unique identifier. Assign that number here.

Plot

Check box to enable plotting on the Monitoring tab.

Protocol ID/Can ID

Protocol ID or CAN ID of the corresponding frame in hexadecimal

Note: Position in Message refers to the offset in the message. Signal Channel Index refers to the entry in the project signal list. Each signal channel is identified by Power Board Visualizer by its unique Signal Channel Index.
Figure 4-5. Examples of Defined Signals

The following table lists the signal names and their positions.

Table 4-2. Signal Names and Positions
Index NoSignal NameType Positions Occupied in Message
0Slider x10Unsigned, 16-bit0
1Test Bank 1Unsigned, 16-bit1
2Test Bank 2Unsigned, 16-bit2
3Up CounterUnsigned, 16-bit3
4Down CounterUnsigned, 16-bit4
5Signed 16Twos Compliment, 16-bit5
6Signed 32Signed 32, 32-bit6, 7
7Double Precision FloatDouble Precision Float, 64-bit8, 9, 10, 11
8Single Precision FloatSingle Precision Float, 32-bit12,13