Quantcast
Viewing all articles
Browse latest Browse all 1794

Setting DataSource when reading values through Python - by: jihaekor

Hello,

I was looking for a way to set the datasource to 'device' using a Python implementation of QuickOPC, but I could not find a good way of getting this to work even after searching through the documentation. I see that there is a DAReadParameters class, but I was unable to figure out how to use the class through the Python COM implementation.

Below is a quick excerpt of the code that I have:



I was hoping to either add arguments to the dispatched client, or to the ReadItemValue function to achieve this. Is this something that can be done?

Thanks,
John

Viewing all articles
Browse latest Browse all 1794

Trending Articles