Expresscard parallel adapter

More
19 Jun 2014 02:11 #48082 by yongra
I have a Dell Latitute Notebook with Startech EC1S1P55254 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.

More
19 Jun 2014 03:02 #48084 by ArcEye
Replied by ArcEye on topic Expresscard parallel adapter
Hi

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.

More
19 Jun 2014 03:12 - 19 Jun 2014 20:55 #48087 by yongra
Replied by yongra on topic Expresscard parallel adapter
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 is why it needs to run on a laptop. This laptop is new and running with intel Core i5 with 4 gig of RAM. It will only be used with LinuxCNC. I did the latency test and it is not bad according to your manual.

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.
Last edit: 19 Jun 2014 20:55 by BigJohnT. Reason: add code tags

Please Log in or Create an account to join the conversation.

More
19 Jun 2014 05:12 #48090 by PCW
Replied by PCW on topic Expresscard parallel adapter

[ 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.

More
19 Jun 2014 07:48 #48099 by andypugh

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.

More
19 Jun 2014 21:19 - 19 Jun 2014 21:32 #48126 by yongra
Replied by yongra on topic Expresscard parallel adapter
This is a project that my college is running to show STEAM education in k-12 school. STEAM is for Science, Technology, Engineering, Arts, and Mathematics. The van is designed to go to various schools in NYS to show the STEAM initiative. It will have not just CNC, but other technologies like Laser Cutter, Robotics, and other STEAM related activities. So, the space is quite limited for a desktop and AC power. This mini-box PC seems to be a good solution.

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,
Last edit: 19 Jun 2014 21:32 by yongra. Reason: Add more info

Please Log in or Create an account to join the conversation.

More
19 Jun 2014 21:46 #48127 by yongra
Replied by yongra on topic Expresscard parallel adapter

[ 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.

More
19 Jun 2014 22:15 #48128 by PCW
Replied by PCW on topic Expresscard parallel adapter
It can be in the hal or ini file but if you used stepconf to make your configuration
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.

More
20 Jun 2014 02:08 #48131 by andypugh

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.

Time to create page: 0.099 seconds
Powered by Kunena Forum