ASSOCLABEL
Changes the configuration of an associated label.
WebVue support - Yes.
| Mode | Mnemonic | Syntax |
| 1 | SETLABEL | 1 |
| 2 | SETBITLABEL | 1 |
| 3 | SETALARMLABEL | 1 |
Arguments common to more than one mode
|
Argument |
Meaning |
|
AssocLabelName |
Name of the associated label. |
|
EventCode |
Code for the type of event. |
|
Label |
The new string for the event. |
|
Language |
Language number: 0 or 1. |
Syntax 1
IntVal = ASSOCLABEL(Mode, AssocLabelName, EventCode, Label [, Language]);
Return type: INTEGER.
Execution
|
Mode |
Mnemonic |
Action |
| 1 | SETLABEL |
Change the label associated with the EventCode. EventCode can take the following values: 0: State is 0 |
| 2 | SETBITLABEL |
Change the label associated with the EventCode to set a bit label. EventCode can take the same values as for the mode SETLABEL. |
| 3 | SETALARMLABEL |
Change the label associated with the EventCode to set an alarm label. EventCode can take the following values: 0: Alarm on - not ack |
| Return: 1 if successful, else 0 (wrong EventCode, referenced associated labels not found). |
Example
For an example, select the Example link above.