Custom Device Monitoring Programming
53
RMS NetLinx Programmer’s Guide
element in cEnum, supplied during registration, is index 0, the second element is
index 1, etc...
Most commonly, you will use the RMS_PARAM_SET (0) operation. However,
there may be instances where you want to simply allow the database to keep track
of the value and notify it of changes only. In these cases RMS_PARAM_INC (1)
and RMS_PARAM_DEC (2) are useful for adding and subtracting a value from
the current value in the database. These operations can be used with both Number
and String parameters. RMS_PARAM_INC (1) will append the string value to
the current string and RMS_PARAM_DEC (2) will remove the string value from
the current string. The results of multiple and divide on a String parameter are
undefined.
Note that values for slMin, slMax and cEnumList supplied during parameter
registration are not used to validate the value set using these functions. If a
Number parameter value falls outside the range of slMin or slMax, the value is
stored in the database and displayed. If an Enum parameter value does not appear
in the cEnum list, the value is stored in the database and displayed. If an Index
parameter value does not have an associated index in the Enum List, the value is
stored in the database and displayed as an empty value.
Содержание 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 ...