Expresscard parallel adapter
Does anyone know if this card is compatible with LinuxCNC Ubuntu?
At the moment, I have Unimat ML CNC and LinuxCNC does not control it at all. Also, the notebook will freeze constantly when I launch the axis program.
Thank you,
Please Log in or Create an account to join the conversation.
A laptop is inherently unsuited for running Linuxcnc, the fact that it freezes just opening Axis probably tells you all you need to know.
My advice, buy a cheap second hand desktop from the list of computers that work and use that, any time or money you spend on the Dell is liable to be wasted.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Latency-Test
regards
Please Log in or Create an account to join the conversation.
Maybe it is the driver for the expresscard adapter?
Any other suggestion?
I am also getting this error when I first launch the program.
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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.4
Machine configuration directory is '/home/unimat/linuxcnc/configs/cooltool'
Machine configuration file is 'Uni-dreh.ini'
INIFILE=/home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PARAMETER_FILE=stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting TASK program: milltask Starting DISPLAY program: axis
USRMOT: ERROR: command timeout
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
Killing task linuxcncsvr, PID=1767
Killing task milltask, PID=1821
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1 Can not find -sec EMC -var NML_FILE -num 1 A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
1767
PID TTY STAT TIME COMMAND
1821
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
1821 ? S 0:00 milltask -ini /home/unimat/linuxcnc/configs/cooltool/Uni-dreh.ini
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 87.885573] I-pipe: Domain RTAI registered.
[ 87.885578] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 87.885579] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 87.885637] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 87.885640] PIPELINE layers:
[ 87.885642] f82a5e20 9ac15d93 RTAI 200
[ 87.885645] c085cb20 0 Linux 100
[ 87.899501] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 87.899666] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 87.899670] RTAI[sched]: hard timer type/freq = APIC/6235800(Hz); default timing: periodic; linear timed lists.
[ 87.899673] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2394716000 hz.
[ 87.899675] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 87.899717] RTAI[usi]: enabled.
[ 87.931409] RTAI[math]: loaded.
[ 88.116173] config string '0x3010'
[ 99.299265] RTAPI: ERROR: Unexpected realtime delay on task 1
[ 99.299267] This Message will only display once per session.
[ 99.299268] Run the Latency Test and resolve before continuing.
[ 99.299287] Clocksource tsc unstable (delta = 9373196333 ns)
[ 99.299410] Switching to clocksource acpi_pm
[ 99.376237] RTAI[math]: unloaded.
[ 99.386435] SCHED releases registered named ALIEN RTGLBH
[ 99.449631] RTAI[malloc]: unloaded.
[ 99.548511] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 99.550212] I-pipe: Domain RTAI unregistered.
[ 99.550297] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
[ 99.299265] RTAPI: ERROR: Unexpected realtime delay on task 1
[ 99.299267] This Message will only display once per session.
This indicates that the CPU has excessive latency for your current basethread or servo thread period
This is pretty much expected of laptops which often have power management hardware/firmware that cannot be disabled
This is why using laptops for linuxcnc usually a bad idea
One thing to try is to lower your basethread rate to say 1/2 its current rate (that is double the basethread period)
and see if the problems go away...
Please Log in or Create an account to join the conversation.
Thanks for the suggestion. The problem is that this will be placed in a mobile workshop in a Sprinter van with limited space and power source.
That sounds like a fun project, can you tell us more?
There are some Atom Mini-ITX motherboards that will run directly from 12-14V car power, and some of the PicoPSUs are specifically for powering motherboards in cars.
I have a DN2800 which runs on 12V (though that has interesting graphics quirks, easy enough to fix, but on a fresh install you have to fix them "blind" as the graphics aren't working, so I probably can't recommend that one.
This might be a good start: www.mini-box.com/Car-PC-Automotive-Computing-Solutions
Please Log in or Create an account to join the conversation.
I checked out the Mini-box.com site and I see one that has parallel port built in.
VoomPC-2 Jetway Dual Core Atom 1.86 GHz, 2x Ethernet, M2-HV, Jetway JNC9MGL-525
www.mini-box.com/CarPC-VoomPC2-Jetway-JN...5?sc=8&category=1543
Has anyone used this type of PC with LinuxCNC? I do not mind spending few hundred dollars to buy it. But I want to make sure it will work.
Thanks,
Please Log in or Create an account to join the conversation.
[ 99.299265] RTAPI: ERROR: Unexpected realtime delay on task 1
[ 99.299267] This Message will only display once per session.
One thing to try is to lower your basethread rate to say 1/2 its current rate (that is double the basethread period)
and see if the problems go away...
Which file or where do I make the change? Is it the .hal file like standard_pinout.hal?
Thanks,
Please Log in or Create an account to join the conversation.
its probably in my-mill.ini (unless you changed the name):
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000 <<<<<<<<<<<<<<<<<<<<<< here
SERVO_PERIOD = 1000000
Please Log in or Create an account to join the conversation.
Has anyone used this type of PC with LinuxCNC? I do not mind spending few hundred dollars to buy it. But I want to make sure it will work.
D525 boards have done very well in the past, in fact the Intel D525MW was the board of choice until it became obsolete.
The only Jetway boards in the latency test page ( wiki.linuxcnc.org/cgi-bin/wiki.pl?Latency-Test ) show good results, so it seems that Jetway are not in the habit of messing up the latency.
Google can't find any latency test figures for the board, so it looks like a bit of a gamble, but not a terribly risky one.
You could always try phoning them and see if they will send you one on the understanding you can return it if the latency is bad.
Please Log in or Create an account to join the conversation.