that is - unless you were on the receiving end - like me.
logger_emc: die in a fire
I'm logging. I don't understand 'die in a fire', toast. Try /msg logger_emc help
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2007-10-06.txt
* cradek kicks logger_emc
was snoozing on the job - nothing before I joined
dovetail exit along the half-angle?
yeah that was the general idea, 60 deg dovetail, exit at 30 deg
right, that wont scar :)
on a bridgeport boss it sure will :-)
(if you use G00)
oh, dont do that, you should be able to move pretty fast G01 XYZ far enuf before moving in rapud
got a labjack today :) 8 adc's and 1 dac , usb
a while back, someone proposed that emc should do what the bp does with G0, because it's "safer" - that's the only reason I brought it up
the dogleg thing?
no it makes it into two moves, straight up, then straight over
oh, tool axis the g1x plane maybe
several machines had that option - to split up any XYZ rapid
you could do it in the code couldnt you
how do you decide which moves first
some you could change a parameter
toast: it goes up then over, or over then down
how does the machine know that's a clear move
could be using a slotter
toast: it is always safe with an end mill, but yeah other cutters are bad news
that's why it's clearly (in my opinion) a bad idea
should do what the program says
if you want to move one axis at a time, program it that way
that is my theory.
I like all axis moving at same time - extra scary at 1500ipm
fwiw (if anything) programing it the way you want it to move makes sence to me
it's no fun if nobody wants to argue the other side
(I don't remember who that even was)
some other guy who isn't here
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=16 #Cfgs= 1
P: Vendor=0cd5 ProdID=0003 Rev= 0.00
S: Product=LabJack U3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
labjack is alive, usb analog i/o, now for some fun stuff, get hal to notice it
i don't like it when people ask for machines to be smarter than they are
that, to me, implies trouble
I dont want my machine to climb into my room at watch me sleep at night
but machine vision does have its place...
we use it to be sure the robots have not mis loaded
also the check that the part has complete the punch process
that's a fine, predictable process
is there a python version of hal_joystick.c ?
where 'hal_joystic' was cited as a model for a user space driver
i think the general idea is to use hal_input.py
joystick would be an absolute type input i think
then again it might not work with hal_input at all..
from the Gecko yahoo group
Posted by: "Mariss Freimanis" Tue Oct 2, 2007 10:44 am (PST) Tom,
We are planning a reorganization of our tech support in January. We
will be setting up a phone support staff composed entirely of
non-English speaking Latvians unreachable via our new endlessly
recursive automated 900-number phone menu system at $3 a minute. It's
about time we enter the 21st century.:-)
I, for one, welcome out Latvian-speaking gecko-support overlords
hey whatever works
hal_input should work with any joystick supported by Linux
I keep looking at those little geckos, they just seem too small
it supports bit inputs and output (buttons and lights, respectively), and absolute and relative "analog" inputs
well, they're nice and compact, but it's true they don't have adequate cooling for their rated power
thanks, i have a labjack, a usb device with 8 adc's and one dac ( besides other stuff ). it has non rtai src for drivers with kernel 2.6 http://www.labjack.com/labjack_u3.php?prodId=25
yeah its the something i was wondering about.. :)
[02:39:04] <SWPadnos> http://www.gelato.unsw.edu.au/lxr/ident?i=EV_SYN
tomp, if it acts like an 8-axis joystick, then it's no problem
if not, then you're in for a world of fun
"Synchronization events" oh well
i'm looking at hal_joystick ( seems to depend on the system recognizing it as /dev/input/jsN , this device is listed in /proc/usb/ but not in /dev
I think anything on the USB bus ends up in /proc/usb (not positive though)
is it in /sys/bus/usb/devices?
er, you probably dont know the id in hex :)
ok, look on lsusb for the hex code
lsusb sees it ... i do it again
lsusb doesnt necessarily mean there's a driver
Bus 001 Device 017: ID 0cd5:0003
im using geckos on my new machine... heck of an upgrade from HobbyCNC
thats it from the mfctr id & dev id
right, no driver, need to write one, thought there was a away to do it in python per that irc conversation
ziegler can you really tell the difference?
i guess the motors would run a lot cooler
more stable and smoother
can you get higher accels out of it now?
well yes.. voltage allowance difference too
[526128.569239] /home/tomp/tmp/hdwr/labjack/src-mfctr--Linux_C_NativeUSB_U3UE9/Driver/U3/labjacku3.c: USB LabJack device now attached to labjacku3-208
[526128.569250] usbcore: registered new driver labjacku3
[526128.569254] /home/tomp/tmp/hdwr/labjack/src-mfctr--Linux_C_NativeUSB_U3UE9/Driver/U3/labjacku3.c: USB LabJack U3 Driver v0.32
cleveland 2, new york 1, in 11 innings.... ;-)
tomp - what you toying with?
oh i thought you were trying to get a joystick working.. silly me
[03:05:29] <tomp> http://www.labjack.com/labjack_u3.php?prodId=25
so I gathered - but your goal?
read analog of a process, control speed and direction of a motor ( EDM )
woah.. what is the labjack (laymans terms)
reads a voltage and turns it into a number
analog and digital i/o, timer and counter on a 2x3 usb box uhoh, it sez its 203 degrees kelvin in here !
AIN0(SE) : 0.385 volts
AIN1(SE) : 0.333 volts
AIN0(Neg. chan. 1) : 0.038 volts
AIN1(Neg. chan. 0): 0.039 volts
AIN0(Neg. chan. Vref) : -0.452 volts
AIN1(Neg. chan. Vref): -0.270 volts
FIO3 state : 1
Counter1(FIO6) : 0
Temperature : 306.130 K
you better hope it's not 203K
nothings hooked up yet ;) it's reading air
306 is much nicer
I wonder what microcontroller they're using
and i didnt know theres another db15 with more i/o on it nto bad 99$ toy
what's the sample rate?
hope i can hack their code into a hal driver
dunno, time to rtfm
if you can read from a device or proc file, then making a HAL (userspace) driver should be pretty easy
making a HAL driver that also talks over USB directly is another story
or 8192 samples/s in burst mode?
SWPadnos: so if 'it' is /dev/usb/labjack0 and it's driver has init/read/write funcs.... then i can make a user space driver?
tom have you tried loadusr hal_input -A /dev/usb/labjack0
from the man page i get the impression i should be able to load my mouse into hal, but i get permission denied
woah that sounds interesting
the device can't be in use by another app, and I think X is set up by default to use any pointing devices that get plugged in
i can cat the file; think i could set up a pipe?
Did I hear correctly that someone managed to use a joystick to jog?
Ziegler, sure, that's been done
my knowledge of named pipes is a bit flaky to say the least :)
don't remember who did it though (xemet, I think)
how much more of a stretch would it be to use a mouse?
it depends on whether the mouse is in use now, doesn't it? ;)
keyboard is technically in use isnt it?
yes, but you're not using the hal_input driver for it, you're using "keyboard events"
fenn: bin/halcmd loadusr hal_input -A /dev/usb/labjacku3_0 yields LookupError: No input device matching '/dev/usb/labjacku3_0' was found
yet ls /dev/usb gives tomp@cncbox:~/emc2.1.6$ ls /dev/usb yields one entry labjacku3_0
I see SWPadnos
tomp, that may be a poorly worded error for "the device you told me to use is not a HID, so I can't tell what the hell to do with it" :)
thanks tomp... I was googling it but had not found it yet
grr why cant hal_input just read a device file
because there's no standard for whata "device file" tells you
there is a standard for how a HID communicates
hal_input is only for HID devices?
i made a pipe 'event9' to try to fake it out
but i get No input device matching '9' was found
dunno, but I think you'll have a heck of a time typing in binary HID packets anyway
i'm not typing them, its cat'ing from event1
ok - whichever
cat event1 | sudo tee -a event9
then cat event9 gives me a stream of gunk matching the mouse movement
but i dont understand how hal_input is searching for names
could you trick hal_joystick to think your mouse is a joystick?
well, maybe, but it wouldnt work the way you want
mouse is a relative position sensor, joystic is an absolute position sensor
does HID have a driver? its not listed by lsmod and the docs on labjack say it is classified as an HID device but doesnt work with the HID driver because "the hid driver does not support the "Interrupt" out endpoint used by the Labjack and thus cannot communicate with the Labjack" reference: http://search.cpan.org/src/CDRAKE/Device-LabJack-0.02/linux-labjack/INSTALL
/labjack is classified as an HID....
tomp, did you notice the LabJackPython.zip file on their software downloads page?
toast is now known as toastydeath
user_ is now known as Skinnypuppy
toast is now known as toastydeath
noone here but us chickens
the ol time zone difference is always a prob...
jmkasunich_ is now known as jmkasunich
fenn: any luck getting the mouse to work?
jepler:my keyboard isnt working with axis for some reason,the r,p,and s keys arent working
and now they are?
Trying to calibrate my steppers, i how do i set the "Steps Per" setting?
ADucci, change INPUT_SCALE in the ini file
if you're asking the question I hink you're asking
ok, thanks, just read that in the help file... the only thing, i dont really know how may steps per, on my motor or gear ratio...
can you hand-crank the table?
mmm, good idea, i think i can.. ps thanks for the "s" command, got the plasma unit cutting.
err hot! :)
so, turn one revolution, and measure the distance moved!
steppers are almost all 200 steps per rev. multiply that by any half/quarter/microstepping the drive does
or 10 - decreases error
labjackpython works, while emc2 runs, now to get hal communications to work (pass data to/from hal comps to labjack)
import hal or some such :)
whats version of python will be used by the upcoming emc2 release? labJackPython uses ctypes (with RH & MIT licensing) on python <2.6, while ctypes is builtin to python2.6 and (i hope) gpl'd
apparently, it's supposed to be included in python 2.5 as well
according to this: http://python.net/crew/theller/ctypes/
great must've been <2.5
is classic ladder in emc,or does it need to be downloaded?
jlmjvm: it is in emc2
good night all
jepler_ is now known as jepler
I swear i never can figure out why rewiring an outlet is always so involved.
it's called 'previous creativity' :)
Jym try doing that at a gas station....
Skullworks-PGAB: lol, no thanks =)
JymmmEMC, how big is your router?
SWPadnos: 24 x 24 x 5.5
hmmm. what does it weigh?
(they pour epoxy into the box to seal the conduit as a path for explosive vapors)
SWPadnos: I COULD pick it up, but it's aweful bulky to do so
ok, so less than 200 pounds for sure, movable by 2 people
block & tackle
SWPadnos movable by one if needed
ok. any chance I could borrow it (and you, if you like) fora demo at ESC next year?
the House of Prime Rib conference I go to every year :)
err - Embedded Systems Conference
ah, sure (Disclaimer, you break it you bought it of course =)
no problem. it's what, $200? ;)
SWPadnos: try more like $6000
yeah, right. for something one person can move? I think not!
The spindle alone is $250
no problem. I'm pretty careful
I'm not sure I'd cut anything anyway, just demo realtime control with something people can see
the "ping-pong ball supported by a fan" demo gets old pretty quickly
SWPadnos: For the record, I really do have about $6000 in it.
I don't doubt it. I have close to $15k into my shop
SWPadnos: it needs to be on a roughyl 4'x4' table
I have it sitting on a gorilla rack now
ok. I'll need to see if that's an OK size - I may need to get a sherline or something small
let me know
will do. the show is in April, so there's a fairly long time to decide the specifics
thanks, just in case :)