| Page 18 of 32 |
This example illustrates how to make a Map Descriptor which reads a table and dumps the response in ASCII format to the error log. The error log can be dumped to a file on your computer using RUIDEBUG (a utility supplied with your FieldServer)
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 | , | AsciiLog |
|
|
|
|
|
|
|
|
|
|
|
|
|
The following fragment from the error log is typical of the response to a Map Descriptor like the one above.
T01> ASCII Dump Requested for MD=<MapDesc1>
T01> Field1 | 99.0 | 000 000 Desc1 1 1 |
T01> Field2 | 98.0 | 000 000 Desc2222222 |
T01> Field3 |
| on 000 000 33333 33333 3 |
T01> Field4 |
| Off 000 000 44444444444444 |
T01> Field5 |
| Off 000 000 5555 55555555 |
T01> Field6 |
| Off 000 000 6666666666666 |
T01> Field7 |
| Off 000 000 7 |
T01> Field8 |
| Off 000 000 888 888 88888 |
T01> Field9 |
| Off 000 000 99999999999 3 |
T01> Fielda | DIRTY 000 000 aaaaaaaaaaaaa | |
T01> Fieldb | 0.0 | 000 000 bbbb |
T01> Fieldc | Off 000 000 c | |
T01> Fieldd | 000 000 ddddddddddddd |
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