#emc | Logs for 2009-07-17

[00:25:54] <Jymmm> SWPadnos: ping
[00:25:59] <SWPadnos> aye
[00:26:12] <Jymmm> http://cgi.ebay.com/2U-Server-B11s-2x-Xeon-3-06Ghz-1TB-RAID-3WARE-8506-4LP_W0QQitemZ370229344682QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item56336379aa&_trksid=p4634.c0.m14.l1262&_trkparms=|293%3A1|294%3A30
[00:26:17] <Jymmm> SWPadnos: local to me
[00:27:00] <Jymmm> I have NFC on xeon's though
[00:27:34] <SWPadnos> AFAIK they're just the P(3 or 4) multi-chip version
[00:27:49] <SWPadnos> ie, so you can use more than one CPU on a motherboard
[00:28:03] <SWPadnos> they also were the first to get 64-bit extensions and virtualization, I think
[00:28:15] <Jymmm> ah
[00:28:48] <SWPadnos> small power supply
[00:29:05] <Jymmm> to small for 4 hdd's?
[00:29:07] <Jymmm> too
[00:29:19] <SWPadnos> no, it's 350W. that's just fairly small these days
[00:30:09] <Jymmm> I'm out of storage here. the 1U's I have are loud and can only hold 2 hdd's each. I'm thinking 4 x 2TB in RAID5 config
[00:31:13] <Jymmm> Maybe FreeNAS or jsut debian
[00:31:51] <SWPadnos> that's a reasonable price for the rackmount case, and the computer inside is just a bonus
[00:32:03] <SWPadnos> but it will probably be loud and slow
[00:32:04] <Jymmm> plus the 3ware card
[00:32:14] <SWPadnos> that chipset was introduced in 2002
[00:33:13] <Jymmm> SWPadnos: http://stores.shop.ebay.com/ITRecycleNow_Server_W0QQ_fsubZ6QQ_sidZ72311930?_nkw=2U&submit=Search
[00:33:19] <SWPadnos> that RAID card is a PCI-X card, not PCI-E
[00:33:29] <SWPadnos> you won't be able to put it in a newer machine later
[00:34:56] <Jymmm> damn
[00:35:15] <Jymmm> I just need storage snif sniff
[00:35:36] <Jymmm> These ext Fw drives have no cooling and get hot
[00:35:48] <SWPadnos> yep
[00:36:09] <Jymmm> the 4U case I have is just too heavy, evenwhen empty
[00:36:37] <SWPadnos> yeah. there are some I was looking at that are 65 pounds empty
[00:37:02] <Jymmm> trade ya mine for a 8 port 3ware sata card =)
[00:37:15] <SWPadnos> err
[00:37:16] <SWPadnos> no
[00:37:18] <SWPadnos> :)
[00:37:49] <SWPadnos> wow. $229 for a 2TB drive
[00:38:02] <SWPadnos> much more per GB than 1TB or even 1.5TB
[00:38:10] <Jymmm> of course
[00:38:26] <Jymmm> just wait till 3T come out
[00:39:55] <SWPadnos> huh. 1.5TB have surpassed 1TB as the best price point now
[00:40:30] <SWPadnos> oh. maybe not. they're about even
[00:41:51] <Jymmm> I think I'lll go down tomorrow and look at them at least.
[00:42:35] <Jymmm> Hell, i can't even buy a standard PS for the 1U's I have for less tham $35
[01:13:20] <sed_> How do I invert the analog signal to the amp. It drives the wrong direction for the command and gives a large jump and a following error.
[01:35:47] <SWPadnos> make the OUTPUT_SCALE negative
[01:36:16] <SWPadnos> (or positive if it's already negative)
[01:40:59] <sed_> OK thanks, I'll try it.
[02:30:56] <renesis> jymmm: wasnt cable, was 2.2.8
[02:47:48] <fenn> anyone heard of this "nanocrystalline" motor? supposedly has zero iron losses: http://nextbigfuture.com/2009/07/china-has-100-million-electric-bikes.html
[02:53:57] <roh> the nanocrystalline part is marketing bullshit.
[02:54:37] <Valen1> sounds like they are using ferrite rather than laminated baked beans tins to me
[02:54:48] <roh> ebikes exist, even when the thingies from china ride... theyre mostly crap (the cheap complete bikes) .. but there are some chinese and taiwanese vendors who build proper motors too. just more expensive
[02:54:59] <roh> the most expensive part is the battery nontheless.
[02:55:20] <Valen1> thundersky (and similar) have some good batteries for that kind of thing
[02:55:36] <Valen1> spendy but light
[02:56:30] <Valen1> Although with the prices of A123 cells now you could make a kick ass drag bike without blowing the budget
[02:56:39] <roh> the 'magic' on ebikes bases on 2 things: 'rare earth magnets' also called neodym permanent magnets which are cheaper and more avail now than 20 years ago, and igbt mosfet technology. the rest iss just brushless bldc motors and batteries like we use sinve 20 years for modelcrafts
[02:57:12] <roh> Valen1 i still ride around with 10kg of SLA ... nothing beats the price
[02:57:40] <Valen1> 10kg worth of SLA isn't going to get you that far?
[02:57:54] <roh> btw.. ebikes was the reason for buying our cnc mill :)
[02:58:01] <roh> we wanted to make torque arms
[02:58:07] <Valen1> you can get A123s for ~$5 a cell now
[02:58:18] <roh> Valen1 about 30km distance per charge.
[02:59:16] <Valen1> heh we are CnCing our mill to make wheel motors for bikes and diff motors for cars
[02:59:17] <roh> i need abour 400Wh at 48V for 30km distance. costs less than 100E per pack with good high-rate sla cells.
[03:00:10] <roh> on A123 cells i would need atleast 15s4p packs
[03:00:45] <roh> which makes atleast 300$ just for cells.. + BMS + specialised charger
[03:02:42] <roh> in reality one drives these packs from 0 to 40 deg celsius ambient temperature... which lithium based batteries really do not like... even less than sla (which loose capacity, but dont die aslong as they dont freeze through)
[03:03:47] <roh> means one also needs insulation and some package... the energy storage is still not worked out to satisfaction.. same with electric cars. the expensive and complicated part to get right is the energy storage system
[03:04:33] <fenn> tesla motors uses water cooling right?
[03:05:24] <roh> afaik yes
[03:05:53] <roh> tesla is more like a field-test than a product... but still a cool one
[03:06:37] <roh> we dont cool packs atm. we just dimensionise them properly so they dont get hot on charge or discharge
[03:06:47] <roh> also makes cell live more cycles
[03:07:22] <roh> i get about 500-600 from one sla pack which i wasnt friendly to.. and driven the 2 packs every day for over a year now.
[03:07:59] <roh> means since i want 2 packs (to swap at home) its about 200E/year investment.
[03:08:24] <roh> on lithium-anything i havent seen similar chargecycles in real world
[03:10:11] <roh> (since this is all higly OT, just holler and i'll shut up about it)
[03:10:26] <fenn> * fenn is asleep anyway
[03:11:40] <roh> Valen1: which kind of motors do you wanna build? model stuff or bigger ones?
[03:14:06] <roh> ours are too big for the milling table X-]
[03:15:02] <roh> i think the case gets moulded usually.. just no idea how to mold aluminium
[08:34:06] <Jymmm> alex_joni: http://www.youtube.com/watch?v=WnMcXz08wuY
[09:01:29] <andyzammy> test
[09:01:55] <archivist> fail
[09:02:17] <andyzammy> hi, can anybody help me with a problem i'm experiencing - i'm not sure that EMC2 is communicating with my machine (Fireballv90), and i suspect it may be the parallel pci card
[09:02:40] <andyzammy> it's a Sweex 9865, could anybody tell me if EMC2 supports it?
[09:03:08] <archivist> not a number Ive heard of
[09:04:59] <andyzammy> apparently the PU005 card is supported, but this one i've got is a later version: PU005V2
[09:05:08] <archivist> test the port pins with a meter
[09:05:47] <archivist> or better still with a scope
[09:06:20] <andyzammy> ok, i'll try that out, thanks archivist
[10:17:44] <alex_joni> andyzammy: how did you try setting it up in emc2?
[10:37:23] <andyzammy> alex, i have no clue how to set up parallel ports in EMC2, i was under the assumption it was plug and play, as i couldn't find an (obvious) menu in AXIS for it. i recieved the config files for my machine on the website i bought it from.
[10:39:50] <archivist> gah just read what passes for the manual!
[10:42:08] <archivist> andyzammy, what motor drivers do you have
[10:48:00] <alex_joni> andyzammy: right
[10:48:04] <alex_joni> you don't have to do much
[10:48:15] <alex_joni> but.. you need to figure out the address port for the pci card
[10:48:19] <alex_joni> or else it won't work
[10:48:38] <alex_joni> emc2 (and the config you got) probably uses 0x378 which is the default address for the onboard port
[10:49:09] <alex_joni> andyzammy: this page describes what to do for PCI cards: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos
[10:55:42] <BigJohnT_> dang string broke again
[10:56:44] <archivist> I thought you were getting some new string
[10:57:04] <BigJohnT_> a wireless one
[10:57:40] <archivist> people with wifi seem to suffer more drop outs
[10:57:57] <BigJohnT_> I'm putting up a tower at the top of the hill so the my receiver can "see" the broadcast antenna
[10:58:10] <BigJohnT_> this is line of site wireless to another tower
[10:58:17] <BigJohnT_> line of sight
[10:59:13] <BigJohnT_> no cable service out here and the mail rider still uses a horse to deliver the mail
[10:59:54] <BigJohnT_> archivist: does the EMC map show the flags for you?
[11:00:06] <archivist> not at the moment
[11:00:38] <archivist> login seems borked, like where is the login
[11:01:02] <andyzammy> archivist, i bought the Probostep Motor/Driver kit
[11:01:53] <BigJohnT_> I'm automagiclly logged in and I don't see the log in either
[11:02:01] <andyzammy> alex, thanks for the link, i'll try it out when i get some time! i'll stick around idle till then
[11:02:20] <archivist> andyzammy, as alex_joni said set the port address, there is a simple prog to show probed addresses (cant remember name)
[11:02:42] <BigJohnT_> lspci ?
[11:02:58] <archivist> that sound right
[11:04:14] <archivist> BigJohnT, we both have to nag alex_joni then :)
[11:05:36] <BigJohnT_> :)
[11:19:07] <BigJohnT_> BigJohnT_ is now known as BigJohnT
[11:44:42] <andyzammy> ok, i have read the doc the link took me to and would just like to confirm what i have to do before i make any changes
[11:45:36] <andyzammy> there is a line in the .hal file: loadrt hal_parport cfg=0x378 and i have to append the address of my pci card to it
[11:47:20] <alex_joni> if you don't have an onboard port, then you need to change 0x378 to your address
[11:47:30] <andyzammy> the example uses a dual port card, and my card only has one - there are 2 "I/O ports at xxxx" lines (rather than the 6 lines in the example), is it safe for me to hit and miss which ones to use?
[11:48:04] <archivist> lspci to find
[11:48:12] <andyzammy> i do have an onboard parallel port, but lspci only shows the card i installed
[11:49:02] <archivist> lspci -v
[11:50:40] <andyzammy> yes i use that to get the address, i think i'm ok with that part then. i'm still unsure about the next part (about the "read" and "write" functions). do i have to alter those lines also?
[11:53:37] <BigJohnT> only if your adding another parallel port I think
[11:57:50] <alex_joni> depends what the functions are reading
[11:58:04] <alex_joni> if your lines are reading something like "addf parport.0.read .."
[11:58:15] <alex_joni> then you need to add the same lines with parport.1.read
[11:58:18] <alex_joni> and .write
[12:07:31] <andyzammy> ok, i tried it out and it didn't work, here's what i tried:
[12:08:44] <andyzammy> my lspci gave me 2 addresses: "bc00" and "c000". my lines were "addf parport.0.read base-thread" and "addf parport.0.write base-thread"
[12:09:49] <BigJohnT> try the other address
[12:10:18] <andyzammy> i changed the lines to match those on the instructions, and appended the addresses to the line loadrt hal_parport cfg=0x378 (so it became "0x378 bc00" and "0x378 c000")
[12:10:26] <andyzammy> no combination worked
[12:10:48] <BigJohnT> are you going to use both parallel ports?
[12:11:08] <andyzammy> no
[12:11:37] <archivist> 0xC000
[12:11:41] <BigJohnT> then just load the one your going to use
[12:13:41] <andyzammy> ah, if the "0x" matters then i didn't do it right (mind EMC2 didn't crash or complain about them) - i assumed it was ok not including it because the whole number was in inverted commas so emc2 understood it was one big one - i'll try with "0x" though.
[12:21:17] <andyzammy> still didn't work
[12:21:48] <alex_joni> andyzammy: what does "didn't work" mean?
[12:22:03] <alex_joni> did you get an error? did it start but no outputs on the port?
[12:26:25] <andyzammy> there were no errors, the scope is being used elsewhere at the moment so right now the only way i can see what's happening is to plug the port into the controller box. the entire machines are tested before they're sent out (box included) so there's not much chance that there's a fault at that end. though ofc not impossible
[12:27:10] <andyzammy> i did have a do with the scope before i tried these things though, i did get +5v out of the data lines but no fluctuation at all, just a streight 5v.
[12:28:53] <alex_joni> make sure you have the proper lines for parport.1.read and parport.1.write in your hal file
[12:29:17] <andyzammy> if anyone would think it might help to see the /hal file (or any of the config files for that matter) they can be found at this site: http://www.probotix.com/cnc_downloads/ click V90 EMC2 Configs
[12:29:32] <andyzammy> alex what do you mean by proper?
[12:30:22] <andyzammy> there were only parport.0... so i changed them to 1. also unsure of what to add on the end as there weren't any numbers on the end.
[12:31:25] <alex_joni> that's ok
[12:31:35] <alex_joni> so you don't want to use the onboard parport at all?
[12:32:18] <andyzammy> no, i have no IDE connector handy so i just used that parallel pci card.
[12:33:22] <SWPadnos> how are IDE and parallel port cards related?
[12:35:28] <andyzammy> the shuttle i'm using has an onboard parport, but it doesnt have a socket on the back - it has some pins on the motherboard that i must connect to if i wish to use it. so i chose instead to install a pci card.
[12:35:48] <SWPadnos> ah, OK
[12:36:59] <SWPadnos> (they're usually called IDC connectors :) )
[12:38:07] <andyzammy> oh, sorry, i'm forever getting my abbeviationss mixed up.
[12:38:15] <SWPadnos> too many TLA's
[12:39:19] <andyzammy> er.. (after a google).. yep, damn right!! :P
[12:39:48] <SWPadnos> :)
[12:51:54] <BigJohnT> * BigJohnT hums Hi Ho it's off to work I go
[14:19:57] <frallzor> anyone in here using a touchscreen in ubuntu? =)
[14:20:21] <archivist> I have one but not got it working yet
[14:20:27] <geo01005> I'm going too :)
[14:20:43] <frallzor> i borrowed one from a friend and having som issues :P
[14:21:01] <frallzor> when i pull my finger left to right the cursor goes up > down P
[14:21:03] <frallzor> =P
[14:21:40] <frallzor> and I have no idea how to fix =) im green with linux
[14:22:30] <archivist> google all you can
[14:22:47] <geo01005> what brand touch screen?
[14:22:50] <frallzor> lg
[14:25:32] <frallzor> it seems the touch is turned CW kind of
[14:32:29] <pjm> archivist - that conversation we had about G00 the other day, I checked the actions on heidenhain and haas controllers and neither controller blend the moves with G61 or G64
[14:33:31] <pjm> the other interesting behaviour is the G00 rapid traverse, on the heidenhain when u G00 to say X100 Y50 it will go flat out on both axis so Y gets there and stops in 1/2 the time of X
[14:33:55] <cradek> yes some old controls do that
[14:34:11] <cradek> G0 isn't guaranteed to be in a straight line on those (on EMC it is a straight line)
[14:35:46] <pjm> ahh ok thanks for clearing it up! btw how about the G00 when in G61 and G64 ?
[14:36:05] <pjm> i think its when in constant velocity mode it can be a problem
[14:36:22] <pjm> as it could hit the job if u say G00 the Z up then G00 the X along
[14:37:15] <cradek> I agree it can cause a problem in some cases - in those cases you can program G61
[14:37:40] <cradek> I think usually it is fine and it saves time
[14:38:01] <pjm> http://pjm.dyndns.org/cam/g00.gif was the path plot i made
[14:38:31] <pjm> is it possible that in a future release it could be settable in the ini as to G00 action, exact stop or constant velocity?
[14:38:33] <cradek> yes
[14:39:43] <cradek> I don't have plans to do that, but of course it's possible to do
[14:39:48] <pjm> ok
[14:40:02] <pjm> the fix is just to G61 each G00 ?
[14:40:25] <cradek> or make your rapid plane a bit higher, or use G64 Pxxx to give a path following tolerance
[14:41:08] <pjm> ah yes ok that makes sense, thanks! I'll do some more testing to get it in my head
[14:41:31] <cradek> sure, you're welcome
[14:53:59] <frallzor> how to save xorg when edited btw
[14:55:23] <archivist> man your_editor
[14:56:03] <frallzor> say what =)
[14:56:32] <frallzor> trying to use gedit but that doesnt work well
[14:57:00] <cradek> too bad about gedit sucking
[14:57:12] <cradek> I wish the default gnome editor didn't suck
[14:57:23] <frallzor> what to use then
[14:57:48] <archivist> vi
[14:57:56] <cradek> the two editors I regularly use are not 'modern gui' editors so I don't know what to recommend
[14:58:26] <cradek> maybe I only think they're good because I've been using them for 15 years
[14:58:55] <archivist> frallzor, I assume your problem is permissions, I would be in the dir in a terminal sudo vi filename
[14:59:09] <frallzor> yup correct
[14:59:41] <cradek> EDITOR=gedit sudoedit filename
[15:01:13] <frallzor> how to find the "folder" via terminal
[15:26:35] <Jymmm> Was someone looking for a fiber channel card? SWPadnos?
[15:28:43] <MikeGG> frallzor: I have the same problem with my touch screen
[15:29:47] <frallzor> it should be easy to fix
[15:30:07] <frallzor> now food, bbl, pm if you fix :P
[15:33:55] <MikeGG> ok
[15:41:25] <Jymmm> I've kinda been liking SciTe actually
[15:42:42] <frallzor> thar we go
[15:42:46] <frallzor> back to hell
[15:45:15] <frallzor> how to tell what your device is called btw?
[15:45:33] <frallzor> so you put the right identifier in xorg
[16:30:25] <tom1> tom1 is now known as tom3p
[17:26:33] <skunkworks> LawrenceG: How is the weather up there. Cold here
[17:27:47] <LawrenceG> very nice at the moment.... sunny and beach weather but not too hot
[17:28:47] <LawrenceG> we could use some rain... fire hazard is pretty high... we had a few days of sprinkles last week but that has all evaporated
[17:31:43] <Jymmm> beach weather?! What 54F ?
[17:39:45] <LawrenceG> hey Jymmm no brass balls here... cast iron all the way!
[17:40:36] <Jymmm> oh, so easier to crack with a single blow
[17:40:46] <Jymmm> (pun intended)
[17:40:51] <LawrenceG> ouch
[17:42:35] <Jymmm> lol
[17:45:06] <Jymmm> http://supermicro.com/products/chassis/3U/832/SC832T-550.cfm
[17:45:30] <Jymmm> photo shows 8 bays, desc says 6
[17:46:25] <Jymmm> Anyone know what "SAF-TE" is? SAS / SATA Backplane (without SAF-TE)
[17:49:14] <fenn> cable quadrupod: http://www.youtube.com/watch?v=rWgPH1vMFTk
[17:49:58] <frallzor> ahh a few hours later i still dont got touch working in ubuntu, great :P
[18:22:00] <frallzor> how to tell which version of X you got
[18:23:00] <acemi> dpkg -l xorg*
[18:23:09] <SWPadnos> xserver-xorg, I think
[18:24:54] <frallzor> should I combine what you both said or something? =) non did any good
[18:25:40] <frallzor> thar we go
[18:26:16] <acemi> try this: dpkg -l xorg
[18:26:16] <frallzor> 7.3?
[18:26:19] <frallzor> can that be right
[18:26:22] <acemi> yep
[18:26:29] <frallzor> thats pretty old?
[18:26:52] <acemi> the current stable debian has the same
[18:27:24] <frallzor> im trying to get evtouch functioning and the latest is for X 0.8.7
[18:27:39] <frallzor> what am i missing? =)
[18:28:39] <frallzor> hmm nm =)
[18:39:14] <frallzor> how do I stop X from starting then
[18:39:16] <frallzor> or kill it
[18:39:48] <SWPadnos> you have to mess with the init scripts to prevent it from starting at bootup
[18:40:27] <frallzor> seems I have to do that to calibrate
[18:41:01] <SWPadnos> to stop it, you can go to a text console (ctrl-alt-F1), log in, stop gdm (sudo /etc/init.d/gdm stop), then switch back to the X console and exit from X (ctrl-alt-backspace)
[18:41:36] <frallzor> wow
[18:41:44] <SWPadnos> to exit, you can also kill X, but it's just as easy to switch back (oh, it's ctrl-alt-F7 for the X terminal) and exit
[18:41:55] <frallzor> it shouldnt be this hard to get a simple touchscreen working
[18:41:56] <SWPadnos> you may be able to do all thsi without switching consoles actually
[18:42:08] <SWPadnos> just open a terminal and do the sudo /etc/init.d/gdm stop
[18:42:20] <SWPadnos> if X doesn't go away, then ctrl-alt-backspace
[18:42:36] <tom3p> fenn: the hangars wont come off the bar, the hooks are opposed. cable bot is cool, but 1st thing i think of for a party aint hangars ;)
[18:42:42] <SWPadnos> I think you have to use the left hand ctrl and alt keys also
[18:43:49] <fenn> tom3p: i think that was on purpose
[18:43:57] <frallzor> worked
[18:44:11] <frallzor> how to start a commandline or what it said
[18:44:17] <frallzor> like terminal without X
[18:44:19] <tom3p> fenn: the prototype in lego is neat too. in the 80's i had an isreli plotter that ran loose on a tabeltop, it visually found the edges of the paper, 'zeroed' itself & plotted
[18:44:29] <tom3p> israeli
[18:44:42] <fenn> yeah i think the lego thingy does that too, not sure
[18:45:02] <SWPadnos> frallzor, you should get a login prompt from a text console
[18:45:06] <SWPadnos> if there isn't one, press enter
[18:45:14] <SWPadnos> if nothing appears, press ctrl-alt-f1
[18:45:23] <SWPadnos> that should bring you to console 1
[18:45:34] <frallzor> yup
[18:46:39] <frallzor> Now you can start the calibration program "calibrate.sh" from a text
[18:46:39] <frallzor> console
[18:46:44] <frallzor> how to do that?
[18:46:49] <frallzor> i know its path
[18:47:05] <SWPadnos> um. type the path the /path/to/calibrate.sh
[18:47:07] <SWPadnos> then enter
[18:47:13] <SWPadnos> like you would run any other program
[18:47:33] <frallzor> hmm I forgot 1 foldername
[18:47:34] <frallzor> bah
[18:47:38] <frallzor> can i search?
[18:47:40] <SWPadnos> you may need to make it executable first, by executing "chmod +x /path/to/calibrate.sh"
[18:47:43] <SWPadnos> use the tab key
[18:47:51] <SWPadnos> it completes names for you
[18:48:41] <frallzor> command not found
[18:48:53] <frallzor> i can just type the name when im the folder right?
[18:49:02] <SWPadnos> no
[18:49:08] <SWPadnos> you need ./calibrate.sh
[18:51:03] <frallzor> well now it "worked" but it didnt find a file needed =)
[18:51:38] <frallzor> have to fix that first I guess
[18:51:44] <frallzor> how to start X again?
[18:51:47] <SWPadnos> like /etc/x11/xfree86.conf or something?
[18:51:54] <frallzor> nah ev_calibrate
[18:51:59] <SWPadnos> oh
[18:52:05] <SWPadnos> startx usually does it
[18:52:15] <frallzor> this time too
[18:52:39] <SWPadnos> you'll be able to exit by using logout or ctrl-alt-backspace this time
[18:52:51] <SWPadnos> no need to mess around with gdm, since you've already stopped it
[18:53:27] <frallzor> how odd
[18:53:37] <frallzor> the file it wanted is where it is supposed to be
[18:53:49] <archivist> permissions?
[18:54:21] <frallzor> root
[18:55:44] <frallzor> baaah I hate this
[18:56:39] <SWPadnos> sudo ./calibrate.sh
[18:56:46] <frallzor> did
[18:56:48] <frallzor> same thing
[18:59:01] <frallzor> any more tips or shall I give up? =)
[18:59:25] <SWPadnos> search the web for people who have had similar issues, and try their solutions
[18:59:46] <frallzor> been doing that for 6 hrs now =)
[18:59:53] <archivist> does the error message hint that its looking some other place
[19:00:00] <frallzor> nope
[19:00:07] <SWPadnos> why waste that investment. try it for another 6 hours :)
[19:00:11] <frallzor> the file is in the same folder
[19:00:19] <SWPadnos> is it supposed to be in the same folder?
[19:00:29] <frallzor> i got it via apt-get so I suppose it cant be wrong
[19:01:44] <frallzor> it does say ./ev_calibrate when I do the run
[19:01:45] <SWPadnos> is this thread applicable? http://ubuntuforums.org/archive/index.php/t-644258.html
[19:02:29] <frallzor> following that as we speak
[19:02:59] <frallzor> cd /usr/lib/xf86-input-evtouch/
[19:02:59] <frallzor> sudo ./calibrate.sh
[19:03:05] <SWPadnos> read the entire thread
[19:03:06] <frallzor> then It should work
[19:03:08] <SWPadnos> then do things
[19:03:32] <SWPadnos> there are some rules that have to be set up for udev, then apparently a reboot (or some other udev restart)
[19:03:43] <SWPadnos> then add an option to the xorg.conf file
[19:03:51] <SWPadnos> then run the calibration script
[19:05:08] <SWPadnos> also note this: "Instructions for using the calibrate prog are in /usr/share/doc/xserver-xorg-input-evtouch/README.calibrate. It's very finicky and unintuitive. Also check out /usr/share/doc/xserver-xorg-input-evtouch/README.Debian"
[19:05:21] <frallzor> also looking at that file
[19:05:45] <frallzor> can i do the rules add from X?
[19:06:57] <SWPadnos> the way I read that last comment, you need to reboot afterwards anyway
[19:07:12] <SWPadnos> so you might as well use nano (a text mode simple editor)
[19:09:06] <frallzor> woow im getting confused =)
[19:09:43] <frallzor> i tried doing it from X
[19:09:54] <frallzor> but it didnt want to
[19:10:05] <frallzor> permissions once more
[19:12:35] <frallzor> how to copy with permission then? =)
[19:26:27] <SWPadnos> skunkworks, all 2.0
[19:26:51] <frallzor> managed
[19:27:08] <frallzor> but of course i get an error I cant see now when I run calibrate
[19:28:49] <archivist> pipe stderr to a file eg ./progname 2> err.txt
[19:30:08] <frallzor> or i might see enoughm but I dont understand it
[19:30:39] <frallzor> dont see why ppl want linux when it takes +6hrs and countint to get touch working =(
[19:35:31] <skunkworks> SWPadnos: SWEET!
[19:36:15] <SWPadnos> I didn't check them all at once, but every one was 2.0 when I tried them individually
[19:36:22] <anonimasu> frallzor: is your screen supported by linux?
[19:36:41] <SWPadnos> the annnoying thing is that the motherboards seem to just die for a while, from time to time
[19:36:52] <frallzor> no idea, but it works but the axis are turned CCW
[19:37:19] <anonimasu> annoying
[19:38:11] <anonimasu> frallzor: did you see SwapX This option is in the driver since V0.61. When set to 1 the X-axis is swapped. This option is applied BEFORE the rotation-option. false -- no swapping
[19:38:11] <anonimasu> SwapY This option is in the driver since V0.61. When set to 1 the Y-axis is swapped. This option is applied BEFORE the rotation-option.
[19:38:13] <frallzor> now the calibration is allmost running but a file cant be found =)
[19:38:22] <anonimasu> and "rotate"
[19:38:25] <frallzor> no go
[19:38:30] <anonimasu> http://www.conan.de/touchscreen/evtouch.html
[19:38:42] <frallzor> I got that link and a millions others but no go
[19:38:46] <frallzor> followed it 1:1
[19:38:48] <SWPadnos> frallzor, could you put the errors you see onto pastebin.ca?
[19:39:09] <frallzor> atm it seems the author made some change in the path
[19:39:15] <frallzor> so just trying to find the correct one
[19:40:07] <Guest745> hi all, anybody here that can answer a pyVCP question?
[19:40:21] <tom3p> plz ask
[19:41:29] <Guest745> in the wiki adding custum midi buttons there is an example to add a rapid to home button
[19:41:56] <Guest745> when I modify the the files, emc2 won't load
[19:42:12] <Guest745> doesn't like the post gui file command
[19:43:26] <SWPadnos> you probably have a typo somewhere
[19:43:40] <SWPadnos> run emc from a terminal and look at the error(s) you get
[19:43:41] <Guest745> I did a cut and paste
[19:43:57] <Guest745> error says
[19:44:44] <SWPadnos> (please cut and paste the error, don't transcribe :) )
[19:44:50] <Guest745> halhalui.mdi-command-00 doesn not exist
[19:45:09] <Guest745> using a java plugin won't let me paste
[19:45:15] <SWPadnos> really
[19:45:17] <SWPadnos> strange
[19:46:48] <SWPadnos> I get a paste option in the right-click menu (on the edit line at least)
[19:47:01] <billybob> [15:47:10]<SWPadnos>I get a paste option in the right-click menu (on the edit line at least)
[19:47:09] <SWPadnos> see :)
[19:47:23] <billybob> (I'm SWPadnos, if you didn't guess)
[19:47:38] <Guest745> I'm using the (iassume SUN java) plugin
[19:47:51] <Guest745> it will paste into gedit
[19:48:31] <SWPadnos> just go to http://pastebin.ca and paste in the text of the terminal session
[19:48:39] <SWPadnos> and give us the link here
[19:49:46] <Guest745> how do I copy from the emc2 error window
[19:49:54] <SWPadnos> run from a terminal
[19:50:08] <SWPadnos> select the text with the mouse, then middle-click in the edit window on pastebin
[19:51:05] <Guest745> I'm pretty new to linux, what command to i need to run from terminal
[19:51:12] <SWPadnos> emc
[19:53:59] <Guest745> ok it's a patebin, /m196b86e0
[19:55:39] <SWPadnos> can you also paste the contents of your custom_postgui.hal file, your ini file, and any other hal files in your configuration?
[19:56:58] <SWPadnos> it seems likely that either halui isn't loaded, or somehow the mdi command pins aren't being created
[19:59:37] <Guest745> http://pastebin.com/m5375306a
[19:59:44] <Guest745> not being able to paste sucks
[20:00:10] <SWPadnos> you could always try a different IRC client
[20:00:19] <Guest745> any recommendations
[20:00:22] <SWPadnos> like chatzilla, an add-on to firefox
[20:00:40] <SWPadnos> there's also piudgin (I think) installed by default
[20:00:44] <SWPadnos> err, pidgin
[20:00:49] <SWPadnos> some people like xchat
[20:01:05] <SWPadnos> or you could ask skunkworks how he manages to paste using the web client
[20:01:21] <SWPadnos> (I'm on a Windows machine, so the JVM is guaranteed to be different than yours)
[20:01:33] <skunkworks> you can only do 1 line at a time. pastebin is much better
[20:02:27] <Guest745> i loaded chatzilla but will have to close firefox to restart, be back in a second
[20:02:36] <SWPadnos> ok
[20:04:35] <frallzor> * frallzor is giving up
[20:05:55] <SWPadnos> hmmm. trouble with chatzilla?
[20:06:01] <Guest301> yes
[20:06:18] <Guest301> just trying to get a grip on it
[20:06:29] <SWPadnos> you need to connect (they suggested using chat.freenode.net some time ago), then join #emc
[20:06:32] <archivist> I use a plain irc client xchat
[20:06:48] <micges> Guest301: did you have line in your inifile:
[20:06:48] <micges> [HAL] HALUI=halui ?
[20:06:51] <SWPadnos> the commands are connect and join, and you always use a / at the beginning of the command (which must come at the beginning of the line
[20:06:57] <SWPadnos> I was going to ask about that
[20:07:30] <Guest301> no
[20:07:54] <SWPadnos> add HALUI=halui to the [HAL] section of the ini file, and that should fix the problem
[20:08:30] <SWPadnos> note that your change will be deleted when you re-run stepcon, and I'm not sure there's a way to get stepconf to put that in for you
[20:09:42] <atom_> that fixed it
[20:09:55] <micges> Guest301: options to add halui is on 'Advanced configrations options' in Stepconf
[20:10:55] <SWPadnos> micges, is that true in non-TRUNK versions?
[20:11:07] <SWPadnos> or non-MASTER in git parlance
[20:11:10] <atom_> that fixed it and it works, thanks
[20:11:18] <SWPadnos> coo
[20:11:19] <SWPadnos> l
[20:11:26] <micges> I've run it from menu
[20:11:45] <atom_> I wanted to play with pyVCP and just started with the wiki info figuring it was the safest way
[20:11:49] <motioncontrol> hello at all
[20:12:22] <micges> SWPadnos: it is in 2.3.2
[20:12:28] <SWPadnos> ok, cool
[20:12:43] <Guest301> yes I just updated my machine to 2.3.2
[20:13:19] <Guest301> btw, atom_ is me, depends on which window I'm in
[20:14:31] <Guest301> was there a better place to start with pyVCP?
[20:14:51] <Guest301> documentation wise
[20:16:02] <micges> http://www.linuxcnc.org/docview/html//hal_pyvcp.html
[20:17:11] <SWPadnos> the wiki has examples of things people have done, but the individual pages aren't meant to be comprehensive
[20:17:47] <Guest301> ok, thank you for your help, off to learn more
[20:17:54] <SWPadnos> I added a note about HALUI=halui on the page you started from, but there's still a lot of information missing from there (which makes sense)
[20:17:58] <SWPadnos> sure. enjoy
[20:48:55] <atom_> I'm back, sorry I'm trying to understand the connection between a hal signal like parport.0.pin-10-in and the widget. For example the LED widget described here: http://linuxcnc.org/docs/2.2/html/hal_pyvcp.html defines the halpin as my-led in the xml, but then below says the default is led.n
[20:50:17] <sed_> Aloha everyone. With tuning, I have an axis that runs well except for when it gets close to the commanded position it takes a few seconds to remove the residual .002". What term in the tuning will help this?
[20:50:43] <cradek> sed_: does it overshoot or undershoot?
[20:51:23] <sed_> I think undershoots. What pins in Hal scope do I need to look at?
[20:51:28] <cradek> seeing the plot would help
[20:51:35] <cradek> commanded vs feedback position
[20:51:45] <cradek> if it undershoots you might just have too much D
[20:52:01] <cradek> or FF1 is wrong (if it has the .002 error throughout the move)
[20:52:23] <sed_> I'll setup hal scope and try it.
[20:52:56] <cradek> bbl
[21:02:45] <atom_> atom_ is now known as nebee2emc
[21:04:04] <sed_> the signals are so close together that I cannot tell the error at the end of the move.
[21:06:48] <Jymmm> http://pastebin.com/m7fa552af
[21:08:40] <skunkworks> phishing?
[21:09:07] <Jymmm> skunkworks: Google Voice VM translation.
[21:09:25] <Jymmm> speech-to-text
[21:10:07] <Jymmm> they even wrapped the AC +number properly
[21:10:59] <sed_> How does the FERROR and MIN_FERROR effect tuning or does it at all?
[21:11:03] <Jymmm> I think it did a pretty good job.
[21:17:39] <skunkworks> ferror and min_ferror is how far command and actual postion can deviate before the machine e-stops.
[21:25:56] <sed_> What keeps the pid going until the axis reaches the commanded position?
[21:27:58] <anonimasu> the requested versus actual position
[21:30:22] <sed_> I am giving it a G1X0F10. the axis moves to within .001" or .0015", then paused for a few moments then slowly moves to the position.
[21:31:37] <sed_> Also where do I change the gui to display for decimal places for the positions?
[21:32:07] <sed_> Sorry, Also where do I change the gui to display more decimal places for the positions?
[21:32:56] <anonimasu> how large is your deadband?
[21:34:00] <sed_> I have it set to 1 count of the encoder which is .00005"
[21:34:27] <anonimasu> I'm not a expert, but it sounds like your pid isnt properly tuned
[21:34:41] <anonimasu> so instead of being critcally dampened it's overdampened..
[21:36:06] <sed_> Overdamped is too much I?
[21:36:13] <SWPadnos> no, too much D
[21:36:28] <SWPadnos> D is often called damping
[21:36:36] <SWPadnos> (convenient, no? :) )
[21:37:10] <sed_> I have very little D = 8
[21:37:27] <SWPadnos> "very little" is relative
[21:37:33] <SWPadnos> what's I?
[21:37:34] <sed_> OK
[21:37:52] <sed_> I = 1200, P = 2500
[21:37:56] <SWPadnos> yow
[21:38:06] <SWPadnos> anf FF0, FF1, FF2?
[21:38:10] <SWPadnos> and
[21:38:39] <sed_> FF0 = 0, FF1 = 0.6, FF2 = 0
[21:39:05] <SWPadnos> hmmm
[21:39:22] <SWPadnos> what kind of morot drive do you have again?
[21:39:24] <SWPadnos> gah
[21:39:26] <SWPadnos> motor
[21:39:52] <sed_> Baldor AC Servo motors and drives
[21:40:16] <SWPadnos> velocity mode, torque mode, voltage mode, or current-mode?
[21:40:39] <sed_> current mode
[21:41:57] <SWPadnos> hmmm. OK. I don't know the specifics of tuning current-mode drives
[21:42:29] <sed_> I'll switch it to velocity and see what I can do.
[21:42:52] <SWPadnos> velocity mode should be a lot easier to tune, I'd think
[21:43:01] <SWPadnos> but the numbers will be totally different, of course
[21:43:20] <sed_> Yes, I'll start over with the tune.
[21:43:25] <SWPadnos> you should set the DAC scaling so that sending a "1.0" to the DAC causes the motor to go 1 unit per second
[21:44:18] <SWPadnos> if you look at the mailing list archives in the last week or two, there have been a few comments on good tuning procedures
[21:44:40] <sed_> OK, I'll check them.
[21:46:27] <sed_> Does EMC have the ability to talk to servo amps with serial at 9600 baud.
[21:46:37] <SWPadnos> no
[21:47:03] <SWPadnos> it shouldn't be too hard to write a userspace program to do that, if you're thinking about updating settings and that kind of thing
[21:47:23] <SWPadnos> of course, you'd have to know the serial protocol, which isn't always readily available
[21:47:38] <sed_> I have that information
[21:47:54] <SWPadnos> is it modbus or some other standard protocol?
[21:48:42] <sed_> These amps can run in a following mode where the encoders are connected to the amps and the amps output an encoder to the control. It also has RS-485 serial.
[21:49:38] <SWPadnos> the best way to run the drive is in the dumbest mode it has, but either velocity or torque mode (not current or voltage)
[21:49:58] <SWPadnos> RS-232/485 is not usable with EMC2 for coordinated motionpositioning
[21:50:04] <SWPadnos> s/positioning//
[22:00:39] <sed_> Seting the OUT_PUT SCALE to will be a challenge.
[22:02:42] <SWPadnos> not in velocity mode - that's the easiest mode to do it in
[22:03:57] <SWPadnos> if the axis goes 2 IPS with a 10V command, then you need 1.0 on the DAC HAL pin to result in 5V output
[22:04:17] <SWPadnos> so the scale will be either 5.0 or 0.2 (5 or 1/5), depending on how that driver is written
[22:04:42] <sed_> I calculated .15
[22:04:43] <SWPadnos> (some treat scale as "the highest number I should see", others as "what I should multiply the inout by" - I don't know which STG does)
[22:04:52] <SWPadnos> mm or inch?
[22:05:34] <sed_> I use inch
[22:05:53] <SWPadnos> so you have a 1.5 IPS max speed?
[22:05:58] <SWPadnos> (on that axis)
[22:06:42] <sed_> I calculated by the max rpm * screw pitch / 60
[22:07:22] <sed_> I guess I should multiply that by ten to get the max.
[22:07:56] <SWPadnos> probably
[22:09:08] <SWPadnos> if you have feedback working correctly, you can stick a battery (like an AA) on the amp command input and look at the velocity in HAL
[22:10:13] <sed_> OK I'll try it. I guess I'll have to bypass the enable so it wont fault out.
[22:10:21] <SWPadnos> oh, true
[22:10:44] <SWPadnos> and of course EMC shouldn't be "on", it should be in "estop reset" or "Machine off" state
[22:12:11] <sed_> Correct.
[22:12:49] <sed_> What HAL pin reads the velocity?
[22:13:08] <SWPadnos> there should be a velocity output from the STG encoder
[22:15:26] <sed_> I have to have Lunch. I'll be back later. Thanks
[22:22:10] <frallzor> possible to update xorg in ubuntu installed from the live-cd?
[22:43:15] <skunkworks> 61° here.
[22:55:01] <LawrenceG> skunkworks, you still around?
[23:32:29] <skunkworks> LawrenceG: yes
[23:44:03] <LawrenceG> skunkworks, opps... walked away for a Friday afternoon cocktail with the wife
[23:45:44] <LawrenceG> skunkworks, I got a job using a 33fj128mc202 pic.. it looks like it will make a dual servo controller
[23:48:39] <LawrenceG> skunkworks, that is one wild chip.... I/O pins for the various peripherals can be programmed to any of 16 pins
[23:52:46] <skunkworks> neat