Capturing the OPC Events
Now we will do a simple connection to the server with the OPC Quick Client to see what happens. For this example we used the Simdemo project that is provided with the server when it is installed
First you need to click the Start button in the Button Menu to start capturing diagnostics.
Next, manually start the OPC Quick Client from the 'Start Menu | Kepware Products' and selecting OPC Quick Client. Connect to the server by creating a new server connection. In the diagnostic window you can see the OPC events that are triggered.
Next in the OPC Quick Client add an OPC Group. Again go back to the OPC Diagnostics window and you can see the specific events that are triggered.

Once the group has been added you can then add an item to the group. You can add the item manually or browse the server for the item. As you can see by looking at the OPC Diagnostics window below, and by looking at the first event, that we had browsed the server for our tags. You will see that you get a Data Change event triggered as soon as the item is added.

Lastly, some of the details of a data change event.

When enabled, the OPC Diagnostics will capture every OPC event that has not been filtered out until it captures the specified maximum number of events. |