
i!-ConnectLinx
67
RMS CodeCrafter
i!-ConnectLinx
Overview
i!-ConnectLinx
™
is an application that allows you to expose NetLinx
™
actions to the outside world. i!-
ConnectLinx allows a programmer to define and program actions that can be utilized by other user interfaces
or processes outside the NetLinx Control System. For instance, i!-ConnectLinx can be programmed to expose
source select functions and i!-ConnectLinx compatible technologies, such as i!-PCLink/PresentationControl
™
,
can use this information to allow the source selects to be executed from a Microsoft PowerPoint
®
presentation.
i!-ConnectLinx also provides a mechanism to request actions to be executed on the NetLinx Control System.
Once a process outside the NetLinx Control System has obtained the action list, the process can then make a
request to i!-ConnectLinx to execute that action. i!-ConnectLinx handles this request and makes this request
available to the NetLinx program for execution.
i!-ConnectLinxEngineMod
, is the main i!-ConnectLinx module that handles exposing and executing action
requests. To support i!-ConnectLinx, you simply include this module in your program, define your actions and
write programming to support those actions. The i!-ConnectLinxEngineMod module makes the list of actions
available to other processes, executes their requests and provides your program with a push when an action
needs to be executed.
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 it’s 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
. 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 channel from a touch panel; i!-ConnectLinx is exactly the same. Let’s say you want the
user to be able to allow i!-PCLink/PresentationControl 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]
}
}
Summary of Contents for RMS CODECRAFTER
Page 6: ...iv RMS CodeCrafter Table of Contents i ConnectLinx 67 Using i ConnectLinx 67...
Page 10: ...Welcome to RMS CodeCrafter 4 RMS CodeCrafter...
Page 44: ...RMS CodeCrafter Project Pages 40 RMS CodeCrafter...
Page 67: ...RMS Concepts 66 RMS CodeCrafter...