NativeCam Embedded in Debian Buster 10 no luck
- skrap58
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 2
23 Jan 2021 11:31 #196326
by skrap58
NativeCam Embedded in Debian Buster 10 no luck was created by skrap58
Hello,
I have used the .iso to install linuxcnc 2.8 in Virtualbox and I have also install NativeCAM and can get it to run stand alone. I am having a hard time getting it embedded with a tab in Axis. I would like to be able to design projects in Nativecam on vbox and then take the projects to my machine to run. I have tried the following command in my ini;
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
with no luck. I have tried everything I could find in the forum and via search engines.
I have attached the terminal output and my .ini file.
Any help is always appreciated.
BIll
File Attachment:
File Name: terminalouput.txt
File Size:2 KB
File Attachment:
File Name: my-mill_20...1-22.ini
File Size:3 KB
Terminal output
wwp@wwp:~$ linuxcnc
LINUXCNC - 2.8.0
Machine configuration directory is '/home/wwp/linuxcnc/configs/NativeCAM-master/configs/sim/axis/ncam_demo.2.8'
Machine configuration file is 'mill.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 702: can't load tool table.
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
note: MAXV max: 1.500 units/sec 90.000 units/min
note: LJOG max: 1.500 units/sec 90.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
(gladevcp:1531): libglade-WARNING **: 13:51:22.708: could not find glade file 'ncam.ui'
**** GLADE VCP ERROR: With xml file: ncam.ui : could not create GladeXML object
<commandline>:0: gladevcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 48234638 -U --catalog=mill ncam.ui" exited with error: 1
Shutting down and cleaning up LinuxCNC...
task: 2772 cycles, min=0.000066, max=0.008623, avg=0.001142, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@wwp:~$
ini file
# This config file was created 2021-01-22 08:16:22.478640 by the update_ini script
# The original config files may be found in the /home/wwp/linuxcnc/configs/my-mill/my-mill.old.old directory
# Generated by stepconf 1.1 at Mon May 21 18:39:02 2018
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
# The version string for this INI file.
VERSION = 1.1
MACHINE = my-mill
DEBUG = 0
[DISPLAY]
# required NativeCAM item :
NCAM_DIR = ncam
# required NativeCAM item :
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.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 = 2.5
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
# required NativeCAM item :
PROGRAM_PREFIX = ncam/scripts/
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
[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
[RS274NGC]
# required NativeCAM item :
SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 47000
SERVO_PERIOD = 1000000
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[HAL]
HALUI = halui
HALFILE = my-mill.hal
HALFILE = custom.hal
[HALUI]
# add halui MDI commands here (max 64)
[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 0.50
MAX_LINEAR_VELOCITY = 5.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins coordinates=XYZ
#This is a best-guess at the number of joints, it should be checked
JOINTS = 3
[AXIS_X]
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_0]
AXIS_0]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE =5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
HOME_OFFSET = 0.1
[AXIS_Y]
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
HOME_OFFSET = 0.1
[AXIS_Z]
MIN_LIMIT = -4.0
MAX_LIMIT = 0..01
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -4.0
MAX_LIMIT = 0..01
HOME_OFFSET = 0.1
I have used the .iso to install linuxcnc 2.8 in Virtualbox and I have also install NativeCAM and can get it to run stand alone. I am having a hard time getting it embedded with a tab in Axis. I would like to be able to design projects in Nativecam on vbox and then take the projects to my machine to run. I have tried the following command in my ini;
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
with no luck. I have tried everything I could find in the forum and via search engines.
I have attached the terminal output and my .ini file.
Any help is always appreciated.
BIll
File Attachment:
File Name: terminalouput.txt
File Size:2 KB
File Attachment:
File Name: my-mill_20...1-22.ini
File Size:3 KB
Terminal output
wwp@wwp:~$ linuxcnc
LINUXCNC - 2.8.0
Machine configuration directory is '/home/wwp/linuxcnc/configs/NativeCAM-master/configs/sim/axis/ncam_demo.2.8'
Machine configuration file is 'mill.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 702: can't load tool table.
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
note: MAXV max: 1.500 units/sec 90.000 units/min
note: LJOG max: 1.500 units/sec 90.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
(gladevcp:1531): libglade-WARNING **: 13:51:22.708: could not find glade file 'ncam.ui'
**** GLADE VCP ERROR: With xml file: ncam.ui : could not create GladeXML object
<commandline>:0: gladevcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 48234638 -U --catalog=mill ncam.ui" exited with error: 1
Shutting down and cleaning up LinuxCNC...
task: 2772 cycles, min=0.000066, max=0.008623, avg=0.001142, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@wwp:~$
ini file
# This config file was created 2021-01-22 08:16:22.478640 by the update_ini script
# The original config files may be found in the /home/wwp/linuxcnc/configs/my-mill/my-mill.old.old directory
# Generated by stepconf 1.1 at Mon May 21 18:39:02 2018
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
# The version string for this INI file.
VERSION = 1.1
MACHINE = my-mill
DEBUG = 0
[DISPLAY]
# required NativeCAM item :
NCAM_DIR = ncam
# required NativeCAM item :
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.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 = 2.5
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
# required NativeCAM item :
PROGRAM_PREFIX = ncam/scripts/
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
[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
[RS274NGC]
# required NativeCAM item :
SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 47000
SERVO_PERIOD = 1000000
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[HAL]
HALUI = halui
HALFILE = my-mill.hal
HALFILE = custom.hal
[HALUI]
# add halui MDI commands here (max 64)
[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 0.50
MAX_LINEAR_VELOCITY = 5.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins coordinates=XYZ
#This is a best-guess at the number of joints, it should be checked
JOINTS = 3
[AXIS_X]
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_0]
AXIS_0]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE =5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
HOME_OFFSET = 0.1
[AXIS_Y]
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = 0.0
MAX_LIMIT = 22.0
HOME_OFFSET = 0.1
[AXIS_Z]
MIN_LIMIT = -4.0
MAX_LIMIT = 0..01
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.1
MAX_VELOCITY = .95
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 5200
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -4.0
MAX_LIMIT = 0..01
HOME_OFFSET = 0.1
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
23 Jan 2021 12:03 #196329
by tommylight
Replied by tommylight on topic NativeCam Embedded in Debian Buster 10 no luck
Really ????????
forum.linuxcnc.org/nativecam/41237-nativ...an-buster-10-no-luck
forum.linuxcnc.org/38-general-linuxcnc-q...an-buster-10-no-luck
forum.linuxcnc.org/nativecam/38972-nativ...sim-axis-not-working
Two of them have the same exact title!
forum.linuxcnc.org/nativecam/41237-nativ...an-buster-10-no-luck
forum.linuxcnc.org/38-general-linuxcnc-q...an-buster-10-no-luck
forum.linuxcnc.org/nativecam/38972-nativ...sim-axis-not-working
Two of them have the same exact title!
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
23 Jan 2021 12:05 #196330
by tommylight
Replied by tommylight on topic NativeCam Embedded in Debian Buster 10 no luck
Here is everything regarding NativeCAM on the net:
www.google.com/search?source=hp&ei=zxAMY...XKDYUQ4dUDCAY&uact=5
www.google.com/search?source=hp&ei=zxAMY...XKDYUQ4dUDCAY&uact=5
Please Log in or Create an account to join the conversation.
- skrap58
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 2
23 Jan 2021 14:11 #196334
by skrap58
Replied by skrap58 on topic NativeCam Embedded in Debian Buster 10 no luck
Thank you for your reply tommylight.
All of those posts are mine.
All of those posts are mine.
Please Log in or Create an account to join the conversation.
- skrap58
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 2
23 Jan 2021 16:51 #196344
by skrap58
Replied by skrap58 on topic NativeCam Embedded in Debian Buster 10 no luck
solve by starting over and following this post
forum.linuxcnc.org/nativecam/33573-nativecam-as-embedded-tab
forum.linuxcnc.org/nativecam/33573-nativecam-as-embedded-tab
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds