| Page 17 of 32 |
This example illustrates how to create a Map Descriptor which reads a table and dumps the response in ASCII format to a Data Array so that RUINET( a utility provided with the FieldServer) can be used to browse and read the results.
Data_Arrays |
|
|
|
|
|
|
|
|
|
|
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
|
|
|
|
|
|
| |||
DA_DUMP, |
| BYTE, | 2000 |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
Map Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | Length, | Scan_Interval, | Storet_As | |||||
Md1 | , |
| DA_DUMP | , | 0 | , | rdbc , | FAN01 , | 1000 , | 5.0s | , | ASCII |
|
|
|
|
|
|
|
|
|
|
|
|
|
The s=Data Array DA_DUMP has been defined with format BYTE. When viewing this table with RUINET display the array in ‘STRING’ format so that you can read it.
This is what tells the driver to dump the table, its variables names and variable descriptions in ASCII format.
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