× Forum Header

StepConf Wizard INI file

More
29 Jan 2012 18:24 #17266 by garymcrobertpdx
The StepConf Wizard is a nice quick start tool I use it often
one thing that would make things even easer would be a
custom INI file, that functions like the custom HAL file.
this would save a bit of reediting the INI file every time
I use the StepConf Wizard to make a change.

Perhaps there is a existing trick to accomplish this but
I don't know it.

Thanks
The following user(s) said Thank You: derewaj

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

More
30 Jan 2012 00:54 #17272 by cmorley
Replied by cmorley on topic Re:StepConf Wizard INI file
Why are you editing the INI file everytime?
I can't see how a custom INI file could work well as the INI is searched by heading first then item, so if you wanted to customize on item you have to copy
all the other items (under that heading) too. Or else we would have to change the way Linxcnc looks up stuff in the INI file.

In most cases if you are custom editing the INI file for what options you want then you should probably stop using stepconf and just edit directly.
On the other hand if the edits you are doing are broadly useful maybe we could add the option the stepconf.

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

More
17 Sep 2013 05:34 #38908 by vgraves
Replied by vgraves on topic StepConf Wizard INI file
I don't know if this topic has been addressed anywhere else, but I too think it would be good to have a "custom.ini" file capability similar to what's implemented for the HAL files.

I'm relatively new to LinuxCNC and am trying to get my gantry CNC router configured correctly. From the documentation I've read, many of the INI options are not available from within StepConfig Wizard, so if I want to experiment and try some of them, they must be manually added to the file. So if I then decide to implement something else (like home switches, for instance) I either have to save my changes to the INI file and re-run StepConfig or manually add the new parameters.

If I'm missing something, please let me know.

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

More
17 Sep 2013 07:54 #38916 by cmorley
Replied by cmorley on topic StepConf Wizard INI file
Unfortunately the INI file works differently then the HAL files.

HAL files are read once each startup and in a linear fashion.

The INI is read many times during running and in a non linear fashion.
In fact if you write two heading lines the same then only the first one will be used.

So having linuxcnc look in two different places for the INI info would be problematic with little gain.

StepConf was meant for basic machine. It was extended a bit to add a few options such as classicladder and pyVCP as they were common problems.
It's been a long time since it's been updated for new options like gladevCP.
Probably needs some stuff added for ngcgui options and such. What options are you editting for?

I would bet most of the developers might consider having to edit the INI for beyond basic configurations a feature...at some point your gonna have to learn about the details.

Chris M

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

More
17 Sep 2013 22:14 #38939 by andypugh
Replied by andypugh on topic StepConf Wizard INI file

if I want to experiment and try some of them, they must be manually added to the file. So if I then decide to implement something else (like home switches, for instance) I either have to save my changes to the INI file and re-run StepConfig or manually add the new parameters.


If you make a copy of the INI file under a new name, it will appear in the config picker as a different config. You can have as many INI files as you want, all potentially sharing HAL files and other data.

My milling machine config contains different INI files for 4-axis milling, gear cutting and 4-axis boring.

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

More
18 Sep 2013 17:28 #38981 by vgraves
Replied by vgraves on topic StepConf Wizard INI file
I've never used the config picker, as I've always just used the shortcut icon the wizard puts on the desktop. Having multiple INI files would allow someone like me to experiment to see what parameters are created with the various selections available in the wizard, so maybe I'll start using the config picker.

I manually edited my INI file to add some of the homing parameters that the wizard didn't generate, so I've crossed over the do-not-use-the-wizard-to-modify-this-INI-file line for my router.

Thanks for the input.

Van

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

More
18 Sep 2013 18:49 #38984 by BigJohnT
Replied by BigJohnT on topic StepConf Wizard INI file
You can also right click on the desktop and create a shortcut and for the command use

linuxcnc path to your ini file

Example

linuxcnc /john/linuxcnc/configs/mymill/mymill.ini

JT

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

Time to create page: 0.128 seconds
Powered by Kunena Forum