Appendix C.3.2. Driver Exposed Stats - FieldServer FS-8700-41 Driver Manual

Simplex time recorder company - 4100 computer port protocol
Table of Contents

Advertisement

FS-8700-41 Simplex 4100 Driver Manual
Appendix C.3.2.
The driver is capable of exposing statistics about its behavior in a Data Array. It is necessary to create a Data Array
with name sim4100-stats as per the example below and it will be updated by the driver. Note that the stat
number corresponds to the offset.
Take care not to poke any values into the 1st 10 elements of this Data Array (offsets 0 to 9). Doing so will trigger
internal diagnostics and may interfere with normal operation.
A different set of stats is maintained for each connection. Each connection uses 100 elements of the data array.
Ensure the array length is large enough if the port number is large.
Data_Arrays
Data_Array_Name
, Data_Format
sim4100-stats
, UINT16
At revision 1.07a of the driver and earlier, no stats had been exposed.
Stat #
Stats
10
SIM4100_STAT_XPOINT_CARD
11
SIM4100_STAT_XPOINT_POINT
12
SIM4100_STAT_XPOINT_SUB
13
SIM4100_STAT_XPOINT_QUALIFIER
14
SIM4100_STAT_XPOINT_QUALIFIER_AS_ENUM
15
SIM4100_STAT_XPOINT_STATE
16
SIM4100_STAT_XPOINT_ACK_STATE
17
SIM4100_STAT_XPOINT_HOUR
18
SIM4100_STAT_XPOINT_MIN
19
SIM4100_STAT_XPOINT_SEC
20
SIM4100_STAT_XPOINT_DOW
21
SIM4100_STAT_XPOINT_DAY
22
SIM4100_STAT_XPOINT_MONTH
23
SIM4100_STAT_XPOINT_YEAR
24
SIM4100_STAT_XPOINT_COMBO_STATE_OLD
25
SIM4100_STAT_XPOINT_COMBO_STATE_NEW
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
Driver Ex posed Stats
, Data_Array_Length
, 1000
Description
The Card in c-p-s from most recent xpoint store
The Point in c-p-s from most recent xpoint store
The SubPoint in c-p-s from most recent xpoint store
The Qualifier from most recent xpoint store
The Qualifier from most recent xpoint store, stored as an
enumeration – See Note1 for bit states
The reported state from most recent xpoint store. State
value: 0 FALSE/Normal 1 TRUE/Abnormal
The reported ack state from most recent xpoint store. Ack
state: *=needs ack, -=acked (always "-" for U or C states)
The Time from most recent xpoint store
The Time from most recent xpoint store
The Time from most recent xpoint store
The Date from most recent xpoint store
The Date from most recent xpoint store
The Date from most recent xpoint store
The Date from most recent xpoint store
A single point could potentially be active in more than one
state simultaneously. The driver tracks the combine state by
building a UINT whose bits indicate the state. This is the
combo state before the update. See Note 1 for bit states.
A single point could potentially be active in more than one
state simultaneously. The driver tracks the combine state by
building a UINT whose bits indicate the state. This is the
combo state after the update. See Note 1 for bit states.
Page 39 of 48

Advertisement

Table of Contents
loading

Table of Contents