![background image](http://html1.mh-extra.com/html/amx/viewpoint-netwave-series/viewpoint-netwave-series_instruction-manual_2939330042.webp)
Programming
38
ViewPoint Wireless Touch Panels
Creating an IR macro button allows you to control multiple devices with a single touch panel
button. You are only limited by touch panel IR memory (16 KB). The following steps provide an
example of creating an IR macro button controlling a television, VCR, and a satellite tuner.
The IR macro button performs the following processes when pushed:
Turns On a Television and sets the audio volume.
Turns On a VCR and selects TV.
Turns On a satellite receiver.
1.
Create a button and label it.
2.
Select EDIT, BUTTON, PROPERTIES.
3.
In the PROPERTIES dialog, select BUTTON TYPE, and then select GENERAL.
4.
In the BUTTON OPTIONS field, select NONE.
5.
In the CHANNEL dialog, set DEV to 1 and CHAN to 0.
6.
In the STRING field enter the following using the keyboard:
$P 2 9 5 1 <CR>
$P 2 24 5 1 <CR>
$P 3 27 5 1 <CR>
$P 4 9 5 1 <CR>
Using this as a reference, the following explains what happens when a section of the string is
executed:
$P 2 9 5 1
An IR push is sent to device 2 (TV) on channel 9 (Power on) for a period of 5
tenths of a second and a one tenth of a second pause. The <CR> indicates an end to the
command string.
7.
Press EXIT CHANGE, EXIT SAVE CHANGE, and then EXIT.
8.
To cancel macro execution, touch the screen. All touch panel activity stops until another button
press occurs.
Macro Commands (Cont.)
$W
Used as a delay
between pulses.
You must select the CHAR NUMS button on the Keyboard in order to enter the text. There
is a space between the different sets of numbers and between the last number and the
<CR>.
Syntax:
"$W <tdbp> <CR>"
Variables:
tdbp = time delay before pulse in tenths of a second (max. 65535).
<CR> = end of statement (ENTER key pressed).
Example:
$W 455 <CR>
This command causes the panel to wait 45.5 seconds before executing the next macro
command.