Bugs item #1919814, was opened at 2008-03-19 09:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1919814&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Stepconf
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jeff Epler (jepler)
Summary: Divide-by-zero for home search speed = 0

Initial Comment:
I changed the "home search speed" from 0.05 to 0.0, based on the description in 
the manual that reads:

HOME_SEARCH_VEL = 0.0 Initial homing velocity in machine units per escond. A 
value of zero
means assume that the current location is the home position for the machine

(Typo: "escond" in original should be "second")

That causes stepconf to fail when writing the output file, but without 
producing an error message. It writes the ini file up to that line, then 
returns to the final screen; attempting to quit produces the "file not saved" 
dialog.

Starting stepconf from a console produces this Python trace cascade:

Traceback (most recent call last):
  File "/usr/bin/stepconf", line 1310, in on_complete_finish
    self.data.save()
  File "/usr/bin/stepconf", line 778, in save
    self.write_inifile(base)
  File "/usr/bin/stepconf", line 406, in write_inifile
    self.write_one_axis(file, 1, "y", "LINEAR", all_homes)
  File "/usr/bin/stepconf", line 488, in write_one_axis
    latchvel = get("homevel") / abs(get("homevel"))
ZeroDivisionError: float division

Perhaps a checkbox to say "Do not home this axis" or "This axis does not have a 
home switch" would be in order?

Other than that, I like it a lot!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1919814&group_id=6744

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to