| Page 31 of 32 |
Appendix D.1. Driver Stats
The driver reports statistics according to the FieldServer standards. The following notes describe some aspects of standard statistic reporting which are peculiar to this driver.
•All error responses from the Carrier DataPort device are recorded as PROTOCOL ERRORS,
In addition to the standard FieldServer communication statistics described above and in the FieldServer Instruction Manual, this driver can also expose some driver statistics by writing data to a Data Array. A special Map Descriptor is required. The driver recognizes the Map Descriptor by its name which must be
The following example shows how this special Map Descriptor can be configured. You can copy this section of text directly into your CSV file.
Nodes |
|
|
|
|
|
|
|
|
|
Node_Name | , |
| Station, |
|
| Protocol |
|
| |
CarrDP_stats , |
|
| 1 | , |
|
| CarrierDP |
|
|
Data_Arrays |
|
|
|
|
|
|
|
|
|
Data_Array_Name , |
| Data_Format, |
|
| Data_Array_Length |
| |||
DA_CARRIERDP_STATS , | UINT32 , |
|
| 2000 |
|
| |||
|
|
|
|
|
|
|
|
|
|
Map_Descriptors |
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name , | Data_Array_Offset, | Function, | Node_Name , | Length, | ||||
, | DA_CARRIERDP_STATS, | 0 | , | passive , | CarrDP_stats, | 500 |
When the driver sees this Map Descriptor it uses the Data Array DA_CARRIER_STATS (in this example) to store driver specific statistics. Only one of these Map Descriptors may be specified per FieldServer.
The driver stores the following data. The location in the Data Array is obtained by multiplying the port number by 50 and then using the location offset indicated in the table below.
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