2 adding custom strings – Hall Research VSA-51-R User Manual

Page 39

Advertising
background image

Digital AV Room Control System

37

The SRCVGA1 action is assigned to Button 6 (labeled “VGA 1”) so the first command is turning the Button 6 LED on
(BL6,1). Button 6 is part of a group with Button 7 (VGA 2), Button 8 (CV 1), Button 9 (CV 2), and Button 10 (HDMI). This is
a radio group which means only one button should be lit at a time (because only one source can be active at a time).
Therefore, we must also turn off the other buttons. Notice we do the same thing for the actions for the other buttons. It
may be tricky at first to understand the concept of turning the LEDs on/off on every action sequence. The important thing
to note is that you must know what button the action is going to be assigned to before you create the action. Also, if the
button is part of a group then you must know what other buttons will be part of the group and what the LED behavior
should be.

The final command switches to VGA input 1. This command is specific to the VSA-51-R and can be inserted from the
“built-in” command dropdown.

3.2.4.3.2

Adding custom strings


The default actions do not contain the serial strings needed to control the display. Once the display type is know, these
actions should be appended with the proper serial command. Continuing with the example above for SRCVGA1, we need
to add the command to switch to the VGA input on our display. To program the system we need a list of the commands to
control our particular display. This can usually be found in the users manual or somewhere from the display
manufacturers website.

Suppose for this example, the command to switch to VGA input on our display is “VGA1<CR>” (without quotes). The
<CR> indicates a carriage return, which is typical. We can input the ASCII characters as given but the <CR> must be
given in hexadecimal format. We can insert hexadecimal strings by first specifying &h followed by the hex code. The hex
code for a carriage return is 0d so to insert a carriage return in the action sequence we need to enter “&h0d” (without
quotes. The exact syntax would be:

VGA1&h0d


Some serial commands are entirely in hexadecimal format. For example, “BEEF” codes typically begin with hex codes of
“BE EF…” (followed by some other bytes). In this case we would enter each byte with &h so it would be: “&hBE &hEF…”
(without quotes).

NOTE

When hex codes are inserted into the action sequence they will show up in the action window preceded by

“\u00”. These are just escape characters used by the system to store and process the codes properly.

Advertising
This manual is related to the following products: