FieldServer FS-8700-86 Carrier DataPort Appendix D.1. Driver Stats, Dacarrierdpstats

Page 31

FS-8700-86 Carrier DataPort

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 "CarrierDP-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

 

 

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,

CarrierDP-Stats

,

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

Image 31
Contents Applicability & Effectivity Driver Manual FS-8700-86 Carrier DataPortTable of Contents Description FS-8700-86 Carrier DataPort Carrier DataPort DescriptionFS-8700-86 Carrier DataPort Hardware Connections Data Arrays FS-8700-86 Carrier DataPort Client Side Connections FS-8700-86 Carrier DataPort Client Side Node Descriptors Timing Parameters Driver Related Map Descriptor ParametersFS-8700-86 Carrier DataPort Map Descriptor Example 1 Read Bit Server Side Node Descriptors FS-8700-86 Carrier DataPort Server Side ConnectionsDriver Specific Map Descriptor Parameters String FS-8700-86 Carrier DataPortNumeric TimeFS-8700-86 Carrier DataPort Map Descriptor Example Ascii Best Appendix A.2. Field / Variable NamesDadump Dadump ByteFS-8700-86 Carrier DataPort Page Light Appendix A.4.2 Time ValuesDark Appendix A.4.4. Occupancy Strings / Values FS-8700-86 Carrier DataPort Appendix A.4.3 Numeric ValuesAppendix B.3. Determining Storage Locations Appendix B.2. TimeoutsTabledisplay Nodes NodeName Protocol Port NodeA CarrierDPServer.ini all one single line Crfanstb Page FYI Error Message Explanation CarrierDP13 FS-8700-86 Carrier DataPort FS-8700-86 Carrier DataPort Dacarrierdpstats FS-8700-86 Carrier DataPort Appendix D.1. Driver StatsFS-8700-86 Carrier DataPort