![background image](http://html1.mh-extra.com/html/amx/rms-3-0/rms-3-0_manual_2938987095.webp)
i!-ConnectLinx
87
RMS NetLinx Programmer’s Guide
{
ONLINE:
{
(* Setup actions *)
(* VCR Play *)
SEND_COMMAND vdvCLActions,"'ADD STD-1131'"
(* VCR Stop *)
SEND_COMMAND vdvCLActions,"'ADD STD-1132'"
}
Additionally, change the two
BUTTON_EVENT
s to trigger for channels
1131
and
1132
instead of 1 and 2.
There are other syntax’s of the add standard action command that allow you add
multiple actions at a time. The ‘
&
’ character can be used to signify "AND" and
the ‘
-
‘ character can be used to signify "through".
Since many of the standard actions are related, they can also be added by macros.
A macro is a list of one or more standard actions. In the case of a VCR, the full
set of transports are needed, not just Play and Stop. Also, if the VCR exists in the
system then there is likely a way to select the VCR as the active source.
Therefore, the "
vcr
" macro includes the VCR source select and the standard
transports. To load a set of actions by macro, simply send a command to i!-
ConnectLinx with the macro you want added. For example:
DATA_EVENT[vdvCLActions]
{
ONLINE:
{
(* Setup actions *)
(* VCR Select and Play-Record *)
SEND_COMMAND vdvCLActions,"'ADD MACRO-vcr'"
}
For a complete list of macros, see the
i!-ConnectLinxStdFunctionList.xls
file.
A common method for programming i!-ConnectLinx is to simply register
standard actions and respond to the actions by "DO_PUSH"ing an existing button
on the touch panel. For instance:
BUTTON_EVENT[vdvCLActions,1011](* VCR Select *)
{
PUSH:
DO_PUSH(dvTP,11) (* Button 11 on dvTP selects VCR *)
}
To make programming i!-ConnectLinx easier, the
i!-ConnectLinxStdFunctionList.xls file includes an i!-ConnectLinx Code
Summary of Contents for RMS 3.0
Page 1: ...Software NetLinx Programmer s Guide RMS Resource Management Suite 3 0 ...
Page 4: ......
Page 10: ...Overview 2 RMS NetLinx Programmer s Guide ...
Page 12: ...System Requirements 4 RMS NetLinx Programmer s Guide ...
Page 22: ...Concepts 14 RMS NetLinx Programmer s Guide ...
Page 62: ...Custom Device Monitoring Programming 54 RMS NetLinx Programmer s Guide ...