Error on "Test / Tune Axis

More
05 Apr 2021 22:13 - 05 Apr 2021 22:27 #204971 by charleyann
In the Pnc Config Wizard I am getting this error when I select "Test / Tune Axis"

This browser does not support PDFs. Please download the PDF to view it: Download PDF



If I comment out the print statements at line 689 the test runs. I don't know enough about python to fix it the right way.
Can anyone help?
Attachments:
Last edit: 05 Apr 2021 22:27 by charleyann.

Please Log in or Create an account to join the conversation.

More
05 Apr 2021 22:19 #204972 by cmorley
Replied by cmorley on topic Error on "Test / Tune Axis
your quotes didn't come through.
What version of linuxcnc are you using?

Please Log in or Create an account to join the conversation.

More
05 Apr 2021 22:26 #204973 by charleyann
I'm running 2.8.1
I fixed the attachment, you should see it now.

Please Log in or Create an account to join the conversation.

More
05 Apr 2021 22:50 #204979 by cmorley
Replied by cmorley on topic Error on "Test / Tune Axis
change it to this:
if that works I'll push the fix
            for i in stepinvertlist[0]:
                   halrun.write("setp   " + self.step_signalname + ".step.invert_output   true")
            for i in stepinvertlist[1]:
                   halrun.write("setp   " + self.step_signalname + ".direction.invert_output   true")
            halrun.write("setp %s.step_type 0 \n"% (self.step_signalname))

Please Log in or Create an account to join the conversation.

More
06 Apr 2021 13:07 #205100 by charleyann
That took care of it.
Thank You

I'm off to my stepper tuning adventure!
The following user(s) said Thank You: cmorley

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.106 seconds
Powered by Kunena Forum