i!-ConnectLinx
88
RMS NetLinx Programmer’s Guide
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.
Action Arguments
i!-ConnectLinx supports action arguments to supply additional information with
each action. For instance, if you wanted to support an action to set the program
volume, the user needs to supply a volume level. This is accomplished using
arguments.
Each action can support zero or more arguments. Each argument can be one of
the following types:
Number
– A single number from
–32767
to
32767
. You can define the
minimum value, maximum value, desired step, and a default value. The
user is presented with a text box in which to enter this number.
Level
– Similar to a Number argument, only the user is presented with
a slider to enter the level.
String
– A string. You can define the minimum length, maximum
length, and default value. The user is presented with a text box to enter
this string.
Enumeration
– A list or enumeration of values from which the user
may choose. The user is presented with a drop down list to choose and
value 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 an action with
arguments to be executed, the argument values are passed to i!-ConnectLinx.
i!-ConnectLinx then posts the argument values as levels for number and level
arguments, and strings for string and enumeration arguments. These values can
Содержание RMS 3.0
Страница 1: ...Software NetLinx Programmer s Guide RMS Resource Management Suite 3 0 ...
Страница 4: ......
Страница 10: ...Overview 2 RMS NetLinx Programmer s Guide ...
Страница 12: ...System Requirements 4 RMS NetLinx Programmer s Guide ...
Страница 22: ...Concepts 14 RMS NetLinx Programmer s Guide ...
Страница 62: ...Custom Device Monitoring Programming 54 RMS NetLinx Programmer s Guide ...