- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Hello, I hope there are no issues with my poor English. I've tried several things to get the macros to work. Now, I need help from professionals. Currently, it looks like this
My system: Debian 10 Buster
LinuxCNC: 2.8.2.11
in directory: /home/aalozo/linuxcnc/configs/ALPCNC
custompanel.xml, ALPCNC.hal, postgui_call_list.hal, pyvcp_options.hal, custom.hal, custom_postgui.hal, tool.tbl, linuxcnc.var, custompanel_backup.xml, lathehandler.pyc, custom.clp, tool.tbl.bak, chamfer.ngc boring.ngc, facing.ngc, lathehandler.py, lathemacro.ini lathemacro.ui, LICENSE, lathe_macros.ini, radius.ngc, README, threading.ngc, turning.ngc, linuxcnc.var.bak, ALPCNC.ini, LatheMacro.svg savestate.sav
_____________________________________________
ALPCNC.ini :
[EMC] MACHINE = ALPCNC
DEBUG = 0
VERSION = 1.1
[DISPLAY] EMBED_TAB_NAME = Macro
EMBED_TAB_COMMAND = halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64 GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 1.00
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 10.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/aalozo/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
PYVCP = custompanel.xml
LATHE = 1
[KINS] JOINTS = 2 KINEMATICS = trivkins coordinates=XZ [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image PROGRAM_EXTENSION = .py Python Script PROGRAM_EXTENSION = .nc,.tap G-Code File png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python [TASK] TASK = milltask CYCLE_TIME = 0.010 [RS274NGC] PARAMETER_FILE = linuxcnc.var SUBROUTINE_PATH = makros:./ [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 100000 SERVO_PERIOD = 1000000 [HAL] HALUI = halui HALFILE = ALPCNC.hal HALFILE = custom.hal POSTGUI_HALFILE = postgui_call_list.hal #POSTGUI_HALFILE = lathemacro_postgui.hal [HALUI] # HalUI-MDI-Befehle hier einfügen (max. 64) [TRAJ] COORDINATES = X Z LINEAR_UNITS = mm ANGULAR_UNITS = degree DEFAULT_LINEAR_VELOCITY = 1.00 MAX_LINEAR_VELOCITY = 10.00 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = tool.tbl [AXIS_X] MAX_VELOCITY = 8.5 MAX_ACCELERATION = 50.0 MIN_LIMIT = 0.0 MAX_LIMIT = 125.0 [JOINT_0] TYPE = LINEAR HOME = 1.0 MIN_LIMIT = 0.0 MAX_LIMIT = 125.0 MAX_VELOCITY = 8.5 MAX_ACCELERATION = 50.0 STEPGEN_MAXACCEL = 62.5 SCALE = 400.0 FERROR = 1 MIN_FERROR = .25 HOME_OFFSET = 71.000000 HOME_SEARCH_VEL = 8.000000 HOME_LATCH_VEL = 1.250000 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 1 [AXIS_Z] MAX_VELOCITY = 10.0 MAX_ACCELERATION = 50.0 MIN_LIMIT = -0.001 MAX_LIMIT = 290.0 [JOINT_1] TYPE = LINEAR HOME = 0.0 MIN_LIMIT = -0.001 MAX_LIMIT = 290.0 MAX_VELOCITY = 10.0 MAX_ACCELERATION = 50.0 STEPGEN_MAXACCEL = 62.5 SCALE = 800.0 FERROR = 1 MIN_FERROR = .25 HOME_OFFSET = 290.000000 HOME_SEARCH_VEL = 5.500000 HOME_LATCH_VEL = 0.625000 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 2
get this error message:
/usr/bin/gladevcp:191: GtkWarning: Attempting to add a widget with type GtkImage to a Gtkbutton, but as a GtkBin subclass a GtkButton can only contain one Widget at a time ; it already contains a widget of type GtkLabel
gladevcp:.... draw_box_gap: assertion 'height >= -1' failed.
And then the play button is missing in the graphic
Please help me
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
print event.message_type,event.data
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(event.message_type,event.data)?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.