I have trouble running teach-in scrpt on my rip in ~/ldev
I source the env script after cd ~/ldev . sc<tab>/ri<tab> then run sim/axis-mm from picker the F1 F2 home all then open another terminal and cd to my rip '~/ldev' and source the env again then cd to ~/ldev/bin then exec ./teach-in tilog01.txt I get an error, here is terminal 2's log cnc@raspberrypi:~$ cd cnc@raspberrypi:~$ cd ldev cnc@raspberrypi:~/ldev$ . scripts/rip-environment cnc@raspberrypi:~/ldev$ cd bin cnc@raspberrypi:~/ldev/bin$ ./teach-in tilog01.txt Traceback (most recent call last): File "/home/cnc/ldev/bin/./teach-in", line 90, in <module> show() File "/home/cnc/ldev/bin/./teach-in", line 64, in show s.poll() linuxcnc.error: emcStatusBuffer invalid err=3 cnc@raspberrypi:~/ldev/bin$ I tried adding s = linuxcnc.stat() before s.poll() but same result. Any thoughts? (BTW i use s.poll() in my own hal comps, and no issues) Thx TomP sorry for any typos _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
