Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Marius Liebenberg
I decide to take Seb's advice and use gs2_vfd but it comes with its own issues. I made a copy of the code and renamed it to invt_vfd.c . Then I duplicated the entries in the Submakefile in the src/hal/user_comps/ directory. I searched all the other makefiles but found no reference to the

Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Marius Liebenberg
Make files are not for the meek :) Thanks Dewey, works like a charm. Example: $ cd src/hal/user_comps $ cp gs2_vfd.c mod_gs2_vfd.c $ vi Submakefile $ # after edits: $ git diff diff --git a/src/hal/user_comps/Submakefile b/src/hal/user_comps/Submakefile index fb763e6..274970b 100644 ---

Re: [Emc-developers] How to kill halrun

2015-04-30 Thread Sebastian Kuzminsky
On 4/30/15 11:22 AM, Marius Liebenberg wrote: I am using halrun to to test my version of gs2_vfd. If I break out of the code with crtlZ it leaves halrun still loaded but I am not in the halrun shell anymore. I can see the halrun pid and my code pid but I cannot seem to kill them in any way.

Re: [Emc-developers] How to kill halrun

2015-04-30 Thread John Kasunich
I'm not at a linux box at the moment. But I believe halcmd has a command line option that shuts down the realtime system, for cases like this (for example if something crashes and leaves kernel modules installed, etc). Check the halcmd man page. I think the option might be -r On Thu, Apr 30,

Re: [Emc-developers] How to kill halrun

2015-04-30 Thread andy pugh
On 30 April 2015 at 18:22, Marius Liebenberg mar...@mastercut.co.za wrote: Is there a better way to kill halrun without rebooting all the time? halrun -U It sometimes even works. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

[Emc-developers] How to kill halrun

2015-04-30 Thread Marius Liebenberg
I am using halrun to to test my version of gs2_vfd. If I break out of the code with crtlZ it leaves halrun still loaded but I am not in the halrun shell anymore. I can see the halrun pid and my code pid but I cannot seem to kill them in any way. I use sudo kill 9 pid. Is there a better way to

Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread EBo
And it looks like: the meek will inherit the [build system]... Sorry, I could not resist. EBo -- On Apr 30 2015 10:49 AM, Marius Liebenberg wrote: Make files are not for the meek :) Thanks Dewey, works like a charm. Example: $ cd src/hal/user_comps $ cp gs2_vfd.c mod_gs2_vfd.c $ vi

Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Sebastian Kuzminsky
On 4/30/15 10:49 AM, Marius Liebenberg wrote: Make files are not for the meek :) Thanks Dewey, works like a charm. Example: $ cd src/hal/user_comps $ cp gs2_vfd.c mod_gs2_vfd.c $ vi Submakefile $ # after edits: $ git diff diff --git a/src/hal/user_comps/Submakefile

Re: [Emc-developers] How to kill halrun

2015-04-30 Thread Sebastian Kuzminsky
On 4/30/15 2:26 PM, Marius Liebenberg wrote: On 4/30/15 11:22 AM, Marius Liebenberg wrote: I am using halrun to to test my version of gs2_vfd. If I break out of the code with crtlZ it leaves halrun still loaded but I am not in the halrun shell anymore. I can see the halrun pid and my code pid

Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Dewey Garrett
Example: $ cd src/hal/user_comps $ cp gs2_vfd.c mod_gs2_vfd.c $ vi Submakefile $ # after edits: $ git diff diff --git a/src/hal/user_comps/Submakefile b/src/hal/user_comps/Submakefile index fb763e6..274970b 100644 --- a/src/hal/user_comps/Submakefile +++ b/src/hal/user_comps/Submakefile @@ -10,6