Work with probe

More
10 years 7 months ago #71753 by andypugh
Replied by andypugh on topic Installing Work with probe

gizmo6023 wrote: max_feed_override = float(inifile.find("DISPLAY", "MAX_FEED_OVERRIDE"))
TypeError: float() argument must be a string or a number


What is the entry in MAX_FEED_OVERRIDE in the INI? (perhaps it is blank?)

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

More
10 years 7 months ago #71755 by gizmo6023

andypugh wrote:

gizmo6023 wrote: max_feed_override = float(inifile.find("DISPLAY", "MAX_FEED_OVERRIDE"))
TypeError: float() argument must be a string or a number


What is the entry in MAX_FEED_OVERRIDE in the INI? (perhaps it is blank?)


this is the line from my .ini
MAX_FEED_OVERRIDE = 1.2

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

More
10 years 7 months ago #71756 by andypugh
Replied by andypugh on topic Installing Work with probe
Odd.
Do you have a text editor that allows you to turn on visibility of invisible characters?
I wonder if there is something wierd on that line.

You could try deleting it and re-typing it.
The following user(s) said Thank You: verser

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

More
10 years 7 months ago #71757 by gizmo6023

andypugh wrote: Odd.
Do you have a text editor that allows you to turn on visibility of invisible characters?
I wonder if there is something wierd on that line.

You could try deleting it and re-typing it.


I do not think my editor is that sophisticated but but not sure, Linux is a foreign language to me at the moment, only been using it for a little over a month while attempting to get my machine running.

I deleted and re entered the value in the .ini and get the same error message.

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

More
10 years 7 months ago #71759 by gizmo6023
The only difference between the working and broken .ini files are the lines from Verser's install instructions.

broken ini:
# Generated by stepconf 1.1 at Mon Mar 14 19:49:20 2016
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = ShopFoxMill
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EMBED_TAB_NAME=Probe Screen
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u python/probe_screen.py -x {XID} probe_icons/probe_screen.glade
[RS274NGC]
FEATURES=30
SUBROUTINE_PATH = home/dave/linuxcnc/configs/subroutines
[TOOLSENSOR]
# Control probe rapid feed
RAPID_SPEED = 600
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2



vs working .ini:

# Generated by stepconf 1.1 at Mon Mar 14 19:49:20 2016
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = ShopFoxMill
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2

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

More
10 years 7 months ago #71763 by verser
Replied by verser on topic Installing Work with probe
There is a syntax error.
To repair attach here your broken ini.

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

Time to create page: 0.198 seconds
Powered by Kunena Forum