#emc-devel | Logs for 2007-07-18

[00:37:22] <skunkworks> barry is back :) http://www.electronicsam.com/images/house/barry.JPG
[00:37:41] <jmkasunich> shaved pussy!
[00:37:47] <skunkworks> ;)
[00:41:14] <skunkworks> he is so happy to be back outsid.
[00:41:18] <skunkworks> outside.
[00:53:02] <jmkasunich> am I the only one that thinks MacMasterMike is a little weird
[00:53:22] <jmkasunich> show up in the EMC channel, start asking about some stupid windows control
[00:53:47] <jmkasunich> then be all "duh, what's EMC" when he asks what to replace it with
[00:55:24] <skunkworks> No - just you.. That seems perfectly normal.
[00:55:30] <skunkworks> ;)
[00:56:29] <skunkworks> I am supprised he didn't ask about emc2 backup software
[02:34:31] <cradek> I sure know how I'd go about fixing that problem if it were mine
[02:39:04] <skunkworks> the nt problem?
[02:39:34] <skunkworks> isn't that the last operating system you had to deal with?
[02:39:36] <skunkworks> ;)
[02:54:20] <cradek> a small/simple mill with a windows-based commercial control and a missing dongle
[02:58:40] <Skullworks-PGAB> dongle - rename exe file to com file - use debug...
[03:03:45] <jmkasunich> dongle: strike with large sledge hammer, format disk, install EMC2 liveCD
[03:04:12] <jmkasunich> oh, the problem is a missing dongle
[03:04:16] <jmkasunich> then you can skip the first step
[03:04:18] <cradek> haha
[03:04:43] <jmkasunich> I really need to manage my development better
[03:04:58] <jmkasunich> I've been working on the same files on two different machines
[03:05:31] <jmkasunich> and neither has been committed since around the CNC workshop
[03:08:09] <cradek> when I get far into something like that I just commit
[03:08:24] <cradek> if it's not finished, or broken, I make a branch
[03:08:28] <jmkasunich> that would be good advice
[03:08:33] <jmkasunich> why didn't you tell me that last month
[03:08:44] <cradek> I'm bold about making branches - nobody else ever seems to
[03:10:01] <jmkasunich> hmm, its even more confusing when you have a shell open and ssh'ed into the other box
[03:10:39] <jmkasunich> (one that was opened a couple days ago)
[11:25:54] <cradek_> cradek_ is now known as cradek
[18:13:21] <cradek> strange - there's no hal_parport manpage?
[18:14:40] <cradek> I wonder if we should change the sample configs to use parport.[read|write]-all
[18:14:47] <alex_joni> some people need a 'give-up' button
[18:15:03] <alex_joni> cradek: it's a little slower for 1-port
[18:15:21] <skunkworks> :)
[22:03:34] <mshaver> anyone home?
[22:12:00] <mshaver> anyone around?
[22:13:39] <jepler> mshaver: yeah but not for long
[22:14:06] <mshaver> just a quick ? - whats the diff between TRUNK & HEAD?
[22:15:08] <jepler> probably anyone who says HEAD means TRUNK. It's the version you get when you do a checkout without a "-r" argument -- the newest development version
[22:15:20] <mshaver> if i'm going to start making a new HAL module, which should I check out & check changes back into?
[22:15:23] <mshaver> gotch!
[22:15:35] <mshaver> thanks!
[22:15:39] <jepler> glad I could help
[22:15:51] <jepler> we missed you at fest
[22:16:06] <mshaver> I missed you guys too
[22:16:30] <mshaver> I just have so much crap to do at home that i just couldn't justify it this year
[22:16:41] <jepler> next year, then
[22:16:42] <cradek> hi matt!
[22:16:42] <mshaver> next year maybe i'll go
[22:16:47] <cradek> hi jeff
[22:16:48] <mshaver> hey!
[22:17:38] <mshaver> I've got a little emc related work that pays lately, so I can justify next year's trip as "research", or "marketing" ;)
[22:17:52] <cradek> excellent, pay is nice sometimes
[22:18:19] <mshaver> even essential about once a month when I get a letter from Wells-Fargo...
[22:18:19] <cradek> sometimes too much pay makes me stop wanting to do things for free though... funny how it goes
[22:18:34] <cradek> yeah we all know that feeling!
[22:18:56] <mshaver> opposite for me - once i get enough money to live on, pay becomes more optional
[22:19:28] <mshaver> ...it's not optional just now though...
[22:19:31] <cradek> is your new hal module something fun?
[22:20:00] <mshaver> yea, i guess - it's a modbus interface
[22:20:05] <mshaver> or going to be
[22:20:21] <jepler> realtime or userspace?
[22:20:28] <mshaver> need to control automation direct vfds
[22:20:45] <cradek> is that like the one you had at workshop a year ago?
[22:20:48] <mshaver> i'll try userspace 1st
[22:21:10] <mshaver> yep, i had some code from a french guy that ran in userspace
[22:21:10] <jepler> with a userspace module, everything but constant surface speed should work dandy
[22:21:15] <mshaver> libmodbus
[22:21:20] <jepler> I think I saw that website
[22:21:39] <cradek> I remember it was something pretty horrific you were working with (thought it was maybe rs232?)
[22:21:45] <mshaver> the original devel has disappeared, but a new guy has picked it up
[22:21:56] <cradek> yay again for free software then
[22:21:57] <mshaver> yep, rs232
[22:22:05] <mshaver> or 485
[22:22:16] <cradek> so the computer side of modbus is serial? (I don't know anything about it)
[22:22:28] <jepler> yeah
[22:22:31] <mshaver> my goal today is to get my setup at home back to where i was last year
[22:22:42] <jepler> there's a packet protocol which gives operation, address, data
[22:22:52] <jepler> I read a bit about it, so take what I say with a grain of salt
[22:23:16] <mshaver> yep, serial the "packet" protocol is more popular, but there's an ascii version too
[22:23:23] <cradek> interesting, I remember there's something about rs232 in rtai
[22:23:34] <mshaver> i couldn't make the drive work with the ascii version
[22:23:36] <cradek> don't recall if that's on in 2.6.15-magma
[22:24:23] <cradek> well no matter what you should be able to do uart stuff in realtime, with more or less work depending on what rtai has
[22:24:31] <mshaver> i haven't got familiar enough with hal modules and rtai & related stuff to say anything intelligent
[22:24:41] <mshaver> i got readin' to do...
[22:25:37] <mshaver> but if i can get _something_ to turn the drive on, i'll beat it into the shape required to fit in the emc
[22:25:52] <cradek> CONFIG_RTAI_DRIVERS_SERIAL=y
[22:25:56] <cradek> ^^ you win
[22:26:18] <cradek> (a small victory)
[22:26:20] <mshaver> kernal config? <shudders>
[22:26:33] <cradek> it's in the rtai you already have
[22:26:35] <mshaver> in the ubuntu/emc .config already?
[22:26:38] <cradek> yes
[22:26:51] <mshaver> oh good <relief>
[22:27:13] <mshaver> Q: Are we on RTAI 3.5?
[22:27:28] <mshaver> looked at their website last nite wasting time...
[22:27:29] <cradek> the one most people are using is 3.3
[22:27:44] <cradek> I have 3.5 on one of my machines (because of smp)
[22:28:04] <mshaver> you mean most projects that use rtai?
[22:28:14] <cradek> sorry no, most people using emc2
[22:28:37] <cradek> the one that I build releases with
[22:29:11] <mshaver> any big differece 3.3 <> 3.5?
[22:29:21] <mshaver> for us?
[22:29:31] <cradek> not for us
[22:29:33] <cradek> I don't know what the differences are
[22:30:01] <cradek> really I think we use a very tiny part of rtai
[22:30:01] <mshaver> just general curiosity
[22:30:26] <mshaver> and only a tiny part of NML too
[22:30:58] <cradek> yeah there's that file full of nml ... things ... that I've never touched :-)
[22:31:13] <mshaver> it's always more convenient to build on some other popular (or unpopular) code
[22:31:31] <cradek> after 2? 3? years I still have little clue about some parts of the program
[22:32:31] <mshaver> it's that way for me too - I tend to dig in at the point where I expect to be able to fix whatever problem I currently have, but the whole picture is fuzzy
[22:32:51] <cradek> yep me too
[22:33:04] <cradek> if I can fix it "well enough" in one line, whatever it is, I'm tickled
[22:33:14] <cradek> the architectural changes are for someone else to do
[22:33:38] <mshaver> that was sort of the idea with the graphing, but i never spent the time to finish it & paint a clear copy of the "big picture"
[22:34:00] <cradek> jepler sure cleaned up some stuff because of it though
[22:34:19] <mshaver> any good - is good!
[22:35:22] <mshaver> i've got this module to do, a mill to retrofit (replacing a Heidenhain tnc151) and this HNC lathe to finish, so I can keep busy for now without going looking for trouble to start
[22:36:00] <cradek> is that a turret lathe?
[22:36:06] <mshaver> yep
[22:36:20] <cradek> fun, sounds intricate
[22:36:38] <mshaver> ray had the tool changing working in userspace with a tcl program
[22:36:57] <cradek> ray could pilot a ship to the moon in userspace with a tcl program
[22:37:23] <mshaver> ;) ...and he would too!
[22:37:38] <cradek> well that would definitely be the first approach he'd try
[22:38:02] <cradek> but for a tool change, userspace is certainly just fine
[22:39:15] <cradek> is there a tcl interface to hal yet? I know we talked about it
[22:39:25] <mshaver> actually, you raise the turret with an air cylinder and start an air motor that spins the turret. When you read the right tool number from the turret encoder, you drop the turret!
[22:39:51] <mshaver> i think so
[22:39:56] <cradek> nice, that sounds both fast and straightforward
[22:40:13] <mshaver> and loud too
[22:40:23] <cradek> I bet
[22:40:49] <mshaver> well, got to let the dog outside, back in a short while...