Page 39 of 58 |
Appendix A.19. Advanced Map Descriptor Example 10 - Show
OneMapDescriptorisrequiredforeachpointwhose attributesyouwishto‘show’.Theshowfunctionr eadsdatathatdescribesthe attributesandthestateofeachattributeforasi ngledevice.Everytypeofdevicehasadifferents etofattributes.Whentheresponse
isreceivedbythedriver,itfillsanumberofDat aArraylocationswithnumericvaluesthatrepresen ttheattributesandtheirstates. Youshouldreserveatleast100arraylocationsfor eachMapDescriptorbysettingthelengthto100.
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | Length, | Scan_Interval | sim4100_Func | Sim4100_Card, | Sim4100_Point, | Sim4100_Sub |
Show_mapdesc1, | DA_SHOW, | 0, | rdbc, | Node_A, | 100, | 1.0s, | Show, | 1, | 2, | 3 |
|
|
|
|
|
|
|
|
|
|
|
Bywayofexampleassumethatpoint123isaHeat | Detectorandtheresponsetotheshowqueryisas | follows | ||
| 40 Character Custom Label |
| ||
| HEAT DETECTOR |
| ||
| DEVICE ADDRESS: | TYPE: COMBO |
| |
| IDNET INTERFACE CARD |
|
|
|
| LOCAL UNIT – MAIN PANEL |
|
|
|
| UNIT NUMBER: 0 RUI NUMBER: LOCAL |
| ||
|
| |||
| PRIMARY STATUS | NORMAL |
| |
| CURRENT DEVICE | CORRECT DEVICE |
| |
| DEVICE | ON_LINE |
| |
| TEST STATE | SELF TEST NORMAL |
| |
| ALARM TEMPERATURE SELECTED= 135 DEG F |
| ||
| VALUE=0 / |
|
|
|
| PEAK=0 / |
|
|
|
| TROUBLE THRESHOLD | RANGE NORMAL |
| |
|
|
|
| |
| ENABLED STATE | ENABLED |
|
|
| UNVERIFIED | 0 |
|
ThedriverwillloadthearrayDA_SHOWstartingat offsetzeroforupto100elements.Usingthefollo wingtableswedeterminewhat valuesyoucanexpectforthisresponse.
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |