We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CdefSlave
In the following code, my program crashes almost instantly when I use PyCharm debugger to view entries the slaves variable:
slaves
import pysoem master = pysoem.Master() master.open("\\Device\\NPF_{...}") if master.config_init() > 0: slaves = master.slaves else: print('no device found') master.close()
Breaking on the last line is fine:
But when I try to expand slaves[0] to view its properties it crashes, with the error
slaves[0]
Process finished with exit code -1073741819 (0xC0000005)
Otherwise the code seems okay. Adding this for example prints the names as expected:
for slave in master.slaves: print(slave.name)
EDIT: Exact same happens in VS Code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the following code, my program crashes almost instantly when I use PyCharm debugger to view entries the
slaves
variable:Breaking on the last line is fine:
But when I try to expand
slaves[0]
to view its properties it crashes, with the errorOtherwise the code seems okay. Adding this for example prints the names as expected:
EDIT: Exact same happens in VS Code.
The text was updated successfully, but these errors were encountered: