Hugo Lapré
Hugo Lapré
Could you please explain why you don't want to use the contextmanager (==`with` block)? This is exactly the kind of use case for which contextmanagers were added to the Python...
Maybe you are right that it would be nice to provide the possibility to connect/disconnect manually. For now, you could do the following: ```python import PIconnect as PI server =...
The current solution was chosen based on this post: https://pisquare.osisoft.com/thread/12398#comment-61955
If you do the loop within the `with` block, the python package should not try to disconnect. I think this fix is currently only in the development version and not...
you could try calling `server.connection.Disconnect()` manually, although that should execute anyway once the `with` block ends. However, given the description on the exception I suspect a network configuration error which...
Apparently something has changed in the sdk version 2.10, that causes the import to partially fail. I will have to dig into the documentation to find out what has changed...
Interestingly, I just noticed both of you experience this issue on SDK version 2.10.8.440, but on my system I have 2.10.9.593 and no issues. Also, looking closer at the stack...
This is some strange behaviour, but I'm not sure I can fix this myself. I don't have a server at my disposal on which I have write permissions, so I'm...
I'll have to look into this type of call, especially in detecting whether the function was called as a method or statically. The recommended call is as follows: ```python import...
Ah now I see what your pointing at. That would actually be nice if some performance could be gained there. Looking at the AF SDK documentation it seems there is...