WinGate components will publish what data they have available to be monitored with the Data system. This is displayed on the Monitoring tab, located at Control Panel > Data in the WinGate Management console.
From here you can select which of the published pieces of data on the Monitoring tab will actually be monitored.
Since there is a processing overhead when monitoring data, all data that is published to the Monitoring tab will not be monitored, until you explicitly enable a selected value on the Monitoring tab.
When you are configuring the properties of piece monitored data, the Threshold checking options are optional.
You can stop WinGate from monitoring a piece of data by right clicking on it (in the Monitoring tab) and selecting Disable monitoring.
It is also possible to begin monitoring data (that has been published for monitoring) when using a WinGate scripting system, or a configuration that has access to a Symbol browser. The Data system publishes the Data.GetMonitor(Text DataSource, Text DataItem) method for this purpose.
When you use this method, it will check to see if the specified published data provided by the specified data source is currently being monitored. If it isn't, it will automatically turn on monitoring for the selected piece of published data. This alleviates the need to switch on monitoring for the selected data from the Monitoring tab, before being able to access or refer to it in script.
e.g.
A script could contain:
Data.GetMonitor("Events","TestMonitor")
This would attempt to see if a piece of data called TestMonitor(DataItem) published by Events (DataSource) is currently being monitored. If it isn't, then WinGate will begin monitoring the published data named TestMonitor.
Read more about using WinGate objects
Once you have set a piece of data to be monitored, it is available to be read and referred to by other WinGate services and components just like global data items.
Read about accessing monitored data
©2012 Qbik New Zealand Limited
no comments yet...
You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:
You can create a new account or reset your password at forum.wingate.com.