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 Value

More
21 Nov 2023 13:42 #12405 by support
Replied by support on topic Writing Value
Note: QuickOPC now supports Python in much better way, cleaner syntax, and public packages (pypi.org/project/opclabs-quickopc/) on Python Package Index . See What's new in QuickOPC 2023.2 for more information. And, over 270 examples are available in the User's Guide!

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

More
06 Oct 2016 19:32 #4438 by cassioss
Replied by cassioss on topic Writing Value
It works :)

Thank You.

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

More
06 Oct 2016 13:10 #4437 by support
Replied by support on topic Writing Value
At this moment I cannot verify whether that works, but it should look something like this:

client.WriteItemValue('', 'OPCLabs.KitServer.2', 'Simulation.Register_I4', 12345)
Best regards
The following user(s) said Thank You: cassioss

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

More
06 Oct 2016 10:49 #4434 by cassioss
Writing Value was created by cassioss
Hello,

I would like to know how to perfom a writing operation through python at OPC DA. I saw the reading sample and it works.

Can you please send me a example like the one below?


# Perform the operation
value = client.ReadItemValue('', 'OPCLabs.KitServer.2', 'Demo.Single'))

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

Moderators: support
Time to create page: 0.049 seconds