3)   Name the value table, e.g., "Switch_Positions". (The name cannot contain spaces!)

4)   Switch to the Value Descriptions tab and click the [Add] button.

5)   For the value "0x0" which appears, click on "Description for the value '0x0'". Replace it with the word
"Off". Then, hit [Enter].

6)   Click the [Add] button again. This time replace "Description for the value '0x1'" with the word "On".
Then, hit [Enter].

7)   Click [OK] to exit the dialog. The value table "Switch_Positions" now appears in the window.

8)   Go back to the Overall View window.

9)   Select the “Signals”. On the right side, right-click on "switch_1A" and select Edit signal.

10) On the Definition tab, expand the Value Table drop down list and select Switch_Positions. Selecting a value table here associates the values so that "0" is "Off" and "1" is "On".

11) Click [Apply], then [OK] to finish.

Our signal should now look like this in the CANdb++ Editor:

                                                  Figure 1 – Signal "switch_1" in the CANdb++ Editor        Create another Input Switch – aaaMsg (switch_2A)

Making a second switch using the first switch as a template is quite easy.

1)   Select "switch_1A" in the tree view at the left or right, right-click on it, and select Copy.

2)   Right-click in the right window and select Paste.

3)   The signal switch_1A_Copy_1 appears in the tree view at the left and in the right window under
"switch_1A". Double-click on it.

4)   A dialog box for switch_1A_Copy_1 opens.
5)   In the Name box, change "switch_1A_Copy_1" to "switch_2A".

6)   Go to the Messages tab and click the [Add] button to add the 'aaaMsg (0x1AA)' message.

7)   Click [Apply], then [OK] to finish.        Create an Output Indicator – aaaMsg (Indicator_A)

Now, we are ready to create another type of signal in our message.

1)   Select Signals in the tree view at the left, right-click on it, and select New.

2)   For the signal Name, enter "Indicator_A".

3)   Enter “1” for the Length (bit) of the signal.

4)   Select "unsigned" for the Value Type.

5)   Expand the Value Table drop-down menu and select Switch_Positions.

6)   Click [Apply], then [OK] to finish.

7)   Select "aaaMsg (0x1AA)" from the tree view at the left, right-click on it, and select Edit Message....

8)   Go to the Signals tab and click [Add].

9)   Select our new "Indicator_A" signal and click [OK].

10) Click [Apply], then click [OK] to finish.
We will now change where the signal starts in the message.

1)   While the message is still selected in the tree view, select the signal "Indicator_A" in the right window.
Right-click on the blue line and select Edit mapped Signal....

2)   For Startbit (bit), change the value from "2" to "8".

3)   Click [Apply], then [OK] to finish.

The start bit will now be "8" in the blue line for this signal.

Our message "aaaMsg" should now look like this in the Overall View: