Re: [Emc-users] Touch screen interface.
Well that was a long journey down a rabbit hole. I can totally understand why a number of people on a local metal working group rave about ACORN CNC. Trying to get gmoccapy to be functional was a huge headache. This document reads more like a dictionary or a encyclopedia rather than a getting started. The youtube videos assume everything works including the keyboard. Hmm. Doesn't show up The gmoccapy has the word 'keyboard' in the document. "It has support for integrated virtual keyboard (onboard or matchbox-keyboard)" but doesn't say how to get it. After many google searches with the search terms including 'keyboard' I finally found a link that explained how to get a keyboard. "sudo apt install matchbox-keyboard" and "sudo apt install onboard" work. Trouble is, my fingers are way too big for the 10.1" 1280x800 screen buttons. Even my cellphone has bigger buttons but only just. Adjusting say jog speed isn't done by dragging a slider but a large bar takes up a lot of screen space and the two tiny increment/decrement arrows are almost invisible. Where AXIS is somewhat intuitive this one makes no sense to me.Want to look graphically at a g-code file? First Power ON has to be green. Then you have to go through and make all the axis homed so the DRO values are green instead of red. Finally the MDI and Program buttons are enabled and then at the bottom left is the open file button that brings up what appears to be an unchangeable presentation of the files. Would look better if all the .ngc files were restricted to two letter file names. So for me gmoccapy gets tossed into the trash bin. Maybe it should be called gmocrappy. Sorry. I get frustrated when I waste this many hours trying to get something working. John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
Unplugged the 7i92 and counted to 10. Plugged it in and counted to 10 and then ran the same PNCconf generated gmoccapy version. Screen shot shows it's running. Now to find out what's different between the HAL and INI files on mine. Although the first question which is not intuitively obvious is how to load a G-Code program. Guess I have to read the instructions. At least this will give me an opportunity to become familiar with the gmoccapy interface. Does appear to be very extensicve. John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
I ran PNCconf for a new configuration this time specifying gmoccapy still using the 7i92 as the Ethernet link. For some reason it fails to talk to the 7i92 but what's interesting is it generated the need for EMBED_TAB and the COMMAND. DISPLAY = gmoccapy EMBED_TAB_NAME = Center_panel EMBED_TAB_LOCATION = ntb_preview EMBED_TAB_COMMAND = gladevcp -c gladevcp -H gvcp_call_list.hal -x {XID} gvcp-panel.ui POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL Mine doesn't have that. [DISPLAY] # DISPLAY = axis DISPLAY = gmoccapy POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL And the gvcp_call_list.hal has an include for gvcp_options.hal which has # Setup of spindle speed display using gladevcp net spindle-fb-rpm-abs-filtered => gladevcp.spindle-speed net spindle-at-speed=>gladevcp.spindle-at-speed-led # Setup GLADE MDI buttons net machine-is-on =>gladevcp.button-box-active I'm guessing at this point that changing user interface isn't as easy as just switching which screen set. Instead it looks like I have to start over to first get something that actually launches more than just the Spindle Speed window which then vanishes and is replaced with the error list. John > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: September 20, 2023 5:22 PM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Touch screen interface. > > Stated in that report file is 2.8.4. > > > > -Original Message- > > From: andy pugh [mailto:bodge...@gmail.com] > > Sent: September 20, 2023 5:11 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Touch screen interface. > > > > On Thu, 21 Sept 2023 at 01:07, John Dammeyer > > wrote: > > > > > The original ERROR is also still there. > > > > Which LinuxCNC version? > > > > > > -- > > 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 > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
Stated in that report file is 2.8.4. > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: September 20, 2023 5:11 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Touch screen interface. > > On Thu, 21 Sept 2023 at 01:07, John Dammeyer > wrote: > > > The original ERROR is also still there. > > Which LinuxCNC version? > > > -- > 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 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
On Thu, 21 Sept 2023 at 01:07, John Dammeyer wrote: > The original ERROR is also still there. Which LinuxCNC version? -- 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
Re: [Emc-users] Touch screen interface.
Hi Andy, My search of the cache returned this. pi@linuxcnc:~ $ sudo apt-cache search python-gst python-gst-1.0 - GStreamer GObject Introspection overrides for Python python-gst-1.0-dbg - GStreamer GObject Introspection overrides for Python (debug extensions) pi@linuxcnc:~ $ Trying it anyway shows it's already there. pi@linuxcnc:~ $ sudo apt-get install python-gst-1.0 Reading package lists... Done Building dependency tree Reading state information... Done python-gst-1.0 is already the newest version (1.14.4-1). python-gst-1.0 set to manually installed. The following packages were automatically installed and are no longer required: libpipewire-0.2-1 lxplug-volume xdg-desktop-portal xdg-desktop-portal-gtk Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. The original ERROR is also still there. I tried commenting out: PYVCP = pyvcp-panel.xml But that didn't work either. I've attached the ini file. Perhaps you can spot something in there that is causing this. Odd too since the documentation page for gmoccapy states that Rev 2.8 has everything installed automatically for this. So something I added for AXIS must be screwing this up. Thanks John > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: September 20, 2023 4:36 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Touch screen interface. > > On Wed, 20 Sept 2023 at 23:36, John Dammeyer > wrote: > > > E: Unable to locate package python-gst > > Maybe python3-gst ? > > sudo apt-cache search python-gst > > Gives python-gst-1.0 > > So you could try that too. > > -- > 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 G3616-Pi4.ini Description: Binary data ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
On Wed, 20 Sept 2023 at 23:36, John Dammeyer wrote: > E: Unable to locate package python-gst Maybe python3-gst ? sudo apt-cache search python-gst Gives python-gst-1.0 So you could try that too. -- 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
Re: [Emc-users] Touch screen interface.
So this didn't work after an sudo apt-get update. pi@linuxcnc:~ $ sudo apt-get install python-gst Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-gst > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: September 20, 2023 1:50 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Touch screen interface. > > On Wed, 20 Sept 2023 at 06:47, John Dammeyer > wrote: > > > PYGST libray not installed? > > is python-gstX.XX installed? > > > Not sure how to solve the above error. > > Install python-gst, either with the synaptic package manager, or sudo > apt-get install python-gst > > > Pin 'pyvcp.spindle-speed' does not exist > > This will just be because the GUI did not load due to the first error. > > -- > 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 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
And this on the Pi4 LinuxCNC system pi@linuxcnc:~ $ dpkg -l | grep gstream* ii gir1.2-gstreamer-1.0:armhf 1.14.4-1 armhfGObject introspection data for the GStreamer library ii gstreamer1.0-alsa:armhf 1.14.4-2+deb10u2 armhfGStreamer plugin for ALSA ii gstreamer1.0-libav:armhf 1.15.0.1+git20180723+db823502-2+deb10u1 armhflibav plugin for GStreamer ii gstreamer1.0-omx 1.14.4-1+rpt1 armhfGStreamer OpenMAX plugins ii gstreamer1.0-omx-rpi 1.14.4-1+rpt1 armhfOpenMax plugins for GStreamer ii gstreamer1.0-omx-rpi-config 1.14.4-1+rpt1 armhfOpenMax plugins for GStreamer ii gstreamer1.0-plugins-bad:armhf 1.14.4-1+rvt+deb10u3 armhfGStreamer plugins from the "bad" set ii gstreamer1.0-plugins-base:armhf 1.14.4-2+deb10u2 armhfGStreamer plugins from the "base" set ii gstreamer1.0-plugins-good:armhf 1.14.4-1+rpt1+deb10u3 armhfGStreamer plugins from the "good" set ii gstreamer1.0-tools 1.14.4-1 armhfTools for use with GStreamer ii gstreamer1.0-x:armhf 1.14.4-2+deb10u2 armhfGStreamer plugins for X11 and Pango ii libgstreamer-gl1.0-0:armhf 1.14.4-2+deb10u2 armhfGStreamer GL libraries ii libgstreamer-plugins-bad1.0-0:armhf 1.14.4-1+rvt+deb10u3 armhfGStreamer libraries from the "bad" set ii libgstreamer-plugins-base1.0-0:armhf 1.14.4-2+deb10u2 armhfGStreamer libraries from the "base" set ii libgstreamer1.0-0:armhf 1.14.4-1 armhfCore GStreamer libraries and elements pi@linuxcnc:~ $ > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: September 20, 2023 1:50 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Touch screen interface. > > On Wed, 20 Sept 2023 at 06:47, John Dammeyer > wrote: > > > PYGST libray not installed? > > is python-gstX.XX installed? > > > Not sure how to solve the above error. > > Install python-gst, either with the synaptic package manager, or sudo > apt-get install python-gst > > > Pin 'pyvcp.spindle-speed' does not exist > > This will just be because the GUI did not load due to the first error. > > -- > 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 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
On Wed, 20 Sept 2023 at 06:47, John Dammeyer wrote: > PYGST libray not installed? > is python-gstX.XX installed? > Not sure how to solve the above error. Install python-gst, either with the synaptic package manager, or sudo apt-get install python-gst > Pin 'pyvcp.spindle-speed' does not exist This will just be because the GUI did not load due to the first error. -- 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
Re: [Emc-users] Touch screen interface.
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 > 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/
Re: [Emc-users] Touch screen interface.
The Tormach touch screen interface looks pretty and works reasonably well. Many have converted their stuff to run on non-Tormach hardware. -Original Message- From: John Dammeyer Sent: Monday, September 18, 2023 1:59 PM To: 'Enhanced Machine Controller (EMC)' Subject: [Emc-users] Touch screen interface. I've accumulated this set of parts for a simple LinuxCNC system and have been developing my power drawbar etc. control via CAN bus using the CANUSB. I did a quick spreadsheet to figure out costs including the new touch screen. Qty Description US$ Cdn$ $Cdn Total - 1 Raspberry Pi4, Heatsink and AC adaptor 139 139 1 MESA 7I92TH 109 150 150 2 MACH3 CNC Interface Board 8 16 1 unFounder 10.1" HDMI 1280x800 LCD Touchscreen for Pi4 170 170 1 Logitech MK270 keyboard 4040 - SubTotal 515 1 CANUSB 110 154 154 = Total 669 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. Especially since I have some code written to create the panel for the mister PWM and two indicators for the draw bar position along with the serial port control of the CANUSB. Thanks John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touch screen interface.
On Mon, 18 Sept 2023 at 19:05, John Dammeyer 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
[Emc-users] Touch screen interface.
I've accumulated this set of parts for a simple LinuxCNC system and have been developing my power drawbar etc. control via CAN bus using the CANUSB. I did a quick spreadsheet to figure out costs including the new touch screen. Qty Description US$ Cdn$ $Cdn Total - 1 Raspberry Pi4, Heatsink and AC adaptor 139 139 1 MESA 7I92TH 109 150 150 2 MACH3 CNC Interface Board 8 16 1 unFounder 10.1" HDMI 1280x800 LCD Touchscreen for Pi4 170 170 1 Logitech MK270 keyboard 4040 - SubTotal 515 1 CANUSB 110 154 154 = Total 669 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. Especially since I have some code written to create the panel for the mister PWM and two indicators for the draw bar position along with the serial port control of the CANUSB. Thanks John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users