NGCGUI install HOW-TO?

More
01 Aug 2015 15:58 #61092 by Transistor
I've been using LinuxCNC occasionally for several years and stumbled across a Youtube video showing features of NGCGUI - How to make a motor mount . It looks great.

I've upgraded to 2.6 but it isn't included. I've read on this forum www.linuxcnc.org/index.php/english/forum...ay-to-install-ngcgui but it doesn't give specific instructions.

Anyone got a HOW-TO?

Thanks.

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

More
01 Aug 2015 17:26 - 01 Aug 2015 17:27 #61095 by Rick G
Last edit: 01 Aug 2015 17:27 by Rick G.

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

More
01 Aug 2015 23:25 #61105 by BigJohnT
Replied by BigJohnT on topic NGCGUI install HOW-TO?

I've upgraded to 2.6 but it isn't included.


The manual is always the best place to start. Ngcgui is part of 2.6 and only needs some additional lines in your ini file to turn it on.

linuxcnc.org/docs/html/gui/ngcgui.html

JT

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

More
02 Aug 2015 19:20 #61121 by Transistor
Replied by Transistor on topic NGCGUI install HOW-TO?
Thanks, guys. It crashes out on start with an error (see below) when I use all four of the [Display] ini settings below. If I comment out the TTT configurations Axis will start but no sign of NGCGUI.
TKPKG = Ngcgui 1.0
TKPKG = Ngcguittt 1.0
#TTT = truetype-tracer
#TTT_PREAMBLE = in_std.ngc

Any ideas?

ini file contents
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 4
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/cnc1/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
# NCGGUI added by transistor
#- the NGCGUI package
TKPKG = Ngcgui 1.0
#- the True Type Tracer package for generating text for engraving (optional, must follow TKPKG = Ngcgui).
TKPKG = Ngcguittt 1.0
# - name of the truetype tracer program (it must be in user PATH)
TTT = truetype-tracer
# - Optional, specifies filename for preamble used for ttt created subfiles. (alternate: mm_std.ngc)
TTT_PREAMBLE = in_std.ngc

LinuxCNC 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.8
Machine configuration directory is '/home/cnc1/linuxcnc/configs/ia-mill-linuxcnc'
Machine configuration file is 'ia-mill-linuxcnc.ini'
INIFILE=/home/cnc1/linuxcnc/configs/ia-mill-linuxcnc/ia-mill-linuxcnc.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=3066
Killing task milltask, PID=3116
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Traceback (most recent call last):
  File "/usr/bin/axis", line 3323, in <module>
    root_window.tk.call("package","require",*pkg)
_tkinter.TclError: can't read "::ngc(any,color,prompt)": no such element in array
3066
  PID TTY      STAT   TIME COMMAND
3116
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[10672.361125] I-pipe: Domain RTAI registered.
[10672.361138] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[10672.361142] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[10672.361151] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[10672.361154] PIPELINE layers:
[10672.361159] f0c9ae20 9ac15d93 RTAI 200
[10672.361162] c085cb20 0 Linux 100
[10672.397230] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[10672.397473] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[10672.397482] RTAI[sched]: hard timer type/freq = APIC/8305580(Hz); default timing: periodic; linear timed lists.
[10672.397487] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2392151000 hz.
[10672.397490] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[10672.397699] RTAI[usi]: enabled.
[10672.539980] RTAI[math]: loaded.
[10672.654018] config string '0x378 out  '
[10672.668751] creating ladder-state
[10678.107539] RTAI[math]: unloaded.
[10678.212764] SCHED releases registered named ALIEN RTGLBH
[10678.229702] RTAI[malloc]: unloaded.
[10678.328021] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[10678.334120] I-pipe: Domain RTAI unregistered.
[10678.334136] RTAI[hal]: unmounted.


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

More
02 Aug 2015 19:36 #61122 by BigJohnT
Replied by BigJohnT on topic NGCGUI install HOW-TO?
I don't see a subroutine file in your ini. I doubt that ngcgui will show up without at least one subroutine defined. Read the manual again about TTT = truetype-tracer - name of the truetype tracer program (it must be in user PATH) .

JT

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

More
03 Aug 2015 06:14 #61132 by Transistor
Replied by Transistor on topic NGCGUI install HOW-TO?
Thanks, JT. I'm starting to make some progress. Now to understand it!
I'll try to create a summary HOW-TO here when I'm finished.

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

More
03 Aug 2015 06:27 #61133 by BigJohnT
Replied by BigJohnT on topic NGCGUI install HOW-TO?
Great!

If you have some suggestions or clarification for the Manual I'm your guy to get that added/changed.

JT

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

More
14 Apr 2016 16:46 - 14 Apr 2016 16:46 #73316 by cncnoob1979
Replied by cncnoob1979 on topic NGCGUI install HOW-TO?
Transistor,

The video you are referring to shows "Linuxcnc-Features" forum.linuxcnc.org/forum/40-subroutines-...res-a-kind-of-ngcgui

It is stand alone from NGCGUI. Completely a separate program and installation.

It is located in this forum linked above. FernV is maintaing it.
Last edit: 14 Apr 2016 16:46 by cncnoob1979.

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

More
15 Apr 2016 10:30 #73340 by andypugh
Replied by andypugh on topic NGCGUI install HOW-TO?

It is located in this forum linked above. FernV is maintaing it.


It is now included in an experimental branch of LinuxCNC, though I am not sure how to get it.

We probably need to decide on where to merge it to.

github.com/LinuxCNC/linuxcnc/tree/featur...m/axis/features_demo

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

Time to create page: 0.073 seconds
Powered by Kunena Forum