FS-8700-103_ATMI_TGM_Serial
Manual
Page
25
of
28
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
Appendix C.1. Exposing Driver Operating Statistics
In addition to the standard FieldServer operating statistics the driver exposes certain key
stats in a Data Array if required. These stats can then be monitored by an upstream device.
Add the following to your configuration file to activate these stats
Expose Driver Operating Stats.
Data_Arrays
Data_Array_Name,
Data_Format,
Data_Array_Length
ATMI-TGM-stats,
UINT16,
1000
To calculate the actual offset multiply the port number by 100 and add the relative offset.
Items marked * do not consider the port number in calculating the actual offset.
Stat Relative
Offset
Notes
1
Increments each time client sends a poll.
2
Total of all the bytes sent to the TGM device
3
Increments each time the client receives a complete response as
indicated by the prompt character
4
Increments each time the client receives a CR-lf pair in a response
5
Count of all the bytes received by the client in response to TGM polling
6
Count of all the messages that were sent to the parse function.
8
Count of all the message that were parsed successfully
9
Increments by 1 each time a poll times out
10
*When set to 1 the driver dumps the contents of its gas name lookup table
to the error log. Driver resets to zero after dump.
11
*When set to 1 the driver dumps the contents of its gas engineering units
lookup table to the error log. Driver resets to zero after dump.
12
*When set to 1 the driver dumps the contents of its CALR gas lookup
table to the error log. Driver resets to zero after dump.
13
*When set to 1 the driver dumps the contents of its Malfunction Lookup
table to the error log. Driver resets to zero after dump.
14
*When set to 1 the driver dumps the contents of its 'Return to Normal'
Lookup table to the error log. Driver resets to zero after dump.
15
When set to 1 the driver does not use the soundex function.
16
Increments by 1 each time a response line is too large to fit the
connection in buffer
17
Increments by 1 each time a response is too large to fit the in the report
buffer
To execute a table dump do the following
•
Connect to the FieldServer using RUINET
•
Browse to the Array called “ATMI-TGM-stats”
•
Modify the value found at offset by typing
M x 1 <Enter>
Where x = 10 or 11 or 12 or 13 or 14
A typical dump is shown below