Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg

 Subject: Re: [Emc-developers] INI edit from inside gui


On 11/02/2017 07:42 AM, Marius Liebenberg wrote:
I do a lot of upgrades to Chinese routers from their controller to 
Mach3. I have been using an Atom type mother board for the last five 
years together with a detuned Windows XP installation. It is always a 
parallel port driver installation.
I am finding it more and more difficult to get motherboards that will 
support XP and today my supplier warned me that the motherboards of 
the future will not install XP at all.


The reason that I install Mach3 with a parallel breakout is purely 
because it is so easy to do and my customers do not need to learn 
linux.
Now I am thinking that the time has maybe come to do a Mach 
replacement controller that will be just as easy but running linuxcnc. 
If I use Gmoccapy for instance and add a page or two that can edit a 
configuration similar to what one does in Mach, then there might be 
less resistance to using linuxcnc.


So I would imagine that there will be a matrix of pins and signals 
that could be configured from within the gui and a standard INI file 
with parameters for calibration of motor parameters and others.


Will it be possible to reload or restart linuxcnc from inside the gui 
and more so, what do the gurus think of such and idea? Is it at all 
feasible?



Why do you want to restart Linuxcnc from within its own GUI?  Seems 
like you should be able to set up the configuration once and then just 
keep using the same setup, possibly with editing the resolution, axis 
limits and such.  For software generated steps, there is a setup wizard 
that handles that.  It is not run from within LinuxCNC, but is an 
external program that writes the configs file set.


Jon
When I asked the question I did not know about the setp function for 
parameters. I am fully aware of the config programs. I have been using 
linuxcnc for many years :). I do however think if the easy setup methods 
of Mach3 is emulated for at least parallel port driven configs, it would 
make the transition from Mach3 to linuxcnc much easier. Especially for 
not geek users. I dont see any reason why it cannot be done from within 
a GUI like Gmoccapy.




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Gene Heskett
On Thursday 02 November 2017 09:12:01 Marius Liebenberg wrote:

>   I am aware of those functions. It is no problem to read and write
> the INI file from within the GUI but getting the parameters to reload.
> I will look at those procedures to see how it is done.
>
I read that code as modifying the running session, it has to in order 
that you can see the results of changing something, hence no need to 
reload. If saved, it will run that same config the next time its ran.  

And thanks for mentioning it Andy, I wasn't aware of its existence till 
now.

And  finally, I've seen Ray Henry's name on some code. I've been to Ray's 
place, on a lake just north over the border between MI and WI, a great 
place, and he can do a mean pork chop on a grill about 20 feet from the 
water. Nice people. I also visited his shop near Armstrong WI, and came 
away with an E350 van full of butternut that was "just underfoot" at his 
shop. Still have some, made panels for my kitchen cabinets out of some 
of it.  Purty stuff.

>   On 2 November 2017 at 13:04, andy pugh  wrote:
> >>  You can already do this inside Axis.
> >
> >And, apparently, GScreen an GMoccaPy.
> >https://github.com/LinuxCNC/linuxcnc/search?l=Python=emccalib=
> >=%E2%9C%93
> >
> >--
> >atp
> >"A motorcycle is a bicycle with a pandemonium attachment and is
> >designed for the especial use of mechanical geniuses, daredevils and
> >lunatics."
> >— George Fitch, Atlanta Constitution Newspaper, 1916
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Jon Elson

On 11/02/2017 07:42 AM, Marius Liebenberg wrote:
I do a lot of upgrades to Chinese routers from their 
controller to Mach3. I have been using an Atom type mother 
board for the last five years together with a detuned 
Windows XP installation. It is always a parallel port 
driver installation.
I am finding it more and more difficult to get 
motherboards that will support XP and today my supplier 
warned me that the motherboards of the future will not 
install XP at all.


The reason that I install Mach3 with a parallel breakout 
is purely because it is so easy to do and my customers do 
not need to learn linux.
Now I am thinking that the time has maybe come to do a 
Mach replacement controller that will be just as easy but 
running linuxcnc. If I use Gmoccapy for instance and add a 
page or two that can edit a configuration similar to what 
one does in Mach, then there might be less resistance to 
using linuxcnc.


So I would imagine that there will be a matrix of pins and 
signals that could be configured from within the gui and a 
standard INI file with parameters for calibration of motor 
parameters and others.


Will it be possible to reload or restart linuxcnc from 
inside the gui and more so, what do the gurus think of 
such and idea? Is it at all feasible?



