Custom Device Monitoring Programming
47
RMS NetLinx Programmer’s Guide
The combination of Number and String parameters types and enumeration lists
provide four unique kinds of parameters to the NetLinx program. These are:
Registering Parameters
Number Parameter Number parameters are parameters of type number with no
enumeration list. These are commonly used for values that are
programmatically available and displayed in numeric form. Examples
of number parameters are projector lamp hours and VCR run time.
String Parameter
String parameters are parameters of type string with no enumeration
list. These are commonly used for values that are programmatically
available and displayed in text form. Examples of string parameters
are help or maintenance request.
Enum Parameter
Enum parameters are parameters of type string with an enumeration
list. These are commonly used for values that are programmatically
available and displayed in text form where the text is expected to be
limited to a list. The value NetLinx sends for an enumeration
parameter needs to exist in the enumeration list. However, the
administrator will only be allowed to pick a threshold or reset value
from the enumeration list. An example of an enum parameter is the
currently selected source. The "|" character is used to separate
values in the enumeration list.
Index Parameter
Index parameters are parameters of type number with an
enumeration list and are similar to the Enum parameter. However,
these are commonly used for values that are programmatically
available numerically but displayed in text form where the text is
expected to be limited to a list. The value NetLinx sends for an
enumeration parameter must exist in the enumeration list. However,
the value sent from NetLinx represents the index into the
enumerated list instead of the actual value. An example of Enum
parameters is power. The value for power is often available
programmatically as a zero or a one but should be displayed as "Off"
or "On." This is accomplished by sending a value of zero or one to
RMS and providing an enumeration list of "Off|On" where the "|"
character is used to separate values in the enumeration list.
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 ...