Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Examples of subscribing to data changes in OPC item

More
28 Aug 2014 18:14 - 28 Aug 2014 18:30 #2194 by support
There are multiple examples shipped with the product that show how OPC subscription are programmed with QuickOPC.

To open the solution with VB.NET examples, locate QuickOPC in the Start menu, and select Examples (Source Code) -> Visual Basic Examples. To open the solution with C# examples, locate QuickOPC in the Start menu, and select Examples (Source Code) -> Visual C# Examples.

There are many example projects in each solution, and the OPC subscriptions are used in several of them, e.g.:
  • Console/ConsoleDataTypes
  • Console/DocExamples (multiple examples in there; search for SubscribeItem or SubscribeMultipleItems)
  • Console/LogAsStringSql
  • Console/LogAsUnionToSql
  • Console/LogToSqlEnhanced
  • Console/SimpleLogToSql
  • Console/SubscribeFromXml
  • Console/XmlLogger
  • Windows Forms/EasyOpcNetDemo
  • Windows Forms/SubscribeToMany

See also:
Best regards
Last edit: 28 Aug 2014 18:30 by support.

Please Log in or Create an account to join the conversation.

More
28 Aug 2014 18:11 #2193 by support
From: D.
Sent: Thursday, August 28, 2014 7:45 PM
To: Zbynek Zahradnik
Subject: RE: OPC Labs Contact Form - .net Framework Issue

[...] are you able to send me a complete project I can open and run so I can grasp the concept of reading data of an onchange event. I am using Visual Studio 2010 with VB but happy to use C#.

D.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.045 seconds