background image

Using i!-ConnectLinx

5

i!-ConnectLinx

2.

Find their IDs. VCR Play is 

1131

, and VCR Stop is 

1132

3.

Send the IDs to i!-ConnectLinx:

DATA_EVENT[vdvCLActions]

{

  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 

responding 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 Generator page.  On this page, you can enter the i!-ConnectLinx device, 

the Touch Panel device and the Touch Panel buttons for each standard action.  The code generator 

will create an Include (AXI) file that contains the necessary code to register and respond to the 

selected actions.  Optionally, the code generator can include the DEFINE_MODULE statement for 

i!-ConnectLinx.  Once the Include file is created, you will need to include this file in your main 

program with an #INCLUDE statement and make sure the i!-ConnectLinx and Touch Panel devices 

are defined.  See the i!-ConnectLinxStdFunctionList.xls file for more details.

Summary of Contents for i!-ConnectLinx

Page 1: ...instruction manual integration Solutions i ConnectLinx...

Page 2: ...ceipt AMX DISCLAIMS ALL OTHER WARRANTIES EITHER EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE WITH REGARD TO THE AMX SOFTWA...

Page 3: ...d Operating Systems 1 Minimum PC Requirements 1 Installing i ConnectLinx 2 Using i ConnectLinx 3 Standard Actions 4 Action Arguments 6 Action Persistence and Distribution 7 International Issues Locali...

Page 4: ...ii i ConnectLinx Table of Contents...

Page 5: ...nectLinx module that handles exposing and executing action requests see the Module section on page 11 To support i ConnectLinx you simply include this module in your program define your actions and wr...

Page 6: ...Windows programs before going any further Click Next to proceed 4 In the Select i ConnectLinx Install Location dialog use the Browse button to navigate to a directory other than the default install di...

Page 7: ...s say you want the user to be able to allow 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...

Page 8: ...technology programs itself to execute an action on a system it also stores a copy of the system identifier from the action list This identifier is sent to i ConnectLinx along with this action executio...

Page 9: ...x 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 Conn...

Page 10: ...alue from Each argument is numbered in the order they are added Arguments are added by using the ADD NARG ADD LARG ADD SARG and ADD EARG commands When an i ConnectLinx compatible technology requests a...

Page 11: ...ks to any URL with any file name in any folder In the above example the IT department might collect all the action list files and place them in the connectlinx directory of the company s web server Ea...

Page 12: ...wever this file is difficult to edit in a standard text editor so an XML file editor is recommended Alternatively the i ConnectLinxStdText xml file can be created using the i ConnectLinxEngineStdTextW...

Page 13: ...Min Max Step Default Adds a number argument to Action The Arg Name Argument Name is required The Min and Max define the limits for this argument in the range 32767 to 32767 The Step defines the minim...

Page 14: ...Parent Describes a child of a node Returned by GET NODE command ACTION ID Action Help String Folder Describes an action Returned by GET ACTION command NARG Action Arg Name Min Max Step Default Descri...

Page 15: ...LinxEngineMod Module definition code is displayed below DEFINE_MODULE i ConnectLinxEngineMod mdlCL vdvCLActions Where mdlCL is a unique module name i ConnectLinxEngineMod Module Parameter vdvCLActions...

Page 16: ...ve richardson TX 75082 USA 469 624 8000 800 222 0193 fax 469 624 7153 technical support 800 932 6993 033 004 2641 2 05 2005 AMX Corporation All rights reserved AMX the AMX logo the building icon the h...

Reviews: