Hi,
If I got it right, I can use the emc2-sim without the rtai-modules installed,
right?
I want to use the simulator with axis for previewing on a normal computer.
I built the simulator from the emc2.3.1-tarball with '--run-in-place' and
'--enable-simulator'.
Now I am able to run emc with tkemc or xemc, but fail to start it with axis.
Does anyone know why axis doesn't start / what the log tries to tell me / how
to get more information out of axis?
I didn't find information on that.
Attached: STDOUT and emc_print.txt (dmesg has no info)
Best Regards
Martin
LOG with DEBUG = 0x7FFFFFFF:
----------------------------------------------------------
EMC2 - 2.3.1
Machine configuration directory is
'/home/martin/tmp/emc2-dev/emc2-2.3.1/configs/sim'
Machine configuration file is 'martin.ini'
Starting EMC2...
(time=1246566480.076370,pid=15656): Registering server on TCP port 5005.
(time=1246566480.076623,pid=15656): running server for TCP port 5005
(connection_socket = 3).
iocontrol: machine: 'EMC-HAL-SIM-AXIS' version '1.6'
task: machine: 'EMC-HAL-SIM-AXIS' version '1.6'
NML_INTERP_LIST::append(nml_msg{size=24,type=222}) : list_size=1, line_number = 0
NML_INTERP_LIST::append(nml_msg{size=84,type=224}) : list_size=2, line_number = 0
emcTaskInit: adding user-defined function ../../nc_files//M101
NML_INTERP_LIST::append(nml_msg{size=24,type=222}) : list_size=2, line_number = 0
NML_INTERP_LIST::append(nml_msg{size=84,type=224}) : list_size=3, line_number = 0
Issuing EMC_TASK_PLAN_SYNCH -- (+516,+12, +0,)
emcTaskPlanSynch() returned 0
Issuing EMC_TRAJ_SET_TERM_COND -- (+222,+24, +0, +2,0.000000,)
Issuing EMC_TRAJ_SET_ORIGIN -- (+224,+84,
+0,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,)
Issuing EMC_TASK_PLAN_SET_BLOCK_DELETE -- (+518,+16, +1,\001,)
Issuing EMC_TASK_PLAN_SET_OPTIONAL_STOP -- (+517,+16, +2,\001,)
alloc: invalid block: 0xb7b1a5dc: 0 0 0
/home/martin/tmp/emc2-dev/emc2-2.3.1/scripts/emc: line 637: 15687 Aborted
$EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up EMC2...
- - - snip - - -
----------------------------------------------------------
emc_print.txt:
----------------------------------------------------------
RUN_IN_PLACE=yes
EMC2_DIR=
EMC2_BIN_DIR=/home/martin/tmp/emc2-dev/emc2-2.3.1/bin
EMC2_TCL_DIR=/home/martin/tmp/emc2-dev/emc2-2.3.1/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/home/martin/tmp/emc2-dev/emc2-2.3.1/rtlib
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/home/martin/tmp/emc2-dev/emc2-2.3.1/src/po
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=emcsh
EMC2_IOSH=iosh
INIFILE=/home/martin/tmp/emc2-dev/emc2-2.3.1/configs/sim/martin.ini
PARAMETER_FILE=sim_mm.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Killing task emcsvr, PID=15656
Killing task milltask, PID=15686
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users