GetStatMsgTxt
- Last UpdatedJul 05, 2024
- 1 minute read
The function of this Business Logic Tier (BLT) is to return the text status point’s ON and OFF states and use as labels for the buttons on the easy eXtended Operator Station (ezXOS) control panel.
Syntax
GetStatMsgTxt <tableName> <pointName><fldName> <msgstate1 output> <msgstate2 output> <msgstate3 output> <msgstate4 output>
Parameters
|
Name |
Description |
|---|---|
|
tableName |
The RealTime database (RTDB) table name. |
|
pointName |
The RTDB point name. |
|
fldName |
The RTDB flag name. |
|
msgstate1 |
The message table base record. |
|
msgstate2 |
The message table base record + 1. |
|
msgstate3 |
The message table base record + 2. |
|
msgstate4 |
The message table base record + 3. |
Example
GetStatMsgTxt status stat1 flag -o msgstate1 -o msgstate2 -o msgstate3 -o msgstate4
(return status = 0).
Return parameters
ERR
OPEN
CLOSE
TRANSIT
Comments
The fldName field has also been provided as a parameter, because there are multiple flag structures available for various tables.
In BLTTestClient, tableName, pointName, and fldNameare specified as input parameters. The msgstate# parameters are output parameters.