![](/images/new-backgrounds/1147467/14746723x1.webp)
| Page 12 of 23 |
4.4.6.Map Descriptor Example #3 - Verify.
The verification string contains revision and model information about the Gage. In this example a Map Descriptor is defined which controls the task of reading verification data from the Setra Model 370 Digital Pressure Gage. The task gets performed every 5.0 seconds. When a response is received the data is stored in the Data Array called DA_VERIFY stating at element zero (the offset). Each Gage verification reading requires the driver store a string containing two lines of data. The actual length is unknown in advance and it is recommended that 100 Data Array elements be reserved to store the verification sting. The verification string is stored by writing each consecutive letter in consecutive Data Array elements. It is recommended that the Data_Array_Format is set to BYTE in this case. This will enable the use of the “String” display to read the verification string in RuiNet.
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | Gage_Function, | Length, | Scan_Interval |
Read_Verify, | DA_VERIFY, | 0, | RDBC, | Gage1, | Verify, | 100, | 5.0s |
Unique names | The name of a | The 1st location | ||||
assist config file | Data Array in | in | the | Data | ||
validation |
| which | the | Array which will | ||
debugging | but | response | data | be | used | for |
are | not | will be stored. | storage. |
| ||
necessary. |
|
|
|
|
|
|
The name of a Node defined in | Tells | the driver | Tells | the | driver | |
the CSV file. The node name | to | read | the | to schedule this | ||
connect the MD to a node | verification |
| MD | no | more | |
which in turn points to a | string |
| often | than 5 | ||
connection Thus the driver | measurement | seconds. |
| |||
knows what port and port | from the Gage |
|
|
| ||
settings to use to send the |
|
|
|
|
|
|
poll.. |
|
|
|
|
|
|
| Reserves | 100 |
|
|
| |
| elements of the |
|
|
| ||
| Data | Array | to |
|
|
|
| store | response |
|
|
| |
| data. |
|
|
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)