- Posts: 15
- Thank you received: 2
Gmoccapy - A new screen for linuxcnc
- svenakela
- Offline
- New Member
-
Less
More
13 years 1 month ago - 13 years 1 month ago #38646
by svenakela
Replied by svenakela on topic Gmoccapy - A new screen for linuxcnc
Ok, thanks.
Seems that 2.6 might be released in a not-so-very-far future anyway.
Seems that 2.6 might be released in a not-so-very-far future anyway.
Last edit: 13 years 1 month ago by svenakela.
- jj89074
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
13 years 1 month ago #38709
by jj89074
Replied by jj89074 on topic Gmoccapy - A new screen for linuxcnc
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
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
- jj89074
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
13 years 1 month ago #38718
by jj89074
Replied by jj89074 on topic Gmoccapy - A new screen for linuxcnc
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]:
.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.
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]:
.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.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
13 years 1 month ago #38719
by andypugh
I can see why that would be the case. Is there an equivalent gmoccaypy hal pin to use?
Replied by andypugh on topic Gmoccapy - A new screen for linuxcnc
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?
- jj89074
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
13 years 1 month ago #38720
by jj89074
Replied by jj89074 on topic Gmoccapy - A new screen for linuxcnc
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.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 1 month ago - 13 years 1 month ago #38722
by cmorley
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
Replied by cmorley on topic Gmoccapy - A new screen for linuxcnc
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
Last edit: 13 years 1 month ago by cmorley.
Moderators: newbynobi, HansU
Time to create page: 1.076 seconds