Why do you want to restart Linuxcnc from within its own 
GUI?  Seems like you should be able to set up the 
configuration once and then just keep using the same setup, 
possibly with editing the resolution, axis limits and such.  
For software generated steps, there is a setup wizard that 
handles that.  It is not run from within LinuxCNC, but is an 
external program that writes the configs file set.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
Ah well that would be just what is needed. I will look into the 
possibility to do a Mach replacement system then.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" 
Cc: "EMC developers" 
Sent: 2017-11-02 15:21:50
Subject: Re: Re[2]: [Emc-developers] INI edit from inside gui

On 2 November 2017 at 13:12, Marius Liebenberg  
wrote:
 I am aware of those functions. It is no problem to read and write the 
INI file from within the GUI but getting the parameters to reload.


You don't need to reload them. emccalib does two things, it changes the 
settings on the live system with "setp" and also writes to the INI for 
the next time the system is loaded.


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is 
designed for the especial use of mechanical geniuses, daredevils and 
lunatics."

— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread andy pugh
On 2 November 2017 at 13:12, Marius Liebenberg 
wrote:

>  I am aware of those functions. It is no problem to read and write the INI
> file from within the GUI but getting the parameters to reload.
>

You don't need to reload them. emccalib does two things, it changes the
settings on the live system with "setp" and also writes to the INI for the
next time the system is loaded.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
 I am aware of those functions. It is no problem to read and write the 
INI file from within the GUI but getting the parameters to reload. I 
will look at those procedures to see how it is done.


 On 2 November 2017 at 13:04, andy pugh  wrote:



 You can already do this inside Axis.


And, apparently, GScreen an GMoccaPy.
https://github.com/LinuxCNC/linuxcnc/search?l=Python=emccalib==%E2%9C%93

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread andy pugh
On 2 November 2017 at 13:04, andy pugh  wrote:

> You can already do this inside Axis.

And, apparently, GScreen an GMoccaPy.
https://github.com/LinuxCNC/linuxcnc/search?l=Python=emccalib==%E2%9C%93

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread andy pugh
On 2 November 2017 at 12:42, Marius Liebenberg  wrote:

> So I would imagine that there will be a matrix of pins and signals that
> could be configured from within the gui and a standard INI file with
> parameters for calibration of motor parameters and others.

You can already do this inside Axis.

It is not well documented, there is a mention of the "Calibration"
menu item under "Machine" and the 2.8 docs meantion that it uses
"emccalib.tcl"
But that's all that you get.

https://github.com/LinuxCNC/linuxcnc/blob/master/tcl/bin/emccalib.tcl

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread sam sokolik
There is already an example of this in the 'machine calibration' gui 
within axis.  It is used primarily for PID tuning.  It then allows you 
to save the parameters back to the ini.


sam

On 11/2/2017 7:42 AM, Marius Liebenberg wrote:
I do a lot of upgrades to Chinese routers from their controller to 
Mach3. I have been using an Atom type mother board for the last five 
years together with a detuned Windows XP installation. It is always a 
parallel port driver installation.
I am finding it more and more difficult to get motherboards that will 
support XP and today my supplier warned me that the motherboards of 
the future will not install XP at all.


The reason that I install Mach3 with a parallel breakout is purely 
because it is so easy to do and my customers do not need to learn linux.
Now I am thinking that the time has maybe come to do a Mach 
replacement controller that will be just as easy but running linuxcnc. 
If I use Gmoccapy for instance and add a page or two that can edit a 
configuration similar to what one does in Mach, then there might be 
less resistance to using linuxcnc.


So I would imagine that there will be a matrix of pins and signals 
that could be configured from within the gui and a standard INI file 
with parameters for calibration of motor parameters and others.


Will it be possible to reload or restart linuxcnc from inside the gui 
and more so, what do the gurus think of such and idea? Is it at all 
feasible?



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
I do a lot of upgrades to Chinese routers from their controller to 
Mach3. I have been using an Atom type mother board for the last five 
years together with a detuned Windows XP installation. It is always a 
parallel port driver installation.
I am finding it more and more difficult to get motherboards that will 
support XP and today my supplier warned me that the motherboards of the 
future will not install XP at all.


The reason that I install Mach3 with a parallel breakout is purely 
because it is so easy to do and my customers do not need to learn linux.
Now I am thinking that the time has maybe come to do a Mach replacement 
controller that will be just as easy but running linuxcnc. If I use 
Gmoccapy for instance and add a page or two that can edit a 
configuration similar to what one does in Mach, then there might be less 
resistance to using linuxcnc.


So I would imagine that there will be a matrix of pins and signals that 
could be configured from within the gui and a standard INI file with 
parameters for calibration of motor parameters and others.


Will it be possible to reload or restart linuxcnc from inside the gui 
and more so, what do the gurus think of such and idea? Is it at all 
feasible?



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers