QuickOPC.NET: How to log OPC Alarms and Events notifications into an XML file
The example below subscribes to all notifications from an OPC A&E Server, and logs the event notifications to an XML file.
See also: QuickOPC.NET: How to log OPC Data Access item changes into an SQL database, QuickOPC.NET: How to log OPC Data Access item changes into an XML file.
There are three factors that make the code very short:
- You can use anonymous methods (or lambdas) to specify the handler (callback) for event notifications.
- The event arguments that are passed to the event handler or callback are directly serializable to XML (same as with most QuickOPC objects).
- There is no need for reconnection logic (more about this further down in this post).
static void Main() { Console.WriteLine("Starting up..."); var xmlSerializer = new XmlSerializer(typeof(EasyAENotificationEventArgs)); var xmlWriter = XmlWriter.Create("OpcEvents.xml", new XmlWriterSettings { Indent = true, CloseOutput = true }); // The root element can have any name you need, but the name below also allows reading the log back as .NET array xmlWriter.WriteStartElement("ArrayOfEasyAENotificationEventArgs"); Console.WriteLine("Logging for 30 seconds..."); int handle = EasyAEClient.SharedInstance.SubscribeEvents("", "OPCLabs.KitEventServer.2", 100, (_, eventArgs) => { Debug.Assert(eventArgs != null); xmlSerializer.Serialize(xmlWriter, eventArgs); }); System.Threading.Thread.Sleep(30 * 1000); Console.WriteLine("Shutting down..."); EasyAEClient.SharedInstance.UnsubscribeEvents(handle); xmlWriter.WriteEndElement(); // not really necessary - XmlWriter would write the end tag for us anyway xmlWriter.Close(); Console.WriteLine("Finished."); }
The output file generated by the logger (OpcEvents.xml) is listed at the bottom.
What makes this example quite nice is the fact it is is fairly complete - it is fully resistant against network problems, OPC server crashes etc. You do not need to write any additional code for that! To prove it, increase the logging time in the code to e.g. 10 minutes, start the logger, and then find and select the OPC Simulation Server process (opcrtkit.exe) in the Task Manager, and "kill it" by pressing the "End process" button. The logger will log an en exception record into the output XML. If you, however, wait for some minutes, you will see that the server process restarts itself (this is caused by the reconnection facility in the QuickOPC component), and events from the OPC server will be outputted to the XML file again. The reconnection delays can be influenced by setting various properties on EasyAEClient object. This example project is included with the product. Please use the example from the product itself for the most up-to-date code of the example. There is also an example that shows logging of OPC Data Access Item changes into XML – in a separate application note.
OpcEvents.xml:
<?xml version="1.0" encoding="utf-8"?> <Log> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>true</Refresh> <RefreshComplete>true</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:16.0625512+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:17.0624808+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:18.0624104+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:19.06234+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:20.0622696+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:21.0621992+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:22.0621288+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:23.0620584+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:24.061988+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:25.0619176+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (10 s)</QualifiedSourceName> <Time>2011-11-29T19:37:25.0619176+01:00</Time> <Message>Simulated event message; regular; period: 10000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:26.0618472+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:27.0617768+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:28.0617064+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:29.061636+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:30.0615656+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:31.0614952+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:32.0614248+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:33.0613544+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:34.061284+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:35.0612136+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (10 s)</QualifiedSourceName> <Time>2011-11-29T19:37:35.0612136+01:00</Time> <Message>Simulated event message; regular; period: 10000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:36.0611432+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:37.0610728+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:38.0610024+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:39.060932+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:40.0608616+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:41.0607912+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:42.0607208+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:43.0606504+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> <EasyAENotificationEventArgs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServerDescriptor> <MachineName /> <ServerClass>OPCLabs.KitEventServer.2</ServerClass> </ServerDescriptor> <ErrorCode>0</ErrorCode> <Handle>12585986</Handle> <SubscriptionParameters> <Active>true</Active> <NotificationRate>100</NotificationRate> <Filter> <EventTypes> <IsSimple>true</IsSimple> <IsTracking>true</IsTracking> <IsCondition>true</IsCondition> </EventTypes> <Categories /> <LowSeverity>1</LowSeverity> <HighSeverity>1000</HighSeverity> <Areas /> <Sources /> </Filter> <ReturnedAttributesByCategory /> </SubscriptionParameters> <Refresh>false</Refresh> <RefreshComplete>false</RefreshComplete> <EnabledChanged>false</EnabledChanged> <ActiveChanged>false</ActiveChanged> <AcknowledgedChanged>false</AcknowledgedChanged> <QualityChanged>false</QualityChanged> <SeverityChanged>false</SeverityChanged> <SubconditionChanged>false</SubconditionChanged> <MessageChanged>false</MessageChanged> <AttributeChanged>false</AttributeChanged> <Event> <QualifiedSourceName>Simulation.Regular (1 s)</QualifiedSourceName> <Time>2011-11-29T19:37:44.06058+01:00</Time> <Message>Simulated event message; regular; period: 1000 ms</Message> <EventType> <IsSimple>true</IsSimple> <IsTracking>false</IsTracking> <IsCondition>false</IsCondition> </EventType> <CategoryId>15531777</CategoryId> <Severity>1</Severity> <AttributeValues /> <ConditionName /> <SubconditionName /> <Enabled>false</Enabled> <Active>false</Active> <Acknowledged>false</Acknowledged> <Quality> <InternalValue>0</InternalValue> </Quality> <AcknowledgeRequired>false</AcknowledgeRequired> <ActiveTime>1601-01-01T01:00:00+01:00</ActiveTime> <Cookie>0</Cookie> <ActorId /> </Event> </EasyAENotificationEventArgs> </Log>