NGCGUI not working after emc2 update
The following is a copy of the present ini file...
Thanks for your input John
# Generated by stepconf at Sat Mar 12 02:32:11 2011
# Changes to this file WILL BE
# overwritten when you run stepconf again
[EMC]
MACHINE = router
DEBUG = 0
###############################################################################
# DISPLAY OPTIONS SECTION
###############################################################################
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 2
PROGRAM_PREFIX = /home/mike/emc2/configs/router
PROGRAM_PREFIX = /home/mike/emc2/testsuite2.5
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PYVCP = custompanel.xml
#EMBED_TAB_NAME = CAM_View
#EMBED_TAB_COMMAND = camview-emc -C camviewcfg -g togle.ui -H campins.hal -w {XID}
#EMBED_TAB_NAME = Camera
#EMBED_TAB_COMMAND = camview-emc -w {XID}
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
#######################################
# NGCGUI ADDON
#######################################
TKAPP = /home/mike/emc2/ngcgui_app.tcl
TKAPP = /home/mike/emc2/ngcgui_ttt.tcl
TKAPP = /home/mike/emc2/testsuite2.5/calc.tcl
NGCGUI = /home/mike/emc2/ngcgui.tcl
NGCGUI_FONT = Helvetica -10 bold
NGCGUI_PREAMBLE = /home/mike/emc2/testsuite2.5/utilitysubs/in_std.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/xyz.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/iquad.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/ihex.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/ohex.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/gosper.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/hw.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/hole_circle.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/slot.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/simp.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/millmultiple.ngc
NGCGUI_SUBFILE = /home/mike/emc2/testsuite2.5/501.ngc
TTT = /usr/bin/truetype-tracer
###############################################################################
# TASK CONTROLLER SECTION
###############################################################################
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
###############################################################################
# PART PROGRAM INTERPRETER SECTION
###############################################################################
[RS274NGC]
PARAMETER_FILE = emc.var
#PARAMETER_FILE = ngcgui.var
SUBROUTINE_PATH = /home/mike/emc2/testsuite2.5:/home/mike/emc2/testsuite2.5/utilitysubs
USER_M_PATH = /home/mike/emc2/testsuite2.5/mfiles
###############################################################################
# MOTION CONTROL SECTION
###############################################################################
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
###############################################################################
# HARDWARE ABSTRACTION LAYER SECTION
###############################################################################
[HAL]
HALUI = halui
HALFILE = router.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
[HALUI]
# add halui MDI commands here (max 64)
# AUTO-Z TOUCH OFF
MDI_COMMAND = G38.2 Z-2 F5
MDI_COMMAND = G10 L20 P1 Z0.095
MDI_COMMAND = G0 Z0.75
MDI_COMMAND = G92 x2 y-.75
# CAMERA
#MDI_COMMAND=o<_camon>call
#MDI_COMMAND=o<_camoff>call
#MDI_COMMAND=o<_camstore>call
#MDI_COMMAND=o<_camcenter3>call
#MDI_COMMAND=o<_camcenter4>call
###############################################################################
# TRAJECTORY PLANNER SECTION
###############################################################################
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 1.00
MAX_LINEAR_VELOCITY = 10.00
# POSITION_FILE = position.txt
###############################################################################
# MAIN IO CONTROLLER PARAMETER SECTION
###############################################################################
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
###############################################################################
# AXES SECTIONS
###############################################################################
[AXIS_0]
TYPE = LINEAR
HOME = 0.50
MAX_VELOCITY = 2.50
MAX_ACCELERATION = 20.0
STEPGEN_MAXACCEL = 25.0
SCALE = 888.875
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 96.0
HOME_OFFSET = -0.50
HOME_SEARCH_VEL = -0.50
HOME_LATCH_VEL = 0.562
HOME_FINAL_VEL = 1.00
HOME_SEQUENCE = 1
[AXIS_1]
TYPE = LINEAR
HOME = 0.50
MAX_VELOCITY = 2.50
MAX_ACCELERATION = 20.0
STEPGEN_MAXACCEL = 25.0
SCALE = 888.875
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 48.0
HOME_OFFSET = -0.50
HOME_SEARCH_VEL = -0.50
HOME_LATCH_VEL = -0.35
HOME_FINAL_VEL = 1.00
HOME_SEQUENCE = 2
[AXIS_2]
TYPE = LINEAR
HOME = -0.50
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXACCEL = 25.0
SCALE = 3980.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -6.125
MAX_LIMIT = 0.50
HOME_OFFSET = 0.50
HOME_SEARCH_VEL = 0.50
HOME_LATCH_VEL = 0.3125
HOME_SEQUENCE = 0
Please Log in or Create an account to join the conversation.
...
EMBED_TAB_NAME = term
EMBED_TAB_COMMAND = xterm -fa console-terminus -fs 8 -geo 120x24 -sb -into {XID} -hold -e date;echo;pwd;echo;ls;echo;bash
TKAPP = ./ngcgui_app.tcl
TKAPP = ./ngcgui_ttt.tcl
TKAPP = ./calc.tcl
NGCGUI = ./ngcgui.tcl
NGCGUI_FONT = Helvetica -12 normal
NGCGUI_PREAMBLE = /home/john/emc2/subroutines/std.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/face.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/od.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/id.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/part.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/drill.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/tap.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/th-od.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/taper-od.ngc
NGCGUI_SUBFILE = /home/john/emc2/subroutines/profilerad.ngc
NGCGUI_SUBFILE = ""
DISPLAY = axis
...
Oh, that line EMBED_TAB_COMMAND is one long line...
John
Please Log in or Create an account to join the conversation.
Thanks for posting your example....I originally followed instructions from another of your earlier posts and created a subroutine directory and placed the .ngc files within it...pointed the .ini to that subdirectory to no avail...That subdirectory still exists, I changed my ini to point to it again and edited the other appropriate files and copied the .tcl files to ~/emc2 as well as left them in the .configs subdirectory...This is still not seeing these files and subdirectories...I am stumped...Below is a copy of the pertinent Display section...
#######################################
# NGCGUI ADDON
#######################################
TKAPP = ./ngcgui_app.tcl
TKAPP = ./ngcgui_ttt.tcl
TKAPP = ./calc.tcl
NGCGUI = ./ngcgui.tcl
NGCGUI_FONT = Helvetica -10 bold
NGCGUI_PREAMBLE = /home/mike/emc2/subroutines/utilitysubs/in_std.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/xyz.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/iquad.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/ihex.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/ohex.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/gosper.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/hw.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/hole_circle.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/slot.ngc
NGCGUI_SUBFILE = /home/mike/emc2/subroutines/simp.ngc
NGCGUI_SUBFILE = /home/mike/emc2/configs/millmultiple.ngc
NGCGUI_SUBFILE = /home/mike/emc2/configs/501.ngc
TTT = /usr/bin/truetype-tracer
###############################################################################
# PART PROGRAM INTERPRETER SECTION
###############################################################################
[RS274NGC]
PARAMETER_FILE = emc.var
#PARAMETER_FILE = ngcgui.var
SUBROUTINE_PATH = /home/mike/emc2/subroutines:/home/mike/emc2/subroutines/utilitysubs
USER_M_PATH = /home/mike/emc2/subroutines/mfiles
Unfortunately, nothing I have tried, and I have tried everything I can think of for last two days seems to work...
Thanks again John
Mike
Please Log in or Create an account to join the conversation.
Oh I see you used synaptic...
If you comment out all the ngcgui parts does Axis load and show you 2.5 on the title bar?
John
Please Log in or Create an account to join the conversation.
How did you upgrade to 2.5?
Oh I see you used synaptic...
If you comment out all the ngcgui parts does Axis load and show you 2.5 on the title bar?
John
John,
Yes sir, it does show 2.5 on the title bar...
What are your thoughts?
Mike
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
I added the following from the 2.4 instructions:
USER_COMMAND_FILE = ./tkapp.py
No Joy....Axis did not break either...
Right now I am wondering if it might be better to un-install emc2 then reinstall...
Mike
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
copied .tkapp.py into the config directory....no joy again....I don't know if it is interesting or not, but nothing I have done has borked Axis...it just seems to always start...
Mike
Please Log in or Create an account to join the conversation.
Like
net my bad error that will never run
John
Please Log in or Create an account to join the conversation.