| Page 27 of 31 |
Appendix C. Driver Notes
Appendix C.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 errors responses from the Carrier DataLink device are recorded as a PROCOL ERROR,
In addition to the standard FieldServer communication statistics described above and in the FieldServer User’s 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 |
Carr_stats , | 1 , | CarrierDL |
|
|
|
Data_Arrays |
|
|
Data_Array_Name , | Data_Format, | Data_Array_Length |
DA_CARRIER_STATS , | UINT32 , | 2000 |
|
|
|
Map_Descriptors |
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name , | Data_Array_Offset | Function | Node_Name , | Length |
DA_CARRIER_STATS | 0, | passive, | Carr_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)