Page 12 of 24 |
When comparing these keywords to the data in the Status field of the message the driver only compares the first three characters. The comparison is case insensitive.
Adding a New Status Type
The fragment of a CSV file displayed below illustrates how to change the value associated with ‘BUS’ to 9 and adds two new Status types, Fred and Ginger.
Driver_Table
Gamewell_Status_String, Gamewell_Status_Value, Protocol
BUS | , 9 | , Gamewell | |
FRED | , | 100 | , Gamewell |
GINGER | , | 101 | , Gamewell |
There is a limitation in the use of new status types. They can only be stored using map descriptors with the Data_Type set to ‘Any’.
The driver can store a maximum of 100 status types. The maximum length of the string is 9 characters.
6.4When do Data Arrays get cleared (Reset)
When the Gamewell Panel is reset then the driver is able to clear the arrays. The way that the panel works is that when a reset is performed send the following message
Status:NORMAL | 08/31/95 16:23 |
System Idle |
|
After this message the panel then sends messages for all points that are not in a normal state.
The driver uses the parameter ‘Clear_On_Reset’ to determine what gets cleared. If a map descriptor has this parameter set to ‘Yes’ then the arrays elements controlled by the Data_Array_Offset and the Length are set to zero.
This provides a good technique of synchronizing the panel and the FieldServer. When you restart the FieldServer you should push the reset button on the panel so that the panel sends messages for all points that are not in a normal state. If you don’t do this, and some points are in a
6.5Action Types
Typically messages from the panel are contain not only the status of a point but also describe the action that caused the state to change.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)