Doesn't look like it's going to be as easy as just DISPLAY=gmoccapy The page here gives a lot of information but I'm not clear on what I'm missing. https://linuxcnc.org/docs/html/gui/gmoccapy.html#_requirements
However I've not found a migration tutorial. The first try at this failed running on a Pi4 LinuxCNC with AXIS 2.8.4. Here's the first ERROR: --------------------------------------------------------------------------------------- ERROR, trying to initialize the user tabs or panels, check for typos ['notebook_mode', 'notebook_mode'] **** GMOCCAPY INFO **** **** no audio available! **** **** PYGST libray not installed? **** **** is python-gstX.XX installed? **** -------------------------------------------------------------------------------------- Not sure how to solve the above error. And a bit further down -------------------------------------------------------------------------------------- Debug file information: Note: Using POSIX realtime /usr/bin/gmoccapy:312: GtkWarning: Invalid icon size 48 self.widgets.window1.show() (gmoccapy:9059): GtkSourceView-CRITICAL **: 22:37:23.979: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed pyvcp_options.hal:7: Pin 'pyvcp.spindle-speed' does not exist 9010 9056 Stopping realtime threads Unloading hal components Note: Using POSIX realtime -------------------------------------------------------------------------------------- I've attached the report file. I'm guessing that the statement in my ini file PYVCP = pyvcp-panel.xml Is likely not legal for gmoccapy? > -----Original Message----- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: September 18, 2023 11:26 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Touch screen interface. > > On Mon, 18 Sept 2023 at 19:05, John Dammeyer <jo...@autoartisans.com> > wrote: > > > For the touch screen AXIS isn't really the best UI. I'm looking for > suggestions for a better one and how to incorporate it. > > Try them all? In many cases all you need to change is the DISPLAY = in the > INI. > > I use Touchy, which is a dedicated touch-screen interface. It doesn't > (by default) have a graphical preview, though. > > But Gmoccapy and a few others have been designed from the outset for > touchscreen operation. > > -- > 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, 1912 > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl: 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/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.8.4 Machine configuration directory is '/home/pi/linuxcnc/configs/G3616-Pi4' Machine configuration file is 'G3616-Pi4.ini' INIFILE=/home/pi/linuxcnc/configs/G3616-Pi4/G3616-Pi4.ini VERSION=1.1 PARAMETER_FILE=linuxcnc.var TASK=milltask HALUI=halui DISPLAY=gmoccapy COORDINATES=XYZA KINEMATICS=trivkins coordinates=XYZA Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui Found file(REL): ./G3616-Pi4.hal Found file(REL): ./custom.hal Starting TASK program: milltask Starting DISPLAY program: gmoccapy (0, ' = ', '/usr/bin/gmoccapy') (1, ' = ', '-ini') (2, ' = ', '/home/pi/linuxcnc/configs/G3616-Pi4/G3616-Pi4.ini') Entry = trivkins Entry = coordinates=XYZA found the following coordinates xyza **** GMOCCAPY GETINIINFO **** Number of joints = 4 4 COORDINATES found = xyza joint 0 = axis x joint 1 = axis y joint 2 = axis z joint 3 = axis a {0: 'x', 1: 'y', 2: 'z', 3: 'a'} **** GMOCCAPY GETINIINFO **** [KINS] KINESTYPE is trivkins **** GMOCCAPY GETINIINFO **** No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file Default settings 100 % applied! **** GMOCCAPY GETINIINFO **** Preference file path: /home/pi/linuxcnc/configs/G3616-Pi4/G3616-Pi4.pref **** GMOCCAPY GETINIINFO **** No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file **** GMOCCAPY INFO **** **** found valid probe config in INI File **** **** will use auto tool measurement **** **** GMOCCAPY INFO **** **** Entering make_DRO axis_list = ['x', 'y', 'z', 'a'] **** GMOCCAPY INFO **** **** Entering make ref axis button ('Filepath = ', '/usr/share/gmoccapy/images/ref_all.png') ('Filepath = ', '/usr/share/gmoccapy/images/ref_x.png') ('Filepath = ', '/usr/share/gmoccapy/images/ref_y.png') ('Filepath = ', '/usr/share/gmoccapy/images/ref_z.png') ('Filepath = ', '/usr/share/gmoccapy/images/ref_a.png') ('Filepath = ', '/usr/share/gmoccapy/images/unhome.png') **** GMOCCAPY INFO **** **** Entering make touch button **** GMOCCAPY INFO **** **** Entering make jog increments **** GMOCCAPY INFO **** **** Entering make jog button **** GMOCCAPY INFO **** **** Entering make macro button found 0 Macros **** GMOCCAPY INFO **** **** arrange DRO 4 **** GMOCCAPY INFO **** **** Place in table **** GMOCCAPY INFO **** **** get DRO order **** GMOCCAPY INFO **** **** arrange JOG button less than 6 axis ERROR, trying to initialize the user tabs or panels, check for typos ['notebook_mode', 'notebook_mode'] **** GMOCCAPY INFO **** **** no audio available! **** **** PYGST libray not installed? **** **** is python-gstX.XX installed? **** **** GMOCCAPY INFO **** **** Entering init gremlin **** Kinematics type changed ('_set_enable_tooltips = ', True) **** GMOCCAPY INFO **** **** No virtual keyboard installed, we checked for <onboard> and <matchbox-keyboard>. **** GMOCCAPY INFO: Gcode.lang found **** **** GMOCCAPY GETINIINFO **** Wrong entry [DISPLAY] CYCLE_TIME in INI File! Will use gmoccapy default 150 **** GMOCCAPY INFO : inifile = /home/pi/linuxcnc/configs/G3616-Pi4/G3616-Pi4.ini ****: **** GMOCCAPY INFO : postgui halfile = postgui_call_list.hal ****: Shutting down and cleaning up LinuxCNC... Running HAL shutdown script task: 592 cycles, min=0.000148, max=0.079834, avg=0.010187, 0 latency excursions (> 10x expected cycle time of 0.010000s) CANUSB: Flags = F00 CANUSB: Closing CANUSB hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:12:07:93 hm2_eth: discovered 7I92 hm2/hm2_7i92.0: Low Level init 0.15 hm2/hm2_7i92.0: 34 I/O Pins used: hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort hm2/hm2_7i92.0: IO Pin 001 (P2-14): StepGen #5, pin Step (Output) hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #0, pin Step (Output) hm2/hm2_7i92.0: IO Pin 003 (P2-15): IOPort hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #0, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 005 (P2-16): StepGen #5, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #1, pin Step (Output) hm2/hm2_7i92.0: IO Pin 007 (P2-17): StepGen #4, pin Step (Output) hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #1, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #2, pin Step (Output) hm2/hm2_7i92.0: IO Pin 010 (P2-07): StepGen #2, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 011 (P2-08): StepGen #3, pin Step (Output) hm2/hm2_7i92.0: IO Pin 012 (P2-09): StepGen #3, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 013 (P2-10): IOPort hm2/hm2_7i92.0: IO Pin 014 (P2-11): IOPort hm2/hm2_7i92.0: IO Pin 015 (P2-12): IOPort hm2/hm2_7i92.0: IO Pin 016 (P2-13): IOPort hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort hm2/hm2_7i92.0: IO Pin 019 (P1-02): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort hm2/hm2_7i92.0: IO Pin 021 (P1-03): IOPort hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort hm2/hm2_7i92.0: IO Pin 025 (P1-05): IOPort hm2/hm2_7i92.0: IO Pin 026 (P1-06): IOPort hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort hm2/hm2_7i92.0: IO Pin 031 (P1-11): IOPort hm2/hm2_7i92.0: IO Pin 032 (P1-12): IOPort hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort hm2/hm2_7i92.0: registered hm2_eth: in hm2_eth_reset hm2_eth: HostMot2 ethernet driver unloaded hm2: unloading Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime /usr/bin/gmoccapy:312: GtkWarning: Invalid icon size 48 self.widgets.window1.show() (gmoccapy:9059): GtkSourceView-CRITICAL **: 22:37:23.979: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed pyvcp_options.hal:7: Pin 'pyvcp.spindle-speed' does not exist 9010 9056 Stopping realtime threads Unloading hal components Note: Using POSIX realtime ----------------------------------------------------------------------- Info report created by linuxcnc_info: The file: /tmp/linuxcnc_info.txt can be posted to a forum or a web site like: http://pastebin.com in order to provide information about the linuxcnc system and configuration. Date: Mon 18 Sep 2023 10:37:48 PM PDT UTC Date: Tue 19 Sep 2023 05:37:48 AM UTC this program: /usr/bin/linuxcnc_info uptime: 22:37:48 up 1 day, 3:17, 2 users, load average: 2.52, 2.81, 2.76 lsb_release -sa: Raspbian Raspbian GNU/Linux 10 (buster) 10 buster which linuxcnc: /usr/bin/linuxcnc pwd: /home/pi/linuxcnc/configs/G3616-Pi4 USER: pi LOGNAME: pi HOME: /home/pi EDITOR: VISUAL: LANGUAGE: TERM: dumb COLORTERM: DISPLAY: :0.0 DESKTOP: LXDE-pi display size: 1920x1080 pixels (506x284 millimeters) PATH: /usr/bin:/home/pi/linuxcnc/configs/G3616-Pi4/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games uname items: nodename -n: linuxcnc kernel-name -s: Linux kernel-vers -v: #4 SMP PREEMPT RT Thu Apr 30 22:00:15 CDT 2020 machine -m: armv7l processor -p: unknown platform -i: unknown oper system -o: GNU/Linux /proc items: cmdline: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1280x800M@60 smsc95xx.macaddr=DC:A6:32:1E:30:F1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=f1b66b19-02 rootfstype=ext4 elevator=deadline fsck.repair=yes isolcpus=1,2,3 idle=poll rootwait quiet splash plymouth.ignore-serial-consoles model name: ARMv7 Processor rev 3 (v7l) cores: cpu MHz: parport: serial: Versions: gcc: gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 python: Python 2.7.16 git: git version 2.20.1 git commit: NA tcl: 8.6 tk: 8.6 glade: glade 3.22.1 glade-gtk2: not_in_PATH linuxcnc_var all: LINUXCNCVERSION: 2.8.4 LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples REALTIME: /etc/init.d/realtime RTS: uspace HALLIB_DIR: /usr/share/linuxcnc/hallib dpkg -l '*linuxcnc*': Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============-============-============-===================================================================== un linuxcnc <none> <none> (no description available) un linuxcnc-doc <none> <none> (no description available) ii linuxcnc-doc-en 1:2.8.4 all motion controller for CNC machines and robots (English documentation) un linuxcnc-sim <none> <none> (no description available) ii linuxcnc-uspace 1:2.8.4 armhf motion controller for CNC machines and robots
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users