![background image](http://html1.mh-extra.com/html/amx/rms-3-0/rms-3-0_manual_2938987092.webp)
i!-ConnectLinx
84
RMS NetLinx Programmer’s Guide
Using i!-ConnectLinx
Little work is required to add i!-ConnectLinx to your existing NetLinx code.
i!-ConnectLinx is implemented as a NetLinx module. Adding the module
definition and all its parameters to your code is all that is required.
In order to use i!-ConnectLinx, you need to program and define a series of
actions in the NetLinx Control System. The key to the i!-ConnectLinx engine is
the virtual device,
vdvCLActions
. For additional information reference the
Module
section on page 95. Support the actions you want executed remotely
using this virtual device.
Think of the virtual device,
vdvCLActions
, as a touch panel. Normally, you
write your NetLinx program to respond to certain push channels from a touch
panel; i!-ConnectLinx is exactly the same. Let’s say you want to provide the user
with the ability to play and stop a VCR. Imagine you have two touch panel
buttons that do these functions; write code that responds to the pushes:
BUTTON_EVENT[TP,1] (* VCR Play *)
{
PUSH:
{
PULSE[VCR,1]
}
}
BUTTON_EVENT[TP,2] (* VCR Stop *)
{
PUSH:
{
PULSE{VCR,2]
}
}
To expose these actions using i!-ConnectLinx, write the same code substituting
the touch panel device for your i!-ConnectLinx virtual device:
BUTTON_EVENT[vdvCLActions,1] (* VCR Play *)
{
PUSH:
{
PULSE[VCR,1]
}
}
BUTTON_EVENT[vdvCLActions,2] (* VCR Stop *)
{
PUSH:
{
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 ...