McQuay Micro Tech Open Protocol Driver Manual

Page 31 of 35

Appendix A.8. Statistics

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.

NAK

Each time a negative acknowledgement message is received.

CHECKSUM

Each time that a message is received that contains a non-ASCII character.

NOISE

An acknowledgement message contains an unrecognized code.

NO START

Each time a message is received that doesn’t begin with a space.

PROTOCOL

All other errors are reported as protocol errors

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

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.

Location

Statistic

0

MCQ_STAT_PASSWORD

10

MCQ_STAT_NAK

11

MCQ_STAT_NOISE

12

MCQ_STAT_NOISE_CODE

13

MCQ_STAT_NON_ASCII_CHARS

14

MCQ_STAT_BAD_START_BYTE

15

MCQ_STAT_OTHER_CMPLT_ERR

16

MCQ_STAT_CLIENT_BYTES_RCVD

17

MCQ_STAT_CLIENT_FRAGS_RCVD

18

MCQ_STAT_CLIENT_MSGSS_RCVD

19

MCQ_STAT_CLIENT_BYTES_SENT

20

MCQ_STAT_CLIENT_FRAGS_SENT

21

MCQ_STAT_CLIENT_MSGSS_SENT

22

MCQ_STAT_SERVER_BYTES_SENT

23

MCQ_STAT_SERVER_MSGSS_SENT

24

MCQ_STAT_SERVER_NAKS_SENT

The following example shows how this special Map Descriptor can be configured. You can copy this section of text directly into your CSV file.

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

Page 31
Image 31
FieldServer FS-8700-80 instruction manual Nak