Gmoccapy - A new screen for linuxcnc

More
13 years 1 month ago #38637 by svenakela
Guys,

How production stable is Gmoccapy right now?
I am not there yet with my new VMC, at least a few more months, but I would like to use Gmpy on a router right now.

Is it master only or can it be patched to 2.5?

Please Log in to join the conversation.

More
13 years 1 month ago #38645 by newbynobi
gmoccapy will only work on master!

IMHO it is stable! At least I am uskng it on a lathe and my testmill and till now i didn't find any problem!

Well, I tried on a Athlon with 800 MHz and 512 MB ram, but that machine is to slow.

Norbert

Please Log in to join the conversation.

More
13 years 1 month ago #38646 by svenakela
Ok, thanks.
Seems that 2.6 might be released in a not-so-very-far future anyway. :)

Please Log in to join the conversation.

More
13 years 1 month ago #38709 by jj89074
Will someone please describe in detail how to update gmoccapy on my mill?

I am currently running on master with gmoccapy version 0.9.4. It's been a while since I updated the system and I can't remember the steps I took. My main configuration is in the config folder which is in the linuxcnc folder.

I did update the linuxcnc-dev folder by following the script on the gmoccapy wiki page.

I think in the past I copied files from that folder to the linuxcnc folder, but I can't remember. I'm new to Linux and a lot of the command line stuff is very foreign to me.

Thanks,

Jim

Please Log in to join the conversation.

More
13 years 1 month ago #38718 by jj89074
I tried running gmoccapy from the linuxcnc sim folder on a clean master install and got he following errors:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.6.0-pre0-4711-g0e4abe8
Machine configuration directory is '/home/megamill/linuxcnc/configs/sim/gmoccapy'
Machine configuration file is 'gmoccapy.ini'
INIFILE=/home/megamill/linuxcnc/configs/sim/gmoccapy/gmoccapy.ini
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=gscreen -c gmoccapy -d
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
io started
halcmd loadusr io started
Starting HAL User Interface program: halui
Starting TASK program: milltask
task pid=19363
Starting DISPLAY program: gscreen
emcTaskInit: using builtin interpreter
**** GSCREEN INFO: audio available!
**** GSCREEN INFO ini: /home/megamill/linuxcnc/configs/sim/gmoccapy/gmoccapy.ini
**** GSCREEN INFO: Skin name = gmoccapy

**** GSCREEN INFO: using STOCK glade file from: /usr/share/linuxcnc/gscreen2.glade ****

**** GSCREEN INFO: using STOCK glade file from: /usr/share/linuxcnc/gscreen2.glade ****
**** GSCREEN INFO: handler file path: []
**** GSCREEN INFO: Preference file path: ~/.gmoccapy_preferences
**** GSCREEN WARNING: could not connect button_tool_editor to on_button_tool_editor_clicked
toggle dro units 1 True
switch to mm
toolfile: /home/megamill/linuxcnc/configs/sim/gmoccapy/tool.tbl
off
timeout 50
**** GSCREEN INFO: postgui filename: gmoccapy_postgui.hal
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=19299
Killing task milltask, PID=19363
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
gmoccapy_postgui.hal:5: Pin 'gscreen.hal_hbar_spindle_feedback' does not exist
19299
PID TTY STAT TIME COMMAND
19363
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[23958.926640] I-pipe: Domain RTAI registered.
[23958.926645] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[23958.926647] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[23958.926676] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[23958.926677] PIPELINE layers:
[23958.926679] f95cfe20 9ac15d93 RTAI 200
[23958.926681] c085cb20 0 Linux 100
[23958.938965] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[23958.939045] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[23958.939049] RTAI[sched]: hard timer type/freq = APIC/6235800(Hz); default timing: periodic; linear timed lists.
[23958.939052] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2494814000 hz.
[23958.939054] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[23958.939104] RTAI[usi]: enabled.
[23958.965332] RTAI[math]: loaded.
[23962.190474] RTAI[math]: unloaded.
[23962.211726] SCHED releases registered named ALIEN RTGLBH
[23962.241952] RTAI[malloc]: unloaded.
[23962.341697] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[23962.343336] I-pipe: Domain RTAI unregistered.
[23962.343377] RTAI[hal]: unmounted.

Running Gscreen from the same sim folder did not cause any errors.

Please Log in to join the conversation.

More
13 years 1 month ago #38719 by andypugh

jj89074 wrote: gmoccapy_postgui.hal:5: Pin 'gscreen.hal_hbar_spindle_feedback' does not exist


I can see why that would be the case. Is there an equivalent gmoccaypy hal pin to use?

Please Log in to join the conversation.

More
13 years 1 month ago #38720 by jj89074
I guess what I am saying is there should not be any errors running either from the sim folder. I did not edit any files and this was on a clean install.

Please Log in to join the conversation.

More
13 years 1 month ago #38722 by cmorley

jj89074 wrote: I tried running gmoccapy from the linuxcnc sim folder on a clean master install and got he following errors:



**** GSCREEN INFO: using STOCK glade file from: /usr/share/linuxcnc/gscreen2.glade ****

**** GSCREEN INFO: using STOCK glade file from: /usr/share/linuxcnc/gscreen2.glade ****


Running Gscreen from the same sim folder did not cause any errors.


This says Gmoccapy didn't find the proper glade files (should be gmoccapy.glade)

and should have been in usr/share/gscreen/skins/gmoccapy

Can you check for such a folder / file please.

Chris M

Please Log in to join the conversation.

More
13 years 1 month ago #38723 by jj89074
I do not have that folder. The only folder under usr/share/gscreen is images and there are eight gif files there.

Please Log in to join the conversation.

More
13 years 1 month ago #38724 by cmorley
Ok thanks you.

This is an installed version not a run-in-place version I assume.

If yes then we have to fix the install process - there are missing folders/files.

That may take a few days. Sorry

Chris M

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum