Christopher Beard
                                            Christopher Beard
                                        
                                    I get a similar issue but the other way around. I am using qt designer and set my buttons to a size I want, then if I apply the theme,...
I am sorry that noone replied to you on this. I think this is because noone knows the solution. Sorry! This is a pretty advanced case though and not something...
Looking into this in more detail, it looks like None should be used as a null pointer in python when using ctypes. https://docs.python.org/3/library/ctypes.html#calling-functions The issue here i think is the...
Let us know how you get on and if you can make pyads work, feel free to make a PR
Hello, have you tried recreating the instance of the plc Connection? e.g. redoing plc = pyads.Connection(...). A workaround for this is to wait for twincat to start before starting the...
I've been looking into this and I think it may be an issue the underlying TwinCat ADS C Dll. As pyads just calls this when using plc.open(). We could log...
@stlehmann not sure the connection being lost is an issue here as no connection is made in the first place, as the TC system service has not started the DLL...
You can replicate the error by stopping the service on the pc and trying to connect. Doing this using plc.close() then plc.open() does not clear the error
Link to issue in Beckhoff repo: https://github.com/Beckhoff/ADS/issues/131 This looks promising.
I suggest to keep it similar with the .NET implementation, they have this signiture: ```c# // Call a Method that has the following signature (within MAIN Program) /* {attribute 'TcRpcEnable'}...