Using i!-ConnectLinx
9
i!-ConnectLinx
Commands
i!-ConnectLinx supports the following out-bound commands (Master to device).
The commands are sent in the standard Send_Command format:
SEND_COMMAND dvMP, "'SET ROOM NAME-Tesla'"
SEND_COMMAND dvMP, "'ADD MACRO-vcr'"
i!-ConnectLinx Commands
'SET ROOM INFO-[Room Name],
[Room Location], [Room Owner]'
Sets the room name, room location and room owner to be
displayed in the action list file.
'SET ROOM NAME-[Room Name]'
Sets the room name to be displayed in the action list file.
'SET ROOM LOCATION-[Room
Location]'
Sets the room location to be displayed in the action list file.
'SET ROOM OWNER-[Owner Name]'
Sets the room owner to be displayed in the action list file.
'ADD MACRO-[Macro Name]'
Adds a group of standard actions.
See
i!-ConnectLinxStdFunctionList.xls
for a complete list of
macro names.
'ADD STD-[ID]-[ID]&[ID]'
Adds one or more standard actions by ID. The ‘
&
’ is used for
"AND" and ‘
-
‘ is used for "THROUGH".
'ADD FOLDER-[Folder Name],
[Parent]'
Adds a folder to the action list. The parent specifies which parent
folder the new folder is added to. If parent is not supplied, this
folder is added to the root of the action list.
'ADD ACTION-[ID],[Action],[Help
String],[Folder]'
Adds an action. The ID and Action are required. The
Help String
appears in the action list file to help the user
determine this action’s function more clearly. The
Folder
is the
folder in which this action is added to, and must have been
previously created. If the folder is not supplied, the action is
added to the root of the action list.
'ADD NARG-[Action],[Arg
Name],[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
minimum step between increments/decrements. The
Default
value defines the initial value this argument is set to when the
user edits this argument.
'ADD LARG-[Action],[Arg
Name],[Min],[Max],[Step],
[Default]'
Adds a level 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
minimum step between increments/decrements. The
Default
value defines the initial value this argument is set to when the
user edits this argument.
'ADD SARG-[Action],[Arg
Name],[Min],[Max],[Default]'
Adds a string argument to
Action
. The
Arg Name
(Argument
Name) is required. The
Min
and
Max
define the min and max
length of the string. The
Default
value defines the initial value
this argument is set to when the user edits this argument.
'ADD EARG-[Action],
[Arg Name],[Default],[Enum1],
[Enum2]...'
Adds an enum argument to
Action
. The
Arg Name
(Argument
Name) is required. The
Default
value defines the initial value
this argument is set to when the user edits this argument.
Enum1
,
Enum2
,… define the available choices for the argument.
'GET NODE-[Name],[Start],[End]'
Get the node description for Name including children from Start
to End. Returns a PARENT string and multiple CHILD strings.
'GET ACTION-[Name]'
Get the action description for Name. Returns ACTION string and
mulitple argumnet strings (NARG, LARG, SARG and EARG).
'GET UUID'
Get the UUID for this i!-ConnectLinx. Returns a UUID string.
'GET ROOM INFO'
Get the room info for this i!-ConnectLinx. Returns ROOM NAME,
ROOM LOCATION and ROOM OWNER strings.