FieldServer FS-8700-66 Computer Drive User Manual


 
Page 22 of 29FS-8700-66_GE-SNP Manual Page 22 of 29
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Appendix B.1. Driver Stats
The statistics recorded by the GE-SNP Serial Driver are slightly different from the way that
FieldServer driver normally records statistics. This difference arises from the fact that this
driver is not a simple poll response driver. Bear in mind that a single poll can generate a
large number of response fragments.
Fragment Ack/nack messages are NOT counted as messages but the bytes sent/rcvd are
counted.
Connection messages are counted as messages and the bytes sent/rcvd are counted.
This driver can expose these and additional 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 "SNP-stats”.
Example: Configuration of this special Map Descriptor
Nodes
Node_Name, Protocol
Null_Node, SNP
Data_Arrays
Data_Array_Name, Data_Format, Data_Array_Length
SNP_STATS , UINT32 , 660
Map_Descriptors
Map_Descriptor_Name,
Data_Array_Name, Node_Name, Length
snp-stats , SNP_STATS , Null_Node , 660
When the driver sees this Map Descriptor it uses the Data Array SNP_STATS (in this
example) to store driver specific statistics. Only one of these Map Descriptors may be
specified (per tier) per FieldServer.
The driver stores the following stats for each port.. The offset into the Data Array can be
found by multiplying the port number by 60
No
Message Description
0 GE_STAT_CPU_ID
This is 10 bytes long. The numbers placed
here correspond to the ASCII characters of
the responding Node's name.
11
GE_STAT_T1_TIMER
The current val
ue of the T1 timer is
reported here. The driver uses the larger of
its own and the slave T1 Timer.
12
GE_STAT_MBOX_NAK_MAJOR
13
GE_STAT_MBOX_NAK_MINOR
Most recent Mailbox Nak error code.
See
additional table below
14
GE_STAT_MBOX_NAK_CNT Mailbox Nak error Count
15
GE_STAT_MBOX_PROG_NUM
16
GE_STAT_MBOX_SWEEP
Most recent Piggyback info