method 'poll' of 'linuxcnc.stat' objects> returned NULL without setting an excep

More
2 years 10 months ago #287414 by nauman
Code:
import time import linuxcnc i = 0 s = linuxcnc.stat() while i < 3: try: r = s.poll() print('homed=', getattr(s, 'homed')) c = linuxcnc.command() c.abort() c.mode(linuxcnc.MODE_MANUAL) c.wait_complete() c.home(i) except Exception as detail: print("Error:", detail) i += 1 time.sleep(2) # Wait for 2 second

Please Log in to join the conversation.

More
2 years 10 months ago #287701 by andypugh
Is this in Docker, as you mentioned earlier?

Please Log in to join the conversation.

More
2 years 6 months ago #298219 by nauman
I am running this application in host not in docker.

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum