beautypg.com

FieldServer Carrier DataLink FS-8700-82 User Manual

Page 27

background image

FS-8700-82 Carrier DataLink

Page 27 of 31

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com

Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: [email protected]

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 "Carrier-stats”.

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

Carrier-Stats,

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.