
| Page 22 of 24 |
Appendix B.1. Driver Stats Exposed.
In addition to the standard FieldServer operating statistics the driver exposes certain key stats in a Data Array if required. An upstream device can then monitor these stats.
Add the following to your configuration file to activate these stats.
// Expose Driver Operating Stats.
Data_Arrays |
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
UINT32, | 200 |
The driver exposes stats based on a port handle. The offset specified in the table below must be added to the handle number multiplied by 100. i.e. for port whose handle is 1 then the driver will store the 1st stat at 1+100*1=101.
Stat
#define FCI_7100_STAT_NO_PLACE_TO_STORE
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_ZONE
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_RELAY
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_LOOP
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_SENSOR
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_MODULE
#define FCI_7100_STAT_EMPTY_MSG
#define FCI_7100_STAT_SHORT_MSG
#define FCI_7100_STAT_NO_RESET
#define
FCI_7100_STAT_NO_PLACE_TO_STORE_PANEL
#define FCI_7100_STAT_RCVD_MSGS
Offset
1
2
3
4
5
6
7
8
9
10
11
Description
Increments each time point data is received but there is no Map Descriptor to store the data (any)
Increments each time point data is received but there is no Map Descriptor to store Zone data
Increments each time point data is received but there is no Map Descriptor to store Relay data
Increments each time point data is received but there is no MD to store the Loop data
Increments each time point data is received but there is no MD to store the Sensor data
Increments each time point data is received but there is no MD to store the Module data
Number of times that a message line was was zero bytes long (excluding the terminator)
Number of times that a message line was was too short probably a system id tag line
Increments each time a reset was rcvd but no DA was reset
Increments each time point data is received but there is no MD to store data that cannot be attributed to a zone, relay, loop, sensor, module
Increments each time a message is received
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)