Hello!
I would like to ask for some help.
Currently I am using your trial version but in the end I would like to buy a QuickOPC Ultimate, but first I have to convince my boss.![;) ;)]()
I am developing in Python so I went for COM objects.
I created a draft class with actually two methods, a subscription one and a write value one.
Here is the gist .
I would like to avoid marshaling, unmarshaling COM objects between different threads, so I instantiate the client object within each method (which can run in different worker threads), I mean within _subscribe_multiple_monitored_items or _write_value.
I have done some tests and it seems to me that there is no drawback, I mean the 2nd client can pick up the existing connection without any issue.
So the question is that it would be a good practice?
Thanks for your help in advance.
BR!
I would like to ask for some help.
Currently I am using your trial version but in the end I would like to buy a QuickOPC Ultimate, but first I have to convince my boss.

I am developing in Python so I went for COM objects.
I created a draft class with actually two methods, a subscription one and a write value one.
Here is the gist .
I would like to avoid marshaling, unmarshaling COM objects between different threads, so I instantiate the client object within each method (which can run in different worker threads), I mean within _subscribe_multiple_monitored_items or _write_value.
I have done some tests and it seems to me that there is no drawback, I mean the 2nd client can pick up the existing connection without any issue.
So the question is that it would be a good practice?
Thanks for your help in advance.
BR!