| Page 19 of 20 |
|
|
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 | Offset | Description |
|
|
| ||
|
| Increments each time point data is | |||||
#define FCI_E3_STAT_NO_PLACE_TO_STORE | 1 | received but there is no Map | |||||
|
| Descriptor to store the data (any) | |||||
#define |
| Increments each time point data is | |||||
2 | received | but | there | is no | Map | ||
FCI_E3_STAT_NO_PLACE_TO_STORE_ZONE | |||||||
| Descriptor to store Zone data |
| |||||
|
|
| |||||
#define |
| Increments each time point data is | |||||
3 | received | but | there | is no | Map | ||
FCI_E3_STAT_NO_PLACE_TO_STORE_RELAY | |||||||
| Descriptor to store Relay data |
| |||||
|
|
| |||||
#define |
| Increments each time point data is | |||||
4 | received | but | there | is no | Map | ||
FCI_E3_STAT_NO_PLACE_TO_STORE_LOOP | |||||||
| Descriptor to store the Loop data | ||||||
|
| ||||||
|
| Increments each time point data is | |||||
#define | 5 | received | but | there | is no | Map | |
FCI_E3_STAT_NO_PLACE_TO_STORE_SENSOR | Descriptor to store the Sensor | ||||||
| |||||||
|
| data |
|
|
|
| |
|
| Increments each time point data is | |||||
#define | 6 | received | but | there | is no | Map | |
FCI_E3_STAT_NO_PLACE_TO_STORE_MODULE | Descriptor to store the Module | ||||||
| |||||||
|
| data |
|
|
|
| |
|
| Number of times that a message | |||||
#define FCI_E3_STAT_EMPTY_MSG | 7 | line was zero bytes long | |||||
|
| (excluding the terminator) |
| ||||
|
| Number of times that a message | |||||
#define FCI_E3_STAT_SHORT_MSG | 8 | line was too short probably a | |||||
|
| system id tag line |
|
| |||
#define FCI_E3_STAT_NO_RESET | 9 | Increments each time a reset was | |||||
rcvd but no Data Array was reset | |||||||
|
| ||||||
|
| Increments each time point data is | |||||
#define |
| received | but | there | is no | Map | |
10 | Descriptor | to | store | data | that | ||
FCI_E3_STAT_NO_PLACE_TO_STORE_PANEL | |||||||
| cannot be attributed to a zone, | ||||||
|
| ||||||
|
| relay, loop, sensor, module |
| ||||
#define FCI_E3_STAT_RCVD_MSGS | 11 | Increments each time a message | |||||
is received |
|
|
| ||||
|
|
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com