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.

Writing of values doesn't work

More
26 Mar 2017 10:02 #5036 by support
Correct me if I am wrong, but I do not see anything that would actually invoke the Write.
It looks like that you have picked just part of the procedure for configuring the Write (opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...lue%20on%20Custom%20Event.html ). There were other steps needed, such as:

In order to have the Write invoked when the button is pressed, set the WriteEventSource.SourceComponent to the Button control; the SourceMember of the WriteEventSource will be automatically set to the Click event. This causes the Click on the Button execute the Write operation, i.e. obtain the value from the control and write it into the OPC item.


The event that causes the Write may be different, depending on your needs, of course. It is also possible to write multiple values at once - see opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ues%20on%20Custom%20Event.html .

I hope this helps

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

More
23 Mar 2017 08:39 #5032 by rhoerner
Thank you, the reading of OPC-Values works fine now. Perfect!

But the writing of values doesn't work. I put a second textbox in the form and I configured it in the same way. Additional I did the following thing, like you describe it in the docu:

//How to configure this feature:
//On a TextBox (or similar control), use "Bind to Point" command and select the OPC-DA item (or OPC-UA //node) you want to write to.
// Then, use the "Edit Live Bindings" command, and for the BindingOperations options, select only //"Write".

What's the problem for writing? I add the current VS-Project, so may be you find the problem.

Thank you very much for helping.
Best regards
Attachments:

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

Moderators: support
Time to create page: 0.045 seconds