GUI no respondse when invokeAsynchronous the COM IO fucntion

This function accepts no parameters for the function your pating into it. Also, currently you are actually running the function openCOMDevice in the gui thread. You need to pass in the function definition (ie without parenthesis, otherwise you will be executing the function and passing in its return value.

To pass in your parameters, you need to rely on Python's... Inherited scope variables.. I can't remember the name, @pturmel?

1 Like