#emc | Logs for 2010-03-02

[00:01:26] <andypugh> Does anyone know if it is possible to control the layout of PyVCP radio buttons? O would prefer a 2x3 layout to a single column
[00:12:23] <Jymmm> Sure, you can change the layout, but not sure how to do it in such a way that you could save/reapply your changes after the next update.
[00:13:16] <andypugh> Update?
[00:14:00] <SWPadnos> there are hbox and vbox elements, which arrange their children in horizontal or vertical arrays
[00:14:07] <SWPadnos> the default is more or less a vbox, I guess
[00:14:40] <SWPadnos> (a vbox containing two hboxes, each with 3 buttons, would give you a 2x3 arrangement)
[00:15:22] <andypugh> I think it would be simple with checkboxes, but radio buttons are a "family" and all defined in one line of the radio button XML
[00:15:40] <SWPadnos> oh hmmm. then no, I don't know if that's possible
[00:16:18] <Jymmm> toss in a linebreak maybe
[00:16:35] <SWPadnos> it's the radio button control itself
[00:17:23] <andypugh> <choices>["Turning","Facing","Boring","Threading", "Grooving"]</choices>
[00:18:02] <andypugh> Are you suggesting a line-break in one of the tag names?
[00:19:04] <Jymmm> Well, not necessarily a "\n" as much as <br />
[00:20:26] <andypugh> It would have to go in the middle of the string array, I can't see that working?
[00:20:53] <Jymmm> try it in various methods
[00:21:00] <andypugh> I have.
[00:21:31] <andypugh> Though by no means all possible methods, I am sure.
[00:21:58] <Jymmm> post the file on codepad
[00:22:02] <Jymmm> post the file on codepad.org
[00:22:27] <andypugh> I might have a look through the Widgets code to see if there are undocumented parameters.
[00:22:53] <andypugh> I can paste the code here, is is 4 lines....
[00:23:09] <andypugh> <radiobutton>
[00:23:09] <andypugh> <choices>["Turning","Facing","Boring","Threading", "Grooving"]</choices>
[00:23:10] <andypugh> <halpin>"Mode"</halpin>
[00:23:10] <andypugh> </radiobutton>
[00:23:22] <Jymmm> Or, you could post the ENTIRE file on codepad.org
[00:23:27] <andypugh> That's all there is...
[00:24:17] <andypugh> If you think that the rest of the file will help, I can do that..
[00:25:38] <andypugh> Lines 67 to 73 at http://www.pastebin.ca/1818146
[00:26:57] <SWPadnos> pygtk.org appears to be down, but I'd look there (or somewhere else) for information on making gtk radio button groups have multiple columns
[00:34:30] <Jymmm> <radiobutton>
[00:34:30] <Jymmm> <choices>["Turning","Facing","Boring"]</choices>
[00:34:31] <Jymmm> <choices>["Threading", "Grooving"]</choices>
[00:34:33] <Jymmm> <halpin>"Mode"</halpin>
[00:34:35] <Jymmm> </radiobutton>
[00:34:37] <Jymmm> I dun know...
[00:34:57] <andypugh> I think I tried that way, and it didn't work.
[00:35:19] <Jymmm> jepler should know
[00:35:32] <andypugh> Though I ought to try again as I might have included another error
[00:36:04] <andypugh> Aye, or Anders, looking at the pyvcp_widgets.py fle
[00:43:02] <andypugh> I thought that the syntax above crashed Axis, but actually it was that the pins were missing that were referenced in custom-postgui which were the problem. Splitting the choices means that only the ones in the second line get created.
[00:47:45] <Nick001> Dumb Question - will emc2 directly control thru parport/optocoupler the ssr's on a hardinge CHNC?
[00:49:26] <andypugh> I would imagine so.
[00:50:22] <andypugh> I am controlling SSRs, Mechanical relays and VFD button-inputs with the outputs of a Mesa card and a buffer IC
[00:58:56] <clytle374> SWPadnos, has anyone successfully loaded mesa firmware with that kernel? It getting the same errors.
[01:14:05] <JT-Hardinge> hmmm the spindle is moving
[01:15:31] <Jymmm> * Jymmm sends a priest to JT-Hardinge's to perform an exorcist
[01:15:40] <skunkworks> across the room? is that good?
[01:15:54] <SWPadnos> clytle374, no idea
[01:16:02] <Jymmm> skunkworks: Why do you think I'm sending a priest for
[01:16:25] <clytle374> SWPadnos, thought maybe you were the owner
[01:16:37] <SWPadnos> nope. I think mozmck built those
[01:16:58] <SWPadnos> not sure though
[01:17:06] <SWPadnos> what mesa card?
[01:17:43] <JT-Hardinge> gee thanks Jymmm
[01:17:49] <JT-Hardinge> at least it moves
[01:17:51] <JT-Hardinge> LOL
[01:18:13] <Jymmm> JT-Hardinge: Hey, no demon possed machinery, m'kay
[01:18:27] <SWPadnos> unless you get good videos
[01:18:29] <Jymmm> JT-Hardinge: That goes for zombies too
[01:18:36] <clytle374> 5i20 but need to patch emc for the 7I48 card.
[01:19:02] <mozmck> I don't have any mesa cards (yet) so I can't even test that.
[01:19:10] <SWPadnos> what error do you get?
[01:19:15] <mozmck> I'm trying to get newer packages made soon now.
[01:19:59] <clytle374> loads hostmot2 fine.
[01:21:15] <SWPadnos> there should be an error, either printed on the terminal or in dmesg
[01:21:35] <clytle374> soory, i'm trying to get it.
[01:22:02] <SWPadnos> ok, stick a log of some sort on http://pastebin.ca when you get a chance
[01:23:09] <clytle374> I wiped out a bunch of stuff, looking for the firmware now.
[01:23:47] <clytle374> I'm loosing my mind obviously.
[01:24:08] <mozmck> makes debugging harder...
[01:24:17] <Eric_K1> Danimal-office: my bike frame is on the internet: http://www.flickr.com/photos/mcn7/4398766376/sizes/l/
[01:26:32] <JT-Hardinge> * JT-Hardinge watches the spindle spin while he tries to finger out what controls it LOL
[01:26:37] <clytle374> Okay, wasn't logged in in that terminal, didn't think I deleted it all. This is trying to load the firmware. I have tried lots of firmwares. My own 64bit smp kernel
[01:27:25] <clytle374> then 64-bit kernel, then decided it was a 64-bit issue and installed 32bit, now the experimental kernel,
[01:27:31] <tlab> whats a good base mesa card and where do you buy it?
[01:27:39] <clytle374> here is dmesg http://pastebin.com/0cK0T1ty
[01:30:09] <SWPadnos> huh. well, I don't know what's wrong by looking at that
[01:31:01] <SWPadnos> I'm assuming that you compiled emc2 yourself, since you need a patched version of hostmot for the 7i48 ...
[01:32:05] <andypugh> It looks like you might have the problem I often have there, a failure of RTAI to exit cleanly.
[01:32:16] <andypugh> Bah! he left
[01:32:48] <tlab> whats a good base mesa card and where do you buy it?
[01:32:59] <andypugh> Oddly enough, I was plotting making a bicycle frame myself this afternoon. Out of 48mm scaffolding tubing.
[01:33:01] <JT-Hardinge> 5i20 Mesanet.com
[01:33:11] <andypugh> 7i43, straight from mesanet.com
[01:33:57] <tlab> woa usb based?
[01:34:15] <SWPadnos> no
[01:34:20] <andypugh> 7i43 is normally used P-Port based
[01:34:21] <SWPadnos> PCI or parallel prot
[01:34:40] <SWPadnos> there is a USB connector on the 7i43, but I don't recall just what you can do with it. EMC2 doesn't use it
[01:35:26] <Nick001> will the mesa card work on a second pci parport card with a pico system installed?
[01:35:40] <SWPadnos> sure, as long as they're on separate parallel prots
[01:35:42] <SWPadnos> ports
[01:36:43] <SWPadnos> you can mix and match any drivers as you like, subject only to CPU and I/O processing time
[01:36:44] <andypugh> But it seems daft to install a PCI parallel port to connect to a Mesa card, when you could fit a PCI Mesa card (though it might make for simpler cabling in some situations)
[01:37:15] <SWPadnos> not much simpler, as you can't use more than 6' or so of parallel port cable to a 7i43, IIRC
[01:37:40] <Nick001> now all I have to do is get the pci card installed. do you normally have to edit 3-4 files to get it working?
[01:37:48] <SWPadnos> it's still nearly $100 cheaper to use a 7i43+parallel port card, but it gives you less I/O and worse performance
[01:38:05] <SWPadnos> at least two, could be as many as you like ;)
[01:38:28] <SWPadnos> actually, you may not have to edit the ini file, so the minimum is only one file
[01:39:10] <andypugh> clytle374: Type lsmod, what do you see?
[01:39:48] <Nick001> the install intructions on the card are poining to about 4 files in the etc
[01:39:52] <andypugh> I think that that pastebin might be a failed HAL boot due to the rtai_sched and rtai_math modules not having quit cleanly.
[01:41:45] <Jymmm> SWPadnos: Does the pci mesa have a limitation on cabling length?
[01:41:58] <clytle374> it was a clean reboot, once it fails you have to reboot. lsmod http://pastebin.com/KXgQeczC
[01:42:01] <SWPadnos> Jymmm, it's likely to be cable and noise limited
[01:42:10] <clytle374> crappy time to loose net connection
[01:42:58] <Jymmm> SWPadnos: So you cant run 25-20' cabls to steppers?
[01:43:17] <Jymmm> 15-20'
[01:43:35] <andypugh> that's an lsmod with emc running?
[01:44:10] <clytle374> you can't unload it after the error.
[01:46:28] <andypugh> It might be worth removing lp from the load-at-boot modules file. (and just about everything else too). I can't remember the name of the file that lists them though.
[01:47:53] <andypugh> lsmod on my machine only shows 5 modules, and 12 with emc running.
[01:48:18] <mozmck> clytle374: you need to block parport_pc if you are using the parallel port
[01:49:32] <clytle374> I'm just doing a halrun; loadrt hostmot2; and then loadrt hm2_pci config=" blah blah
[01:50:05] <andypugh> Which emc version?
[01:50:14] <clytle374> git
[01:50:40] <andypugh> I think that requires parport_pc then
[01:50:57] <andypugh> What do you have in your /etc/modules file?
[01:51:06] <mozmck> Does it require it? I know you don't have to block it anyhow...
[01:51:54] <mozmck> for anything greater than 2.3.x that is...
[01:52:00] <andypugh> I am a bit fuzzy on it, but seem to recall that it had to be a loadable module, not an installed kernel function, when I built my custom kernel
[01:53:02] <clytle374> /etc/modules contains lp
[01:53:20] <andypugh> And that is all?
[01:53:39] <clytle374> yes
[01:54:05] <andypugh> Probably not the problem, but you could try commenting it out.
[01:54:31] <clytle374> Does it matter since I'm olny trying to load the mesa firmware?
[01:54:38] <clytle374> I'll try it.
[01:54:41] <mozmck> I wonder why all the file systems are loaded?
[01:54:54] <andypugh> Hang on, is this a PCI card or a p-port card
[01:55:05] <clytle374> 5i20 pci
[01:55:17] <andypugh> Ignore me, I have the wrong end of the stick then.
[01:55:52] <andypugh> But it does seem a very extensive modules list.
[01:56:36] <clytle374> Not sure why, there wasn't that many with my kernel
[01:57:13] <andypugh> 2am, need to sleep.
[01:57:20] <andypugh> Good luck.
[01:59:03] <clytle374> This is new. The the kernel is loading com20020_pci for the mesa card. I'd think that was the problem, but it wasn't happening before
[01:59:47] <clytle374> Kernel driver in use: hm2_pci Kernel modules: com20020-pci
[01:59:52] <mozmck> That's interesting, I was going to ask what that was.
[02:00:14] <clytle374> I didn't even have that built in my kernel so that wasn't the problem
[02:00:42] <clytle374> The card was getting an irq of 255 on the 64bit kernel
[02:02:03] <clytle374> I've installed ubuntu 9.10 64bit twice, 32bit twice and about 40 kernels between them.
[02:02:27] <clytle374> Full time job for 5 days now. Starting to want to throw things
[02:03:40] <clytle374> I get real good latency test
[02:06:53] <clytle374> bbl
[02:15:54] <tlab_> what kind of latency are you getting?
[02:17:39] <clytle374> I posted it here earlier, don't remember off the top of my head
[02:18:15] <tlab> I get about 15,000
[02:21:03] <clytle374> 5,000
[02:25:27] <clytle374> BUG: unable to handle kernel paging request at f8e32046 Bug in what?
[02:31:01] <Guest404> I have a major linux/emc problem. I was on earlier in the day asking about a step_conf wizard session that resulted in a system that would hang the computer when EMC2 booted - freezing up everything. I got some good ideas to try BUT since then I have discovered that even booting off the CD and running the sim "fake" machine causes the whole PC to hang. The same CD loads on another computer and runs OK. The PC in question has a 2.
[02:37:32] <seb_kuzminsky> Guest404: running sim shouldnt hang the computer. Does it pass memtest (also on the EMC2 LiveCD, i think)?
[02:38:06] <SWPadnos> it's a sim config, not running in sim (non-RT) mode
[02:38:19] <SWPadnos> so it still loads RT, but no hardware drivers
[02:38:35] <seb_kuzminsky> oops
[02:38:52] <seb_kuzminsky> SWPadnos: Thoth Industries? ;-)
[02:39:03] <SWPadnos> seb_kuzminsky, did you see the pastebin from clytle374 ?
[02:39:06] <SWPadnos> no, Thoth Systems :)
[02:39:11] <seb_kuzminsky> heh
[02:39:20] <seb_kuzminsky> logger_emc: bookmark
[02:39:20] <seb_kuzminsky> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-03-02.txt
[02:39:37] <SWPadnos> huh. I wonder why my backscroll buffer is suddenly only about 100 lines long
[02:40:39] <SWPadnos> but I don't wonder enough to stay awake trying to find out. night all
[02:40:40] <seb_kuzminsky> ah that sucks
[02:40:49] <seb_kuzminsky> seeya SWPadnos
[02:40:56] <clytle374> night
[02:41:23] <seb_kuzminsky> clytle374: hi i just saw your pastebin with the hostmot2 bug
[02:41:38] <clytle374> is the bug in hostmot2?
[02:41:49] <seb_kuzminsky> i'm not sure yet, but it does look suspicious
[02:41:56] <seb_kuzminsky> is this on a 32-bit machine or 64-bit?
[02:42:03] <clytle374> Thanks for any help, I'll do what I can to help.
[02:42:18] <clytle374> It is a 32-bit machine. Ubuntu 9.10.
[02:42:44] <seb_kuzminsky> i've never tried it on 9.10
[02:42:55] <seb_kuzminsky> i also dont recognize the bitfile, where did you get it?
[02:42:58] <clytle374> I had the same error a few days ago on 64-bit smp, tried non smp, then 32 bit
[02:43:44] <clytle374> I built it for the muxed card. I have tried 'factory' bit files with the same results. It was the only on I could get quick for the post
[02:43:53] <clytle374> only one
[02:44:26] <clytle374> I'm using the experimental 9.10 packages now, trying to drill the problem down
[02:45:23] <clytle374> I can load the firmware with the live 8.04. Not my firmware, but I kinda expect that since it emc requires a patch.
[02:45:44] <clytle374> The patch is not applied to the current machine
[02:46:41] <Jymmm> clytle374: Do you have a particular reason for al this customization you keep applying unsuccessfully?
[02:48:14] <clytle374> It is needed for the 7I48 daughter card. emc is straight from git master.
[02:49:31] <clytle374> rtai was magma CVS, not sure what is in the experimental packages. kernel is or for the experimental packages
[02:57:44] <skunkworks> I thought it was to get a little better latency (reason for the custom kernel)
[02:59:27] <clytle374> skunkworks, While you are compiling a kernel, why not remove unnecessary items? That was the game at first, but I didn't have my mesa cards yet either.
[02:59:51] <clytle374> Now I'm just trying to get something to work
[03:00:20] <seb_kuzminsky> clytle374: try this: http://pastebin.com/0cK0T1ty
[03:00:54] <skunkworks> because the git version of emc will run fine on the stock kernel... ;) (I do stuff like this all the time) Ask me about my 'simple' h-bridge I spent a lot of time on that I probably am not going to use any time soon.
[03:01:07] <seb_kuzminsky> i noticed a missing sanity check on the incoming bitfile, this patch adds it (plus some belts & suspenders stuff)
[03:04:03] <clytle374> seb_kuzminsky, I don't see a patch, looks like my dmesg
[03:04:18] <seb_kuzminsky> ah sorry
[03:04:25] <seb_kuzminsky> http://pastebin.ca/1818342
[03:04:44] <seb_kuzminsky> i forgot cut-n-paste buffers dont carry over from virtual machines to the host machine :-/
[03:05:12] <clytle374> I see a download link.. wget?
[03:06:54] <seb_kuzminsky> there's a "download raw" link on the left, click it and save the document you get, apply it with "patch -p1 < FILE" in the root of your up-to-date master checkout
[03:06:59] <seb_kuzminsky> then rebuild and try it
[03:07:30] <clytle374> building now
[03:09:02] <seb_kuzminsky> i'm holding my breath and crossing all my fingers
[03:09:09] <clytle374> I'm working on it through ssh, too cold where the machine is at
[03:09:15] <clytle374> fingers and toes
[03:09:26] <seb_kuzminsky> ugh, sounds like my garage...
[03:09:38] <seb_kuzminsky> this is vanilla master? or do you have local changes?
[03:10:17] <clytle374> or a 200 year old part of the house
[03:10:38] <clytle374> no changes. trying to make your life easier;)
[03:10:47] <seb_kuzminsky> thx, i appreciate it :-)
[03:13:31] <seb_kuzminsky> to make my life even easier, would you try loading one of the standard firmwares first? then if that works we can try your custom one
[03:13:34] <clytle374> bad news, same thing.
[03:13:45] <clytle374> I did,
[03:13:57] <clytle374> SV12.BIT. easiest to type
[03:14:01] <seb_kuzminsky> cool
[03:14:34] <seb_kuzminsky> is the dmesg exactly the same? can you pastebin it?
[03:15:28] <Danimal-office> hi
[03:16:40] <clytle374> here it is. http://pastebin.com/6f5UrdPH I will be back in 10 min, battery is dead
[03:25:35] <clytle374> Back home and the netbook is reacquainted with its charger
[03:25:56] <Danimal-office> horray for netbook
[03:26:41] <clytle374> Best $250 I ever spent.
[03:28:21] <seb_kuzminsky> clytle374: http://pastebin.ca/1818378 (applies to clean master, not on top of the previous patch)
[03:28:35] <seb_kuzminsky> bunch more debugging output, no real fix tho
[03:29:29] <clytle374> okay, can the patch be backed out of? I know I should have a back up, but got pissed and was taking shortcuts.
[03:30:05] <seb_kuzminsky> "git checkout FILE" will revert any local changes to that file
[03:30:26] <seb_kuzminsky> or if you're feeling masochistic, "patch -R" removes a patch
[03:32:04] <clytle374> git checkout src/hal/drivers/mesa-hostmot2/bitfile.c was that it?
[03:32:10] <seb_kuzminsky> yeop
[03:33:38] <clytle374> should I have make clean?
[03:33:42] <seb_kuzminsky> no need
[03:33:54] <seb_kuzminsky> just checkout bitfile.c, apply the new patch, and run make
[03:34:51] <clytle374> good takes longer. My desktop is 64bits so I had distcc on it to speed up the endless rebuilds, but doesn't work so easy/well between 32/64 machines
[03:35:10] <clytle374> no ./configure?
[03:35:22] <clytle374> I guess that isn't needed
[03:35:28] <seb_kuzminsky> are you using distcc spread across 64-bit & 32-bit machine to build emc?
[03:35:33] <seb_kuzminsky> no need for configure
[03:39:02] <clytle374> same thing + more I remembered to clear dmesg this time, http://pastebin.ca/1818390
[03:39:48] <clytle374> No distcc was not installed on the 32 machine, only when I was building 64 bits. Causes trouble if you mix them up
[03:40:39] <tom4p> i have trouble calling a sub file. the examples i wrote years ago on the wiki dont work. heres a simple test. http://pastebin.ca/1818392
[03:43:18] <seb_kuzminsky> clytle374: well that looks good
[03:43:22] <seb_kuzminsky> hmm
[03:43:53] <seb_kuzminsky> did request_firmware() change between 2.6.24 and 2.6.31? is the firmware that the kernel fetches read-only now?
[03:46:10] <clytle374> I don't know about the change. It is owned by root now, I'm pretty sure it wasn't in the past. Wan't me to change it?
[03:50:54] <tom4p> jt-plasma: the oword file call here doesnt work http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,20/id,958/lang,english/ any ideas?
[03:55:19] <seb_kuzminsky> clytle374: http://pastebin.ca/1818413
[03:55:24] <seb_kuzminsky> i got a good feeling about this
[03:58:56] <clytle374> (Stripping trailing CRs from patch.)??? Okay?
[03:59:14] <seb_kuzminsky> why? doesnt it apply cleanly to top of master?
[04:00:02] <clytle374> I did
[04:00:09] <clytle374> git checkout src/hal/drivers/mesa-hostmot2/bitfile.c
[04:00:25] <clytle374> patch -p1 < 1818413
[04:01:16] <cradek> why add all the unnecessary parentheses in that patch?
[04:01:37] <seb_kuzminsky> because i'm not very good at c operator precedence...
[04:02:19] <clytle374> I didn't get an error, just several of the (Stripping trailing CRs from patch.)
[04:02:19] <seb_kuzminsky> + and - are higher precedence than deref
[04:02:25] <seb_kuzminsky> clytle374: should be fine
[04:02:43] <cradek> no they're not...
[04:03:35] <seb_kuzminsky> oh, that's unary + and unary -
[04:03:40] <seb_kuzminsky> see, i told you i'm not very good ;-)
[04:04:03] <cradek> - chunk->data = &fw->data[*i];
[04:04:04] <cradek> + chunk->data = &fw->data[(*i)];
[04:04:11] <cradek> no offense, but this one's extra silly :-)
[04:04:18] <seb_kuzminsky> ok ok i'll take it out before i commit
[04:04:34] <cradek> are you guys finding the 64 bit problem (if there is one)?
[04:04:59] <seb_kuzminsky> i think (and clytle374 is checking) that in 2.6.31, the buffer you get back from request_firmware is mapped in read-only
[04:05:25] <cradek> oh so you can't byte swap in-place?
[04:05:29] <seb_kuzminsky> right
[04:05:31] <clytle374> new to me message make: warning: Clock skew detected. Your build may be incomplete.
[04:05:48] <seb_kuzminsky> so now i byte-swap as i write it out instead
[04:06:16] <cradek> the kernel guys sure change stuff around
[04:06:26] <seb_kuzminsky> they like to keep us on our toes
[04:06:35] <seb_kuzminsky> if that's even what it is... we'll see
[04:06:43] <cradek> they have no concept of not breaking APIs except in major version number changes
[04:08:51] <clytle374> sorry, http://pastebin.ca/1818425
[04:11:15] <clytle374> shall a undo that patch?
[04:11:16] <seb_kuzminsky> clytle374: something went wrong with your build, the function that's erroring in that dmesg is not called any more
[04:11:59] <seb_kuzminsky> cradek: they're talking about dropping the "2.6" prefix, so each new kernel is a major version number change
[04:13:05] <cradek> I was going to say they ought to just use increasing integers, because they have no major/minor organization - but I figured it would just be whiny
[04:13:12] <cradek> so, it's funny you should say that.
[04:13:25] <clytle374> um, what now?
[04:14:07] <Danimal-office> cradek: remember that control i showed you i said i could get from Fadal?
[04:14:42] <cradek> yes
[04:15:02] <Danimal-office> they said i can come get it for $400
[04:15:21] <cradek> going to?
[04:15:23] <Danimal-office> comes with the pendant and everything, including a bunch of fanuc cards that i can ebay
[04:15:35] <cradek> neat
[04:15:54] <Danimal-office> thinking about it... more than i want to spend, but it is brand new
[04:16:44] <Danimal-office> looks to be the perfect control since it has the keyboard and all the high quality buttons and pendant, including the big swivel arm
[04:17:08] <seb_kuzminsky> clytle374: how did you apply the patch?
[04:17:25] <cradek> yeah, seems like plenty of $ for 'parts'
[04:17:34] <clytle374> cory@cory-cnc:~/emc/emc2-dev$ patch -p1 < 1818413
[04:17:49] <seb_kuzminsky> well that looks reasonable...
[04:18:13] <clytle374> clean?
[04:18:26] <Danimal-office> http://kzekkani.com/Projects/104.gif
[04:18:54] <seb_kuzminsky> try "grep reverse ~/emc/emc2-dev/src/hal/drivers/mesa-hostmot2/hostmot2.c"
[04:18:54] <Danimal-office> think it's a little steep cradek, or would you jump on it?
[04:19:04] <Danimal-office> i know, you prefer touchy
[04:20:10] <tom4p> re: file call this o-word file call facility just doesnt work, the code is ignored/skipped over, no errs occur. i have no idea how far back i'd need to go to get it to work again. others have reported similar in last few days. zramaro 2010/02/24 08:01 is this feature abandoned?
[04:20:10] <clytle374> nothing
[04:21:54] <clytle374> I'm still doing halrun; loadrt hostmot2; loadrt hm2_pci config="firmware=5i20/SV12.BIT"
[04:22:16] <seb_kuzminsky> i think somehow you're getting the wrong hostmot2 module
[04:22:34] <cradek> heh, doesn't matter whether I'd buy it...
[04:22:43] <seb_kuzminsky> how did you compile after your applied the patch?
[04:22:50] <clytle374> make
[04:22:55] <seb_kuzminsky> hmm
[04:23:18] <clytle374> it is run in place
[04:23:27] <cradek> I guess you have to compare it to buying a bunch of steel, welding it up, and painting it... that's not very quick/easy/cheap either
[04:23:57] <cradek> tom4p: is there a full bug report somewhere I can see?
[04:24:46] <tom4p> what can i get for you?
[04:25:52] <tom4p> example was posted at http://pastebin.ca/1818392
[04:25:54] <cradek> sample program that shows incorrect behavior. it'd be best if you'd put it in the sf bug tracker because it might be something ken needs to handle, and he doesn't monitor here
[04:26:57] <Danimal-office> cradek: i figure the pendant is at least worth 1/4 of that, plus each button with the contact block is at least $50 new, and the industrial keyboard isnt cheap either
[04:27:00] <tom4p> uh, i didnt know sf was involved after move to git, will look at sf
[04:27:14] <cradek> tom4p: what's the behavior? I see a M2 in xxx.ngc which surprises me
[04:27:41] <tom4p> M2 is in the dcos on wiki and .org, even tho it doesnt make sense
[04:27:57] <Danimal-office> m2 to end a program?
[04:28:01] <tom4p> the behaiviour is that the called file doesnt get exec'd, just skipped over
[04:28:14] <Danimal-office> the emc post for mastercam uses m2 for the end of programs
[04:28:55] <tom4p> (m2 doesnt make sense because it doesnt get interp'd becuz its after the return to caller)
[04:29:10] <Danimal-office> oh
[04:29:11] <cradek> tom4p: yeah we still use the trackers on sourceforge
[04:29:20] <tom4p> and code in main DOES get execd after return, just squat doen in middle
[04:30:09] <Danimal-office> cradek: the lathe throws a ferror in x, but only in one direction... it also sounds a little rough in that direction. i think it's a brush maybe.
[04:30:25] <cradek> tom4p: this isn't my area of expertise but I think Ken L will hear about it if you make a bug report.
[04:31:00] <cradek> Danimal-office: could be motor or tach - scope will tell you which
[04:31:21] <seb_kuzminsky> clytle374: ls -al hostmot2.ko hal/drivers/mesa-hostmot2/hostmot2.c
[04:31:28] <seb_kuzminsky> in the emc2-dev/src dir pls
[04:31:53] <Danimal-office> how will scope tell me? what should i look at/look for?
[04:32:53] <cradek> put the scope across the tach (don't ground one side - use invert + add) and see if it's smooth
[04:33:11] <clytle374> ls: cannot access hostmot2.ko: No such file or directory
[04:33:14] <clytle374> -rw-r--r-- 1 cory cory 35302 2010-03-01 22:58 hal/drivers/mesa-hostmot2/hostmot2.c
[04:33:31] <clytle374> I jsut did make clean, and am making during that command
[04:33:39] <seb_kuzminsky> oh, that's why
[04:34:07] <seb_kuzminsky> you should just about never have to make clean
[04:34:16] <tom4p> sf has sedonc 'open cnc system base on emc2' and emc^2 'EMC² - Eclipse Mail Client' when emc2 is searched
[04:34:19] <seb_kuzminsky> but it shouldn't hurt
[04:34:32] <clytle374> I really, did something change with that in the last few years?
[04:34:45] <seb_kuzminsky> with make clean? i dont think so
[04:34:59] <Danimal-office> cradek: you mean a physical scope, or halscope, using a 5i20 input?
[04:35:02] <clytle374> okay, good to know
[04:35:16] <cradek> Danimal-office: physical!
[04:35:28] <Danimal-office> crappers, i dont know anyone with one
[04:35:34] <Danimal-office> nor do i have one
[04:35:40] <cradek> ouch
[04:36:05] <cradek> I've got a spare you can have, it only needs one hard-to-find part :-(
[04:36:17] <cradek> tom4p: sf.net/projects/emc/
[04:36:21] <Danimal-office> :(
[04:36:28] <clytle374> cradek, like the tube?
[04:36:46] <Danimal-office> i guess i should buy one maybe
[04:36:59] <Danimal-office> but i'm sure they cost as much as another HNC
[04:37:54] <cradek> no, if I remember right, it's the vertical amp IC
[04:38:06] <cradek> Danimal-office: you can get plenty of scope for $100
[04:38:14] <Danimal-office> used?
[04:38:32] <Danimal-office> never really looked at one since it was all greek to me
[04:39:04] <cradek> yeah 80s technology is what you want :-)
[04:40:01] <Danimal-office> it'll just match everything else in my shop
[04:41:03] <Danimal-office> i swapped out the pc in my mill, seems to work better
[04:41:15] <Danimal-office> seems to have fixed the flakey jogging
[04:41:22] <cradek> good
[04:41:27] <Danimal-office> and it has a real agp card in it now
[04:42:53] <Danimal-office> it was getting 10k for the servo thread, and 14k for the base thread... not perfect good enough, i would think, huh?
[04:43:26] <Danimal-office> doesnt seem to lock up when i run that long program anymore
[04:43:54] <Danimal-office> not perfect, but good enough*
[04:44:53] <cradek> ack, goodnight folks
[04:45:19] <clytle374> nite
[04:45:20] <seb_kuzminsky> seeya cradek
[04:45:22] <Danimal-office> nite
[04:45:31] <tom4p> gnite artifact successfully created
[04:46:19] <clytle374> almost done, sorry I got anxious
[04:46:38] <Danimal-office> clytle374: still working on that atom?
[04:47:00] <clytle374> yep
[04:47:33] <Danimal-office> wow
[04:47:39] <Danimal-office> giving you problems?
[04:48:03] <clytle374> understatement
[04:48:07] <Danimal-office> :(
[04:50:03] <clytle374> make: Leaving directory `/home/cory/emc/emc2-dev/src'
[04:50:15] <clytle374> make: Entering directory `/home/cory/emc/emc2-dev/src'
[04:50:27] <clytle374> it's running in a freaking loop
[04:50:35] <seb_kuzminsky> did you configure with --disable-build-documentation?
[04:50:44] <clytle374> no
[04:51:38] <seb_kuzminsky> i'm not finding anything about request_firmware having changed between 2.6.24 and .31, so maybe this is a red herring
[04:52:24] <clytle374> it's Depending the same 20-30 files over and over.
[04:53:50] <seb_kuzminsky> well that sounds wrong
[04:54:08] <seb_kuzminsky> do you have any goofy symlinks in your working dir?
[04:54:38] <clytle374> I didn't put any there on purpose.
[05:01:33] <clytle374> It still had hal hung up in the background, reboot and seems to be notlooping
[05:01:57] <clytle374> nope looping
[05:02:12] <clytle374> I mean it is looping :(
[05:02:37] <clytle374> make: Warning: File `config.h' has modification time 2.3e+03 s in the future
[05:04:03] <clytle374> restoring tree
[05:04:45] <seb_kuzminsky> dude your machine ain't right
[05:06:51] <clytle374> I'm getting that feeling too, wouldn't be the first barnd new something that was broke
[05:07:40] <clytle374> Just having a hard time believing that I can have the same problem in 2 different OS, but not the live CD
[05:07:45] <Danimal-office> cant find my windows cd :(
[05:07:49] <clytle374> and it be hardware
[05:08:10] <clytle374> Danimal-office, don't even look for it.
[05:08:20] <Danimal-office> i need it
[05:08:34] <Danimal-office> cant use mastercam or solidworks on linux
[05:09:09] <Danimal-office> and more importantly, cant watch netflix on linux
[05:09:29] <Jymmm> Danimal-office: You can in a VM
[05:09:39] <clytle374> This is also the first 'weirdness' I've had with this thing. Never had a problem with outher things I've built.
[05:09:52] <seb_kuzminsky> huh, look at this: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8d8fe198c6a756ae96617548af4776e7a86c0d3e
[05:10:17] <clytle374> Having hal going crazy in the background can't help.
[05:10:40] <Danimal-office> Jymmm: wouldnt that be worse than running a windows machine?
[05:10:51] <Danimal-office> and wouldnt i still need to find my windows cd?
[05:12:00] <Jymmm> Danimal-office: Not at all. But you either have to have a pre-built VM, or installer for hte OS you want to use, then just backup the VM you jsut created, and save for future installs
[05:12:10] <clytle374> seb_kuzminsky, In my non expert, and usually flawed opinion.... I think you found something
[05:12:36] <Jymmm> I have a generic XP VM I built, and I just copy that when I need different XP VM's
[05:12:49] <Danimal-office> nice
[05:13:20] <Danimal-office> so you're basically running an OS with an OS?
[05:13:31] <Jymmm> Sure.
[05:13:52] <clytle374> I've got a new tree, should I apply the last patch?
[05:13:54] <Danimal-office> and the machine wouldnt be slower than if it just had windows on it?
[05:14:13] <seb_kuzminsky> clytle374: sure, try it
[05:14:37] <Jymmm> Danimal-office: Well, dont try to use/setup a VM on a machine from 1942
[05:14:46] <Danimal-office> lol
[05:14:48] <Jymmm> Danimal-office: No cheap bastardness allowed
[05:14:59] <Danimal-office> i have to be cheap
[05:15:06] <Danimal-office> it's my MO
[05:15:16] <Jymmm> Then no NetFlix for you!
[05:15:37] <Danimal-office> well the problem would probably be solidworks
[05:15:50] <Danimal-office> that's a bit of a resource hog, as it mastercam
[05:16:21] <Danimal-office> the computer i have is just a 2.8ghz p4 HT with a decent video card
[05:16:39] <TD-Linux> working on a laser etcher hopefully controlled by emc :)
[05:16:54] <Danimal-office> TD-Linux: nice!
[05:17:02] <TD-Linux> a really really small one :P
[05:17:07] <Danimal-office> i want one
[05:17:09] <TD-Linux> with cd burner infrared diodes
[05:17:19] <Danimal-office> cool
[05:17:27] <Danimal-office> can it burn metal?
[05:17:29] <TD-Linux> probably will start with dvd diodes
[05:17:29] <clytle374> seb_kuzminsky, so if that is it, how hard is the fix?
[05:17:35] <TD-Linux> as they are less easy to destroy
[05:17:46] <TD-Linux> Danimal-office: no, sadly :(
[05:17:53] <TD-Linux> cutting metal with a laser is pretty insane
[05:18:03] <clytle374> I guess it will have to be fixed anyway, unless it's going to be 8.04 forever
[05:18:08] <TD-Linux> there are far better ways to cut metal :P
[05:18:19] <Danimal-office> well i mean engrave metal
[05:18:24] <TD-Linux> * TD-Linux is still on 8.04 on his laptop
[05:18:45] <TD-Linux> Danimal-office: no, only plastic and wood
[05:18:53] <TD-Linux> unless I have really soft metal
[05:19:43] <Danimal-office> i need to build something that can etch anodized aluminum
[05:20:59] <seb_kuzminsky> clytle374: it'll have to be fixed in emc 2.4, which will come out in April or May or so
[05:21:02] <TD-Linux> this might do it if you anodize it black :P
[05:21:09] <seb_kuzminsky> so thanks for testing it and letting me know
[05:21:34] <seb_kuzminsky> the last patch i sent you has the fix if the firmware gets delivered to the driver read-only
[05:22:53] <clytle374> I try to contribute, only qualified for testing and some docs..
[05:23:21] <clytle374> The firmware only needs to be written anyway, right?
[05:23:36] <Jymmm> famous last words
[05:24:34] <seb_kuzminsky> the firmware comes out of the Xilinx VHDL compiler in a different format than what the FPGA wants, so the driver has to transform it
[05:25:23] <seb_kuzminsky> it's slightly cleaner to transform it in place, but it can be done as in the latest patch: as it's written out to the FPGA
[05:25:25] <clytle374> is that the bitfile_reverse_bits_of_chunk message?
[05:25:47] <seb_kuzminsky> yeah, that's the function that tries to transform the firmware to the FPGA's preferred format
[05:26:58] <Jymmm> Danimal_office: ping
[05:29:19] <clytle374> well, we got a different message insmod: error inserting '/home/cory/emc/emc-test/rtlib/hm2_pci.ko': -1 Unknown symbol in module
[05:29:26] <clytle374> and dmesg http://pastebin.ca/1818519
[05:29:58] <seb_kuzminsky> heh
[05:30:15] <seb_kuzminsky> here's the commit that made fw->data readonly: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=drivers/base/firmware_class.c;h=8a267c4276291bb775e2590a6935825ae35e9305;hp=d3a59c688fe4fcaf0f7ebf514f44f59a08e90693;hb=6e03a201bbe8137487f340d26aa662110e324b20;hpb=091bf7624d1c90cec9e578a18529f615213ff847
[05:30:43] <clytle374> I don't understand, git pull?
[05:34:00] <clytle374> Now I understand A kernel git not a emc git.
[05:34:51] <seb_kuzminsky> ok try this one: http://pastebin.ca/1818530
[05:35:02] <seb_kuzminsky> it adds the missing symbols to hm2_pci (and hm2_7i43)
[05:35:34] <seb_kuzminsky> i should have seen the error before sending you the previous patch
[05:36:21] <Tecan> wich rt lib is --with-realtime looking for ?
[05:36:32] <clytle374> I shoulda done lots of things, that well didn't happen... No big deal
[05:36:42] <seb_kuzminsky> Tecan: RTAI
[05:36:46] <Tecan> thanks
[05:37:13] <clytle374> patch a clean tree? or on top of?
[05:37:18] <seb_kuzminsky> Tecan: it's in /usr/realtime-*
[05:37:22] <seb_kuzminsky> clytle374: clean tree
[05:37:33] <seb_kuzminsky> "git checkout" in the top dir resets the whole tree
[05:37:37] <Tecan> im on linux mint and i installed the realtime kernel
[05:37:45] <Tecan> linux mint is close to ubuntu though
[05:37:51] <Tecan> uses all the same debs
[05:37:56] <TD-Linux> whoa, motor controller in fgpa?
[05:37:57] <seb_kuzminsky> cool
[05:38:07] <seb_kuzminsky> TD-Linux: best place for it ;-)
[05:38:31] <TD-Linux> as of 5 minutes ago I got my apple II in my fpga working
[05:38:51] <TD-Linux> by "working" I mean the only external I/O being the speaker
[05:39:22] <TD-Linux> seb_kuzminsky: for simple stepper control I can see it, but for servo motions and stuff I don't think fpga would be optimal
[05:39:28] <seb_kuzminsky> TD-Linux: cool :-)
[05:39:36] <clytle374> seb_kuzminsky, doesn't work in a copy. I copied the tree this time.
[05:39:50] <seb_kuzminsky> TD-Linux: only part of the servo control that's done on the fpga is the pwm output and the encoder counting
[05:40:01] <seb_kuzminsky> emc2 closes the loop between those two up on the PC
[05:40:39] <Tecan> which is the latest rtai ?
[05:40:48] <Tecan> 4 or 24
[05:41:07] <Tecan> https://www.rtai.org/RTAI/
[05:41:07] <TD-Linux> seb_kuzminsky: okay that makes sense... FRC robots do the same thing
[05:41:21] <TD-Linux> seb_kuzminsky: what kind of interface goes between that and the PC?
[05:41:27] <Tecan> oops i see 3 in there too
[05:41:45] <seb_kuzminsky> TD-Linux: EPP, PCI, PCIe, PC/104, or PC/104-Plus
[05:41:57] <TD-Linux> that's quite a variety :P
[05:42:06] <seb_kuzminsky> it's a pretty flexible interface :-)
[05:42:45] <Tecan> 3.8 would be the latest i guess
[05:42:48] <TD-Linux> I have no clue how PCIe works
[05:43:36] <seb_kuzminsky> TD-Linux: it's like PCI, biggest difference (i think) is that it has good support for variable width busses
[05:44:56] <TD-Linux> I should add a PCMCIA interface for my laptop
[05:45:09] <TD-Linux> ... actually, my laptop's docking port has PCIe... that could work :P
[05:45:15] <TD-Linux> and EPP
[05:45:40] <seb_kuzminsky> PCMCIA is being replaced with ExpressCard, which is PCIe in a different form factor
[05:47:39] <seb_kuzminsky> clytle374: how's the build coming?
[05:48:20] <clytle374> jsut started it. I think the harddrive is failing.
[05:49:20] <clytle374> It was used. it came out of my grandma's computer. But free ofset the fact the computer died when grandma house was hit by lightening.
[05:49:30] <clytle374> I shoulda known better.
[05:50:30] <clytle374> It's so hot I'm surprised it's working, hang in there.
[05:55:41] <clytle374> If this works it will probably work in 64 bit too.
[06:03:05] <seb_kuzminsky> well i'm off to bed, clytle374 please tell me if it works (here in irc is fine, i'll see it in the morning)
[06:03:14] <seb_kuzminsky> thanks again for the bug report & all your testing
[06:03:17] <clytle374> ;/ I got this agian BUG: unable to handle kernel paging request at f8e3204d
[06:03:20] <clytle374> see ya
[06:04:52] <seb_kuzminsky> wait what? where?
[06:05:18] <clytle374> just like before
[06:05:33] <clytle374> I double checked that installed the right patch
[06:06:00] <seb_kuzminsky> argh, i sent you the wrong patch, sorry
[06:06:59] <seb_kuzminsky> 5th time's the charm, i always say
[06:07:07] <seb_kuzminsky> http://pastebin.ca/1818570
[06:07:32] <seb_kuzminsky> ok now i'm off to bed, see you tomorrow
[06:08:01] <clytle374> Thanks for helping. I was starting to go mad thinking I was screwing it up
[06:08:32] <clytle374> logger_emc, bookmark
[06:08:32] <clytle374> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-03-02.txt
[06:09:06] <Danimal_office> making any progress?
[06:14:16] <clytle374> I think. building now
[06:17:38] <clytle374> git checkout seems to list the changes but not revert them
[06:23:47] <clytle374> I'm sure that was the hard way. But patch went in this time.
[06:32:53] <clytle374> Danimal_office, ‎did you end up buying one?
[06:38:41] <Danimal_office> clytle374: no, i didnt yet
[06:39:24] <Danimal_office> i think i found one of my mobos that i thought was dead actually works
[06:39:50] <Danimal_office> the video card was bad, and a stick of ram was dead as well
[06:40:14] <Danimal_office> once i find my windows disk i'll know for sure
[06:40:30] <clytle374> I really hope it works. Cheap and real quick. Not fast at building software. But would make a real nice desktop if you didn't do games, cad, or stuff like that/
[06:40:48] <clytle374> oh, I thought you were building a control
[06:41:00] <Danimal_office> yea, it looks like a nice little home theater pc
[06:42:04] <Danimal_office> clytle374: yes, well, i was going to put the atom in my lathe, and take the dell that's in my lathe and use it as my windows box. My current windows box i just put into my mill, because the pc in there was kinda crappy
[06:42:23] <Danimal_office> kinda playing musical chairs
[06:42:37] <clytle374> probably be good for that. I might get one as a file server, to replace the desktop that's on 24/7.
[06:42:40] <clytle374> hehe
[06:43:01] <clytle374> doesn't use much power.. The fan is on the chipset, not the cpu
[06:43:02] <Danimal_office> yea probably more efficient
[06:43:39] <Danimal_office> i'm just trying to use what i have right now so i can allocate some funds for other stuff
[06:43:51] <Danimal_office> like socks
[06:44:28] <Danimal_office> nothing like new socks
[06:45:19] <clytle374> I know that feeling.
[06:45:39] <clytle374> testing now, I can't bare to look
[06:46:48] <clytle374> Now to see if the program light went on the card, it didn't crash.
[06:47:27] <Danimal_office> crossing fingers!
[06:47:28] <clytle374> It programed
[06:48:11] <Danimal_office> so far so good?
[06:48:15] <clytle374> After 6 18-20 hour days trying to get something to work.... I just lost my purpose in life;)
[06:48:21] <clytle374> It work
[06:48:26] <clytle374> worked
[06:49:20] <Danimal_office> w00t!
[06:49:28] <Danimal_office> nice job, congrats
[06:49:33] <clytle374> seb_kuzminsky, IT WORKS. Thank you.
[06:50:09] <clytle374> Danimal_office, tell seb_kuzminsky that. I just ruled out operator error.
[06:50:23] <clytle374> Not to try 64bits..................In the morning.
[06:51:42] <Danimal_office> cool
[06:51:48] <clytle374> Now to try
[06:51:52] <Danimal_office> well i'm off to bed, adios
[06:52:02] <clytle374> good night all. :):):)
[06:52:27] <Danimal_office> goodnight!
[07:38:13] <Tecan> hmmm
[07:41:19] <Tecan> if i were trying to build rtai it keeps saying my kernel tree is not configured
[07:41:52] <Tecan> how do i configure a kbuild ?
[08:14:26] <L84Supper> Tecan: did you read the RTAI howto?
[08:16:08] <L84Supper> Tecan: here's the ubuntu RATI howto http://neo-technical.wikispaces.com/emc2-ubuntu
[08:16:18] <L84Supper> RTAI even
[08:22:23] <BlackMoon> * BlackMoon looks to random new burns on his hand and arm
[08:22:28] <BlackMoon> now I remember why I hate turning steel.
[08:23:07] <BlackMoon> get a little too agressive and your lathe spits out a shower of firey doom
[08:23:15] <archivist> I always wear long sleeves
[08:23:18] <BlackMoon> and you gotta stick around to turn the fucker off.
[08:23:51] <BlackMoon> archivist: good *ouch* recommendation *ouch*
[08:23:56] <BlackMoon> * BlackMoon ices a burn
[08:26:00] <BlackMoon> What about the burns on my hands though?
[08:26:11] <BlackMoon> I mean I guess I could go back to HSS tooling :)
[08:26:21] <BlackMoon> Its only the blue and black chips that bother me
[08:26:32] <BlackMoon> silver/straw colored just bounce right off me like bullets off superman!
[08:26:33] <Tecan> * Tecan waves to BlackMoon
[08:26:37] <BlackMoon> only slightly less dramatic.
[08:26:41] <BlackMoon> hey Tecan
[08:37:27] <Tecan> thats strange its asking for qt3 when compiling the kernel with make xconfig
[08:37:41] <BlackMoon> they should make coolant for your hands.
[08:38:06] <Tecan> make oldconfig is working better
[08:38:34] <acemi> or make menuconfig
[08:38:59] <Tecan> ah yes much nicer ;)
[09:40:12] <micges_work1> hi bassogigas
[09:40:21] <micges_work1> micges_work1 is now known as micges
[09:40:30] <bassogigas> oh, hi!
[09:41:50] <micges> what's up?
[09:43:05] <bassogigas> i was in kazan', russia for two weeks. my wife lives there
[09:43:58] <bassogigas> and during this time i was robbed
[09:44:04] <bassogigas> here in minsk
[09:44:09] <micges> you don't live with her?
[09:44:20] <micges> ewww that's not good
[09:44:24] <bassogigas> i do live, she studies there
[09:45:04] <bassogigas> i will maybe move to kazan too
[09:45:16] <bassogigas> but i dislike russia
[09:46:50] <micges> I'm afraid doing bisness with them:)
[09:47:41] <bassogigas> )) yeahm they are much too barbarous
[09:48:33] <bassogigas> but they are clever too, but well :( very erhhh naaasty
[10:29:18] <piasdom> g'mornin all
[11:05:34] <izua_> izua_ is now known as izua
[11:44:18] <Guest103> hi to all
[11:45:13] <Guest103> i have an emc2 question, there is anyone?
[11:46:30] <helich> just ask
[11:46:33] <archivist> just ask the question
[11:46:44] <Guest103> in axis there is a signal " axis.0.joint-pos-fb" that it gives back the position of axis 0 (x in my case)
[11:46:58] <Guest103> how I make to read the variable from a program python?
[11:47:02] <helich> helich is now known as bassogigas
[11:50:18] <Guest103> is it a difficult question ?
[11:50:47] <Guest103> ah...sorry for my bad english.......
[11:58:49] <bassogigas> eng is enough. no one knows it seems. try to look through different examples
[11:59:47] <alex_joni> Guest103: you can use the position from emc2 status
[11:59:48] <bassogigas> maybe there you'll find the answer. in particular, cradek's site
[11:59:59] <alex_joni> I don't think you can access the joint-pos-fb directly
[12:00:21] <alex_joni> the only way to do that is export a pin, and link joint-pos-fb to that pin
[12:00:21] <Guest103> simply , i need to know the axix 0 position into a python program variable
[12:00:39] <alex_joni> Guest103: use emc.stat
[12:00:55] <Guest103> what is emc.stat?
[12:01:02] <alex_joni> a class for the current status
[12:01:04] <alex_joni> hang on
[12:02:11] <Guest103> so, when i exported pin , how i read from python?
[12:02:23] <alex_joni> s = emc.stat()
[12:02:38] <alex_joni> err.. 'import emc' first
[12:02:42] <alex_joni> then:
[12:02:49] <alex_joni> s.poll()
[12:03:07] <alex_joni> s.joint_actual_position[:s.axes]
[12:03:23] <alex_joni> you select which axis you want there, 0 in your case
[12:03:45] <alex_joni> you use either s.position[] or s.joint_actual_position[]
[12:03:48] <micges_work1> alex_joni: emc.nmlfile path must be set
[12:03:57] <alex_joni> if you have a trivial kinematics then the 2 will be equal
[12:04:04] <alex_joni> what micges_work1 said
[12:04:24] <alex_joni> Guest103: here's a working example that uses position to print it out: http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/usr_intf/axis/scripts/teach-in.py;h=bc1c52e9e7291091cfb99ae2ad10329d39ff0bcb;hb=HEAD
[12:05:20] <Guest103> well alex_joni, now i go to lunch,here is 13,00
[12:05:40] <Guest103> in the afternoon i'try it, thank's
[12:06:00] <alex_joni> buon appetito
[12:36:18] <micges_work1> hmm why last G0 line desn't show on preview? http://www.pastebin.ca/1819108
[12:36:26] <micges_work1> micges_work1 is now known as micges
[12:37:38] <micges> (latest master)
[13:12:45] <Jymmm> * Jymmm lol @ JT-QuadCore
[13:13:05] <JT-QuadCore> damm gateway died again
[13:13:40] <JT-QuadCore> * JT-QuadCore said well I'll just get another mobo for it
[13:14:09] <JT-QuadCore> WRONG! the card slots on the gateway are bassackwards from normal
[13:14:54] <Jymmm> * Jymmm waiting for JT-286, JT-386, JT-386SX25, JT-386DX50, JT-486, JT-Pentium, JT-P2, JT-P3, JT-P4, etc
[13:15:22] <Jymmm> and JT-XT, JT-AT
[13:17:06] <Jymmm> JT-CP/M, JT-Atari2600, JT-Atari9600, JT-C64, JT-Coleco, JT-PET, JT-Apple2e, JT-TRS80, JT-Z80, and finally.... JT-UNIVAC
[13:19:00] <Jymmm> Why are you using a PC for a gateway?
[13:26:02] <JT-QuadCore> a gateway PC
[13:26:39] <JT-QuadCore> should I did out my 286 mobo?
[13:26:44] <Jymmm> Oh, Gateway (tm)
[13:27:08] <JT-QuadCore> you remember it the one that won't boot up if the power is dropped
[13:27:19] <Jymmm> Yeah, paint a bullseye on it and grab the rifle
[13:27:36] <JT-QuadCore> I'm thinking 44 magnum
[13:27:58] <Jymmm> ammo is too expensive, use a .22lr instead
[13:28:03] <JT-QuadCore> * JT-QuadCore wanders out to the shop
[13:28:11] <JT-QuadCore> we reload them
[13:32:00] <JT-Hardinge> * JT-Hardinge tries to figure out what is missing from the spindle part of my config
[13:39:57] <archivist> toy for the USAians who want a little accuracy http://cgi.ebay.co.uk/HP-Agilent-5518A-Laser-Head-Machine-Tool-Interferometer_W0QQitemZ300402310940QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item45f15f7f1c
[13:44:59] <JT-Hardinge> I have Spindle: and the +- buttons in Axis but the start button is not there, what did I miss?
[13:48:30] <pjm__> hi JT-Hardinge, did u have spindle-cw and spindle-ccw linkes etc?
[13:48:46] <JT-Hardinge> ha! motion.spindle-on does the trick
[13:50:29] <JT-Hardinge> hi pjm__
[13:57:50] <JT-Hardinge> getting closer, I can make the spindle spin but can't make it completely stop
[13:57:55] <JT-Hardinge> * JT-Hardinge off to work
[13:58:04] <JT-Hardinge> work on it tonight
[14:08:42] <tom3p> re: "George Bulliss... has been working with WCC to get EMC a nice place to meet during the CNC Workshop", will this be free or do the emc workshops have the 100+$ cost attached?
[14:18:39] <tom3p> archivist: i imagine the interferometer is for sale w/o the retroreflector due to some ugly crash while setting up comp tables
[14:32:06] <SWPadnos> tom3p, I'm pretty sure we all have to pay the attendee fee ($125 for the next couple of weeks, then $150)
[14:35:37] <tom3p> SWPadnos: thx
[14:45:19] <seb_kuzminsky> clytle374: glad it worked! thanks again for finding the bug & testing the fix :-)
[14:45:23] <skunkworks_> can't get much more binary than that http://www.electronicsam.com/images/KandT/conversion/shiftlogic.JPG
[14:45:34] <seb_kuzminsky> i'll commit it to 2.4 & master today some time
[14:46:43] <cradek> seb_kuzminsky: what was it?
[14:47:36] <seb_kuzminsky> cradek: the linux guys made the firmware data readonly in this commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=drivers/base/firmware_class.c;h=8a267c4276291bb775e2590a6935825ae35e9305;hp=d3a59c688fe4fcaf0f7ebf514f44f59a08e90693;hb=6e03a201bbe8137487f340d26aa662110e324b20;hpb=091bf7624d1c90cec9e578a18529f615213ff847
[14:48:17] <seb_kuzminsky> the fpgas want the bits reversed from how the xilinx tools spit them out (mirror each byte left to right)
[14:48:19] <cradek> lovely! so it wasn't 64 bit at all.
[14:48:38] <seb_kuzminsky> right, all this testing was done on 32-bit ubuntu 9.10
[14:48:48] <seb_kuzminsky> so we'll need that fix in emc 2.4
[14:49:26] <cradek> yep definitely
[14:49:48] <seb_kuzminsky> i'll commit it later today, without the mockery-inducing parentheses ;-)
[14:50:04] <cradek> heh
[14:50:12] <cradek> is there such a thing as friendly mockery?
[14:51:11] <Jymmm> cradek: You so funny!
[14:51:23] <Jymmm> (that sound pretty friendly to me =)
[14:51:33] <seb_kuzminsky> i took it as friendly
[14:51:43] <Jymmm> See, there ya go =)
[14:51:47] <cradek> ok then.
[14:53:21] <cradek> skunkworks_: top speed is 2400? ouch.
[14:53:28] <Jymmm> I posted a link to a project that allowed you to document a electronic project, draw a schematic, and even produced a PCB. would anyone happen to remember the link?
[14:54:02] <SWPadnos> http://www.altium.com ?
[14:54:02] <Jymmm> s/project/software project/
[14:54:20] <Jymmm> It was open source
[14:54:32] <SWPadnos> oh. definitely not Altium then
[14:54:48] <Jymmm> More along the lines of arduino type project.
[14:55:20] <SWPadnos> I think Olimex has some PCB design software now
[14:55:54] <SWPadnos> and they have (had?) a deal where they'll make a couple of boards for free, if you let them sell the design on their site
[14:56:52] <Jymmm> Sell your Soul is more like it
[14:57:06] <Jymmm> No IP issues there =)
[14:57:34] <SWPadnos> or you can just pay them (or someone else) to make boards for you
[14:58:07] <Jymmm> * Jymmm hands cradek $20, I'll take 20 boards pleasse.
[15:01:42] <skunkworks_> cradek: yes - it use to have a hydraulic spindle motor... Now it has a vfd. Although I don;t know how much more we want to run it. (if we need higher we would probably put a motor in the spindle)
[15:02:40] <skunkworks_> *how much faster we want to run it.
[15:02:43] <Jymmm> http://fritzing.org/ Here it is
[15:03:14] <Jymmm> *****
[15:05:40] <Jymmm> SWPadnos: http://fritzing.org/
[15:05:41] <skunkworks_> cradek: it runs a 12inch shell mill just fine... :)
[15:06:20] <elmo40> hi everyone. Question about ballscrews. What is a typical price per foot ?
[15:06:59] <Jymmm> elmo40: google would better answer that
[15:08:39] <SWPadnos> since ballscrews come in diameters from 3/8" or so to about 6", and there are a dozen other variables as well, there's no "typical" price per foot
[15:08:54] <SWPadnos> Jymmm, OK, affiliated with that Processing language as well - interesting
[15:09:32] <Jymmm> SWPadnos: It's alpha, but lots of potential
[15:10:05] <elmo40> wow, 6" ballscrews. would take descent power to just turn those ones :P
[15:10:25] <Jymmm> elmo40: Nah, just a couple of AA batteries
[15:10:32] <malem-cnc> anyone knows how I could get some from of timestamp in HALSCOPE
[15:11:10] <malem-cnc> I need the timestamps of the signals that I sample
[15:11:22] <elmo40> i see 20mm screws for $2.40 / in. Just sounds expensive. Plus the $130 flange nut...
[15:11:50] <cradek> malem-cnc: all you could do is generate another signal representing the time, and plot it
[15:13:41] <Jymmm> SWPadnos: http://code.google.com/p/fritzing/issues/detail?id=921
[15:14:39] <malem-cnc> I'm not very familiar with hal, but I will look for a timestamp kind signal in HAL doc
[15:14:43] <malem-cnc> thank you
[15:15:12] <SWPadnos> I don't believe there is any timestamp component at the moment
[15:15:56] <malem-cnc> I have scope.sample.time
[15:16:25] <malem-cnc> I'm not sure what it is, it looks like the delta between sample
[15:16:45] <malem-cnc> if it is, I could deduce the timestamp from it
[15:16:57] <malem-cnc> but system time would be better
[15:17:26] <SWPadnos> yeah. I think time of day is a little harder than "time since starting", but that may not be true these days
[15:20:13] <Jymmm> FYI... Google Bokmarks 'labels' are case sensative! ARGH
[15:20:35] <Jymmm> Bookmarks
[15:24:50] <Jymmm> SWPadnos: http://eegeek.net/electronics/tutorials/tinnittutorial.htm
[15:26:55] <Jymmm> http://www.web-tronics.com/liti124.html
[15:29:00] <malem-cnc> hmm comp's script language is quite nice
[15:29:28] <malem-cnc> I'd only have to find what rtapi linbrary would give system time
[15:31:57] <Jymmm> Holy BaJeeBus.... NEMA23, 380oz-in, sgl shaft$ 299.00
[15:39:56] <elmo40> Jymmm: that a good price?
[15:43:20] <Guest188> hi to all
[15:43:32] <Guest188> alex_joni ??
[15:44:32] <Guest188> are you here?
[15:46:40] <Danimal_office> mornin
[15:46:58] <micges_work1> Guest188: just ask
[15:47:12] <micges_work1> hi
[15:47:29] <Guest188> hi, i have a problem with emc2
[15:48:02] <Guest188> i try to read the axis position with python program
[15:48:27] <micges_work1> I know, how it's going?
[15:49:04] <Guest188> emcstatusbuffer invalid error=3
[15:49:46] <Guest188> when i start the program
[15:50:36] <Guest188> where is the mistake?
[15:51:08] <malem-cnc> are-you attached to an emc process?
[15:51:18] <Guest188> yes
[15:51:35] <Guest188> i start it from an emc session
[15:51:36] <malem-cnc> how?
[15:51:40] <malem-cnc> ok
[15:51:42] <micges_work1> Guest188: paste it program at www.pastebin.ca
[15:52:42] <malem-cnc> loaded the .ini file? in the right working directory?
[15:53:56] <Guest188> i have sent the program to pastebin
[15:54:17] <celeron55_> then take the address of it and link it here
[15:54:37] <Guest188> http://ewww.pastebin.ca/1819405
[15:55:22] <malem-cnc> it stops at line 21?
[15:55:42] <Guest188> line 88 and line 65
[15:56:15] <celeron55_> there is no lines 88 and 65 in there :P
[15:56:30] <malem-cnc> in pastebin
[15:57:01] <Guest188> sorry line 66 and 42
[15:57:18] <Guest188> show s.poll()
[15:57:28] <malem-cnc> ok
[15:58:07] <malem-cnc> it looks like you are not correctly attached
[15:58:45] <Guest188> what?
[15:58:52] <celeron55_> is there documentation for the emc python api somewhere
[15:59:02] <malem-cnc> just to make sure : you did 1) emc& 2) started the gui of your choice 3) ran your script
[15:59:14] <celeron55_> i'd like to have a quick look but can't find such a thing
[15:59:15] <malem-cnc> no all source code
[15:59:33] <malem-cnc> all in emcmodule.cc iirc
[16:00:28] <Guest188> yes i start emc2 then open the file
[16:01:06] <malem-cnc> I think you have to run you script in your .ini directory
[16:01:59] <malem-cnc> it should work
[16:02:06] <Guest188> but i'd start the script into emc2
[16:02:15] <Guest188> is it possible?
[16:02:52] <malem-cnc> you would have to patch the makefile
[16:03:09] <malem-cnc> much simpler to attach to the process using emc&
[16:03:28] <malem-cnc> in a console
[16:05:28] <malem-cnc> try this
[16:05:28] <malem-cnc> >emc& (then choose the right .ini file)
[16:05:28] <malem-cnc> >cd /your/ini/drectory
[16:05:28] <malem-cnc> > python yourscript.py yourargs
[16:05:57] <Guest188> args ??
[16:06:18] <malem-cnc> ah!
[16:06:26] <malem-cnc> you put no args!
[16:06:36] <malem-cnc> look at your line 14
[16:07:30] <malem-cnc> basically, you did not load any .ini file
[16:07:42] <malem-cnc> from your script
[16:08:59] <celeron55_> umm... if it doesn't work with no args, it'd be a good idea to return with an error message, maybe? 8)
[16:09:17] <celeron55_> (in the case no arguments are given)
[16:09:36] <Guest188> ok thank's, tomorrow i try all now i stop work and .......go home
[16:09:53] <malem-cnc> iniFile = emc.ini(iniFilePath)
[16:09:53] <malem-cnc> nmlFile = self.iniFile.find("EMC", "NML_FILE")
[16:09:53] <malem-cnc> if (nmlFile is not None):
[16:09:53] <malem-cnc> emc.nmlfile = nmlFile
[16:10:16] <malem-cnc> that a sample from my code
[16:11:19] <Guest188> ok thank you, tomorrow i try it, bye
[16:12:27] <elmo40> Jymmm: i can find NEMA32 600oz/in for $110.
[16:12:32] <elmo40> single shaft
[16:12:48] <elmo40> 1.8deg/step
[16:16:14] <Danimal_office> anyone know if p4 and p4 ht processors are generally interchangable on motherboards?
[16:16:30] <SWPadnos> they should be, if they use the same socket type
[16:16:40] <Danimal_office> cool, thanks
[16:17:35] <Danimal_office> i discovered some good parts that i thought were bad, so i'm pretty happy
[16:17:53] <Danimal_office> got a couple extra much-needed pc's out of them
[16:29:20] <JT-Work> Danimal_office: Hi
[16:32:12] <malem-cnc> SWPadnos : http://pastebin.ca/1819459
[16:32:34] <malem-cnc> Starting EMC2...
[16:32:34] <malem-cnc> HAL: ERROR: function 'timestamp' not found
[16:32:34] <malem-cnc> univpwm_load.hal:24: addf failed
[16:32:48] <SWPadnos> maybe add a reset input
[16:33:19] <malem-cnc> it was installed using
[16:33:20] <malem-cnc> sudo comp --install timestamp.comp
[16:33:52] <SWPadnos> you don't need "timestamp_" for the function, only _
[16:33:55] <SWPadnos> function _;
[16:33:57] <SWPadnos> ...
[16:34:03] <SWPadnos> FUNCTION(_) {
[16:34:08] <SWPadnos> ... etc ...
[16:34:10] <SWPadnos> |
[16:34:10] <malem-cnc> yeah that is what I first tried
[16:34:11] <SWPadnos> err
[16:34:13] <SWPadnos> }
[16:34:43] <malem-cnc> well it was basically a cut & paste from http://linuxcnc.org/docs/2.4/html/hal_comp.html
[16:34:48] <SWPadnos> the function name will be timestamp.0.timestamp
[16:34:56] <SWPadnos> (I think)
[16:35:11] <SWPadnos> if you had more than one, or you gave them names, they'd be named differently
[16:35:15] <malem-cnc> the problem is that I cant even attach it to my thread
[16:35:16] <SWPadnos> like george.timestamp
[16:35:32] <malem-cnc> :P
[16:35:40] <SWPadnos> leave the signal attaching lines out of your hal files, and use halcmd to see what the actual name is
[16:35:47] <SWPadnos> or halshow
[16:36:21] <SWPadnos> ok, as that example shows, you can leave out the function/FUNCTION declarations
[16:39:06] <malem-cnc> I removed the addf
[16:39:22] <malem-cnc> it shows up in hal config
[16:39:38] <malem-cnc> but it has no user
[16:39:43] <malem-cnc> timestamp.0
[16:39:55] <SWPadnos> ok, so use that name in the addf
[16:40:46] <malem-cnc> great :)
[16:40:54] <malem-cnc> thanks a lot
[16:41:20] <SWPadnos> sure
[16:42:21] <malem-cnc> I see it in halscope, love this
[16:47:36] <Danimal_office> JT-Work: hows it going
[16:55:21] <JT-Work> ran the spindle this morning
[16:56:18] <Eric_K1> Danimal_office, did you see the link to my frame?
[16:56:42] <Eric_K1> http://www.flickr.com/photos/mcn7/4398766376/sizes/l/
[17:00:14] <JT-Work> the spindle would not stop turning LOL I could raise and lower the speed
[17:00:22] <tom3p> Jymmm: did you see where the Fritzing stuff prints out an overlay for a proto-board, and the user just punches the components thru the paper into the grid? http://fritzing.org/news/paper-templates-for-your-breadboard-prototypes/
[17:00:23] <JT-Work> some configuration isssue
[17:01:11] <Eric_K1> JT-Work, how you controlling the spindle?
[17:01:22] <JT-Work> 7i33
[17:01:37] <Eric_K1> do you know why it wouldn't stop?
[17:02:27] <JT-Work> not at the moment
[17:05:53] <JT-Work> I assume the drive was getting a little bit of a velocity signal due to my faulty programming
[17:07:14] <robotito> Eric_K1, whos the cute girl on pic?
[17:07:24] <Eric_K1> daughter
[17:07:38] <skunkworks_> heh
[17:08:23] <malem-cnc> How can I communicate with components pins from python code
[17:08:44] <malem-cnc> cradek?
[17:09:12] <malem-cnc> found halmodule
[17:09:27] <malem-cnc> but it only works for creating new
[17:10:57] <Danimal_office> JT-Hardinge: what are you using to enable the spindle drive?
[17:11:05] <Danimal_office> Eric_K1: yes, very nice!
[17:11:15] <Eric_K1> thanks
[17:11:53] <Danimal_office> JT-Hardinge: you're using the 7i33 to enable it? what changes direction? -10v?
[17:12:31] <Eric_K1> I thought most spindles had voltage/direction control
[17:13:15] <Danimal_office> if you're using the 7i37 turn it on and off, try reversing the polarity of your output wires going to the 7i37
[17:13:40] <Danimal_office> Eric_K1: you set up a booth at the nahbs?
[17:13:51] <Eric_K1> yeah, in the new builder section
[17:13:55] <Danimal_office> nice!
[17:14:12] <Danimal_office> did you see a couple Boo bikes there? they're bamboo frames
[17:14:15] <Eric_K1> good way to wast $1k anyway :)
[17:14:20] <Danimal_office> ouch!
[17:14:33] <Eric_K1> I saw a batch of bamboo, but I don't know if I saw those
[17:14:48] <Eric_K1> I was in a fog for most of the show
[17:15:05] <Danimal_office> did you get some good response?
[17:15:23] <Eric_K1> hard to say, a couple of people seemed interested
[17:15:30] <Eric_K1> I need a better on-line presence
[17:16:06] <Danimal_office> http://velonews.competitor.com/2010/02/bikes-tech/boo-bikes-headed-for-nahbs_106217
[17:16:40] <Danimal_office> this guy ran my chain tensioners
[17:16:46] <Danimal_office> on both those bikes
[17:16:49] <Danimal_office> http://velonews.competitor.com/2010/02/photos/boo-bikes-headed-for-nahbs-a-photo-gallery_106219?pid=2600
[17:16:53] <Eric_K1> that's nice, I think I saw them
[17:16:59] <Danimal_office> my first magazine appearance!
[17:17:03] <Danimal_office> kinda
[17:17:10] <Eric_K1> those are cool
[17:17:22] <Danimal_office> thanks
[17:17:43] <Eric_K1> the ever-present bottle opener
[17:18:00] <Danimal_office> you can start hanging around the web forums... i pretty much owe my business to MTBR.com
[17:18:15] <Eric_K1> yeah, that's my plan
[17:18:32] <Eric_K1> and give my friends bikes at cost, that sort of thing
[17:18:33] <Danimal_office> my crappy blog usually gets 100-200 hits a day, and mostly from MTBR.com
[17:18:58] <Danimal_office> roadbikereview.com
[17:19:11] <Eric_K1> that's a good point
[17:19:19] <Danimal_office> Eric_K1, i'll be your friend!
[17:19:23] <Danimal_office> :D
[17:19:24] <Eric_K1> I have an account there, haven't been posting
[17:20:07] <Danimal_office> make a single speed and post it in the singlespeed section of MTBR
[17:20:23] <Eric_K1> does it have to be a mtb?
[17:20:26] <Danimal_office> no
[17:20:36] <Danimal_office> tons of roadie SS's on there
[17:20:40] <malem-cnc> replying to myself (for future references) http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg16029.html (read hal pin from python code)
[17:21:42] <Eric_K1> what's your user account at mtbr?
[17:22:48] <Danimal_office> isuckatriding
[17:23:04] <Eric_K1> wouldn't have guessed that :) I'm unterhausen
[17:23:19] <Danimal_office> cool
[17:24:23] <Danimal_office> that is a really nice frame
[17:24:36] <Danimal_office> i love the color
[17:39:21] <Eric_K1> Danimal_office: when the hardinge gets up to speed I might have some ideas for you
[17:46:52] <Danimal_office> it's up and running
[17:47:16] <Danimal_office> i do have a little work to do to it, but she runs
[18:16:05] <Eric_K1> Danimal_office: made you a buddy on mtbr and added a link to your blog on my blog
[18:32:41] <Danimal_office> cool, what's your blog? i'll do the same
[18:35:07] <MrSunshine> from image-to-gcode, what are "I" and "K" coordinates it keeps putting out? :)
[18:38:40] <skunkworks_> ? g2 and g3? those are arcs. http://linuxcnc.org/docs/html/gcode_main.html#sub:G2,-G3:-Arc
[18:38:44] <Danimal_office> it's the radius
[18:39:00] <Danimal_office> yea what skunkworks said
[18:39:06] <Danimal_office> how's it going skunkworks?
[18:39:18] <skunkworks_> Good. Keeping out of trouble for the most part.
[18:39:31] <Danimal_office> how's the maching coming
[18:40:06] <elmo40> wondering what people use for controlling RPM on their spindles.
[18:41:40] <skunkworks_> Danimal_office: working on it consistanly.. figuring out I/O needs. we know we have to control 21 hydraulic solinoids atleast ;)
[18:43:18] <Danimal_office> wow
[18:43:32] <Danimal_office> so how many 5i20's do you need?
[18:43:39] <Danimal_office> or are you going with a 5i23?
[18:44:05] <skunkworks_> probably more than 1. We have 2 5120's just in case. I think though I will need 1 more servo interface card.
[18:44:31] <Danimal_office> they have a 6 channel that works with emc now i believe, right?
[18:48:06] <tom3p> do you need to control every one of them, or could a small plc device get a start cmd and hand over a fin signal? (just in case a cheap plc was < a few cards and slots )
[18:48:39] <skunkworks_> that will give me what I need to run the 4th axis and spindle control (10v). plus a few encoder inputs.
[18:49:11] <skunkworks_> tom3p: I think it would be easyer to control everything within emc.. (through hal and ladder logic)
[18:49:25] <skunkworks_> tool change sequences and table rotation and...
[18:49:47] <skunkworks_> pallet changes.
[18:50:03] <SWPadnos> you still need all the I/O points, whether they're in a PLC or attached to a Mesa card
[18:50:31] <tom3p> right so its just money, simplification is always good
[18:51:33] <Danimal_office> luckly my SSR's work with my 7i42ta so i get quite a bit of outputs with that
[18:51:43] <Danimal_office> 5v is enough for them
[18:52:57] <skunkworks_> we are going to be using a lot of opto22's
[18:53:03] <tom3p> like jmk's? (3-32vdc)
[18:54:04] <skunkworks_> very similar - just opto22 brand. (his seem to be a bit better quality.. but they are the larger size. (we have a bunch of g4 stlyle we are using)
[18:54:17] <skunkworks_> g4?
[18:54:22] <skunkworks_> think that is it..
[18:54:27] <SWPadnos> yep
[18:54:40] <tom3p> gordos opto-22 crydon kyoto all similar wait for a price was ;)
[18:59:04] <skunkworks_> seems to be coming togather so far. No major suprisses yet...
[18:59:05] <skunkworks_> ;)
[18:59:13] <tom3p> the 230 found in homes (eg: for elec dryer) theres 110 on each side to gnd, how far out of phase are they?
[19:00:26] <jackc> 180
[19:00:28] <skunkworks_> it is just a center tapped transformer (ground is the centertap)
[19:00:37] <skunkworks_> ground/neutral
[19:00:44] <jackc> you got hot/hot to get the 240
[19:04:31] <tom3p> ah good, else id need more cap to smooth (gimme your left your right yer left...)
[19:04:34] <tom3p> thx
[19:06:57] <tom3p> uh i think i got that wrong, at 180 deg, they're simultaneous (overlapped but delayed current) ?
[19:08:46] <tom3p> if each were half wave rectified and summed, there'd be way huge ripple
[19:09:31] <jackc> nuh uhn
[19:09:35] <jackc> lemmy find an image, sec
[19:09:44] <SWPadnos> any two wires give you one phase
[19:10:17] <SWPadnos> it's just like rectifying 120V, only twice the voltage
[19:10:46] <jackc> it is appropriate to call this power distribution system a 3-wire, single-phase, mid-point neutral system.
[19:10:50] <jackc> ""
[19:11:04] <jackc> so hot+ to hot- gives 240, either hot to neutral gives 120
[19:11:13] <jackc> which means they much be 180-deg out
[19:11:25] <jackc> (also ive hooked the scope up to the wall ;-)
[19:12:45] <jackc> http://www.beananimal.com/media/3246/split-phase-sine-wave.gif
[19:12:51] <jackc> green and red are the hots
[19:12:53] <jackc> x axis is neutral
[19:16:06] <skunkworks_> http://groups.yahoo.com/group/DIY-CNC/message/29824
[19:18:32] <cradek> skunkworks_: it's behind a login - if it's imporant, pastebin it for us?
[19:19:29] <archivist> I baulked at teh login too :)
[19:19:31] <tom3p> jackc you're right, they're 180 out, when 1 is high other is low, i do need the correct amt of caps times 2 http://www.allaboutcircuits.com/vol_2/chpt_10/1.html
[19:19:33] <skunkworks_> sorry. It really isn't that important.
[19:21:14] <skunkworks_> some sort of argument about if linux runs under rtai or rtai runs under the linux kernel.. and then that rtai sucks because it is it 'may not work for every proccessor' and it is trying to do everything for everyone. (I am paraphrasing) ;)
[19:21:25] <SWPadnos> heavily ;)
[19:21:28] <skunkworks_> heh
[19:21:31] <cradek> handwave handwave
[19:21:58] <SWPadnos> it seemed more of a rant against open source projects and documentation in general
[19:22:25] <bill2or3> "Computers are hard!"
[19:22:33] <SWPadnos> http://pastebin.ca/1819716
[19:22:59] <cradek> I hear that to be convincing, lies should have one specific detail, not more. I wonder if rants are the same.
[19:23:28] <SWPadnos> hmmm. I guess Tom's Hardware must be really convincing, since they have one detail per page
[19:24:09] <cradek> ok, I read it, thanks for that enrichment...
[19:24:20] <SWPadnos> sorry. nothing personal
[19:24:28] <cradek> :-)
[19:24:42] <cradek> I meant the pastebin
[19:24:47] <SWPadnos> me too :)
[19:24:50] <cradek> oh
[19:25:04] <cradek> * cradek shrugs
[19:25:10] <SWPadnos> (ie, I didn't mean to torture you or anything)
[19:25:55] <renesis> GUYS MY XOLOTEX Z CHAN DIED
[19:26:02] <renesis> * renesis hands out the tiny violins
[19:26:04] <renesis> OK GO
[19:26:12] <cradek> hahaha
[19:26:19] <renesis> (its okay because i have an A chan i never use)
[19:26:44] <renesis> (but wtf same config for like 4 years just like decides to die)
[19:27:11] <renesis> XYLOTEX, WHATEVER
[19:27:17] <renesis> k bye
[19:27:52] <archivist> hey this violin broke I wanna refund
[19:28:14] <SWPadnos> skree - eeeee -eeeeeeee - ooooooooo - ooooooooook
[19:28:38] <SWPadnos> not bad, considering I haven't played in 35 years
[19:29:28] <micges> SWPadnos: how old are you>
[19:29:29] <micges> ?
[19:29:33] <SWPadnos> 41.5
[19:30:01] <micges> me 26.1
[19:30:12] <SWPadnos> me 15.4 > you :)
[19:30:34] <micges> :)
[19:31:14] <cradek> me 35.973, yay
[19:32:02] <robotito> renesis, pic?
[19:32:07] <archivist> hmm I think I should use hex
[19:32:27] <renesis> robotito: of what the xylotex?
[19:32:41] <renesis> no drama, i didnt pull the sink tho
[19:33:00] <renesis> i just disable that channel and switch wires/config for using A
[19:33:08] <renesis> i think the bridge is fucked tho
[19:33:11] <skunkworks_> I think it is a right of passage to destroy a xylotex board..
[19:33:19] <renesis> the sink was still warm but the stepper wasnt at all
[19:33:26] <renesis> and i think it was loading up the psu a ton
[19:33:45] <renesis> because when i switched channels, the X and Y sounded alot crisper too
[19:33:59] <MrSunshine> ough, 3d milling goes slow :P
[19:34:43] <renesis> skunkworks_: yeah i kinda felt lucky up until now
[19:34:59] <renesis> i guess im just normal person after all
[19:35:31] <robotito> renesis, yes
[19:36:08] <renesis> yeah looks totoally fine except for a bit of dust
[19:36:08] <skunkworks_> MrSunshine: it all has to do with accelleration... (do you use g64px.xxx - x.xxx is how close you want emc to follow the programmed path)
[19:36:24] <renesis> when i get home and back to the machine ill take the heatsink off
[19:36:25] <renesis> hahaha
[19:36:30] <renesis> and then right after that
[19:36:50] <renesis> the wires on the push-down terminal MTA-100 on my Y stepper broke
[19:37:02] <Danimal_office> that g64p### works wonders
[19:37:14] <renesis> i thought my xylotex Y died but i redid the connector and its fine (yay)
[19:37:15] <MrSunshine> skunkworks_, i just generate it with image-to-gcode and mill it =)
[19:37:31] <MrSunshine> and i guess i could add up some acceleration on Z
[19:37:33] <MrSunshine> its quite slow :/
[19:38:56] <MrSunshine> and i need a FASTER cnc computer!
[19:39:01] <MrSunshine> dammit =)
[19:40:26] <robotito> p3 puter?
[19:40:57] <MrSunshine> nah, P4 but bad graphics card etc
[19:41:00] <MrSunshine> i think its a p4 :P
[19:41:19] <celeron55_> cat /proc/cpuinfo
[19:41:28] <MrSunshine> celeron55_, im not at that computer atm
[19:41:40] <MrSunshine> and no network on it =)
[19:41:47] <MrSunshine> i want my quadcore running now
[19:41:57] <MrSunshine> that should be enough to run this stuff =)
[19:56:48] <Jymmm> elmo40: link?
[19:56:59] <Jymmm> tom3p: No I didn't, that's pretty cool.
[20:06:23] <Danimal_office> a mesa board should be cheaper than a faster pc
[20:07:49] <skunkworks_> Danimal_office: did the new computer fix your issues?
[20:20:25] <andypugh> I seem to have been siginifcantly too tardy grabbing the pyvcp spinbox patch that allows direct entry from the pastebin where it was put. Does anyone know what I am on about, and where I might find it again>
[20:26:42] <Danimal_office> skunkworks: seems to have
[20:29:02] <skunkworks_> great!
[20:44:36] <Danimal_office> that computer was a bit old and it had some weird proprietary stuff on it
[20:44:41] <Danimal_office> it was an old server
[20:45:13] <Danimal_office> so i threw in an asus mobo with an amd athlon xp2600 processor
[20:45:19] <Danimal_office> and a gig of ram
[20:45:25] <Danimal_office> so far so good
[20:46:09] <Danimal_office> still not the newest, but who cares as long as it works
[20:47:40] <Danimal_office> i just put together a couple other computers from spare parts and everything is working out pretty good, so i'm happy. i didnt have to spend a dime
[20:51:23] <Tecan> Tecan is now known as COMMA
[20:51:40] <COMMA> COMMA is now known as COMMAD
[20:56:21] <robotito> Danimal_office, p4, ram?
[21:15:35] <COMMAD> http://img651.imageshack.us/img651/9467/screenshot1uv.png << the tor network hehe
[21:18:20] <COMMAD> COMMAD is now known as Tecan
[21:18:44] <Danimal_office> robotito: it's an amd, not a p4
[21:19:13] <Jymmm> You mean "It's an amd, not intel"
[21:20:03] <jackc> is there a wiki page about encoders, types, setting them up etc?
[21:20:30] <jackc> i have noob Qs about quadrature etc
[21:20:32] <Jymmm> http://www.google.com/search?q=encoder+site%3Alinuxcnc.org&client=firefox-a
[21:20:45] <jackc> haha well played
[21:23:28] <tom3p> andypugh: http://pastebin.ca/1819960 not official, will get stomped on by any upgrade, cvs or git-ification
[22:26:19] <andypugh> Thanks tom3p
[22:27:06] <andypugh> Sorry for the late reply, I was in the workshop cutting metal. I think I might have damaged my hearing with that metal-geared mini-mill churning away for 2 hours
[22:27:37] <frallzor> * frallzor is pretty sure irc is more based on the ability to see :P
[22:36:29] <skunkworks_> digitized voice 'frallzor is pretty sure irc is more based on the ability to see. grin'
[22:37:30] <frallzor> :P
[23:10:16] <Tecan> wow compiling a kernel takes forever
[23:12:23] <andypugh> It is a Rule of Linux that no matter what time you start compiling a kernel, it will finish at 4am.
[23:16:02] <clytle374> yep.
[23:16:31] <clytle374> half the reason to gut them
[23:23:07] <seb_kuzminsky> clytle374: would you try the v2.4_branch without any patches and make sure it works on your Klingy Koala?
[23:23:16] <seb_kuzminsky> i just committed the patch we worked on last night
[23:27:02] <clytle374> seb_kuzminsky, yep, starting on that now.
[23:27:41] <seb_kuzminsky> thx :-)
[23:36:08] <clytle374> Still doing a drive copy to a newer-ish drive. should be done soon.
[23:44:03] <Tecan> overheated building a kernel with make -j2 lol
[23:44:24] <clytle374> Tecan, I prefer -j8
[23:44:31] <Tecan> jesus
[23:44:49] <jackc> yo its all about the cores kids
[23:44:56] <jackc> n+1 is how we roll
[23:45:23] <clytle374> 2xn unless is breaks
[23:45:52] <clytle374> distcc likes extra
[23:48:33] <clytle374> seb_kuzminsky, don't worry, I didn't thread your test.
[23:55:23] <clytle374> seb_kuzminsky, odd, I got the original error and did a fresh pull for the test.
[23:55:32] <clytle374> And the patch cleanly applies
[23:56:18] <clytle374> patch -p1 --dry-run < 1818570 gives no errors
[23:58:07] <clytle374> wait, is the emc2-dev the same as the v2.4_branch?
[23:58:46] <seb_kuzminsky> clytle374: no... emc2-dev is the repo, it contains many branches. "git branch -a" lists them