| Page 21 of 23 |
Appendix C.1. Exposing Driver Diagnostic Statistics
In addition to the standard FieldServer communication statistics described in Appendix C.2 and in the FieldServer Instruction Manual, this driver can also expose some driver statistics by writing data to a data array. A special Data Array name is required. The driver recognizes the Data Array by its name which must be
The following example shows how this Data Array can be configured. You can copy this section of text directly into your CSV file.
Data_Arrays |
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
UINT32, | 1000 |
The driver stores the following data. The location in the data array is obtained by multiplying the port number by 100 and then using the location offset indicated in the table below.
Offset + x
Where x = port_number*100
Physical Port 1 = Port Number 2
Physical Port 2 = Port number 1
Data Array Offset |
|
| Contents |
0 |
|
| For FieldServer use only. |
1 |
|
| For FieldServer use only. |
2 |
|
| For FieldServer use only. |
3 |
|
| Increments by 1 each time a Client poll message is sent to a Gage. |
4 |
|
| Increments each time a Client poll message is sent to a Gage. |
|
| Increases by the number of bytes in the message. | |
|
|
| |
|
|
| Increments by 1 each time the Gage sends a response which is |
5 |
|
| completely unsuitable for data storage. Includes messages which |
|
|
| report the Gage is in a setup mode and is unable. |
|
|
| Increases each time the Gage receives a response which has some |
6 |
|
| hope of containing data. Increased by the number of bytes in that |
|
|
| message. |
7 |
|
| Increases each time the Gage receives a response which has some |
|
| hope of containing data. Increased by 1 each time. | |
|
|
| |
|
|
| Increments by one each time a status response contains a line |
8 |
|
| which appears not to be a heading but which does no appear to be |
|
|
| suitable for data extraction. |
9 |
|
| Increments by 1 each time a status response contains no data |
|
| which could be stored. | |
|
|
| |
10 |
|
| Increments by 1 each time a pressure reading response is not |
|
| suitable for data extraction and storage. | |
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)