Page 19 of 24 |
Example 4 : Ignored Messages
When messages are received that the driver cannot find a map descriptor to use to store the data from the message (say a message from a device on circuit 127 is received but there are no map descriptors for circuit 127) then the driver produces a MSG_IGNORED stat. You can have the driver dump these messages to the error log or store the message in a data array by using the DATA_Type=’Dump’. If the data is stored in a data array then use a data array with a ‘Byte’ format and display the array using the ruinet utility and view the array in ‘String’ format. If youhave the ignored messages dumped to the error log then use the RuiDebug utility to capture the error log
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | node_name, | Length | , | Data_Type , | Clear_on_Reset, | Store_As | ||||
Store_Ignored_Msg , | DA_DUMP_IGNORED, | 000 | , | passive , | panel1 | , | 1000 | , | Dump | , | No | , | Ascii |
Store_As can be set to ‘Ascii’ or ‘AsciiLog’ .
When set to ‘Ascii’ the message is save to a data rray.
When set to ‘AsciiLog’ the ignored message is dumped to the error log.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)