To use message logger, first make sure that you're using a real-time gauge from FusionWidgets suite - i.e., gauges, which upate themselves in real-time. Examples are real-time angular gauge, linear gauge, cylinder, thermometer, bulb, LED etc. Thereafter, there are 2 steps involved in configuring and using the message logger:
We'll discuss both of these steps in details. |
|||||||||||||||||||||||||||||||||
Setting up the message logger - XML Attributes | |||||||||||||||||||||||||||||||||
To use the message logger in a real time gauge, you just need to set the following in your XML: <chart useMessageLog='1' ..> This attribute tells the gauge to setup message logger and listen to messages streamed from the server. Note that the message logger becomes visible only when it listens to the first message streamed from the server. By default, it stays in a hidden mode. So, when you first set the message logger on for a real-time angular gauge, you would get a screen as shown below: |
|||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
And, when the first message is streamed to the gauge from server, the logger will be displayed as shown below: | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
Configuring the logger | |||||||||||||||||||||||||||||||||
The following <chart> element attributes help you configure the functional and cosmetic properties of the message logger. |
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
Now that the message logger is set up in the gauge, we'll next see how to stream messages from server to the message logger. |