#linuxcnc | Logs for 2012-01-27

[00:00:03] <andypugh> 4x or 8x might be a good compromise
[00:00:41] <andypugh> Depending on the mechanics you might never get close to running out of step rate.
[00:00:57] <pfred1> andypugh that and when I was changing the mode on my driver i totally blew up my driver IC last nite but I think it just shorted out when I was on the board I don't know what happened
[00:01:26] <andypugh> TB6560?
[00:01:29] <pfred1> yes
[00:01:42] <pfred1> but a homemade board there is a chance it could have shorted under
[00:02:01] -!- Jim_ [Jim_!~jsr@in-184-1-118-203.dhcp.embarqhsd.net] has joined #linuxcnc
[00:02:01] <andypugh> They _hate_ it if you disconnect one motor phase, make sure the motor terminals are solid
[00:02:03] <pfred1> it is likely what happened it just happened when I was changing the mode
[00:02:19] <pfred1> well they also hate when the motor output shorts to ground
[00:02:22] <andypugh> Power off before changing _anything_
[00:02:35] <pfred1> andypugh it is what i plan on doing from here on in
[00:02:54] <pfred1> though I don't think that is what caused it I'm sure I've changed mode running with impunity in the past
[00:02:57] <andypugh> I found a chap source a little while back, but don't keep it.
[00:03:03] <skunkworks> JT-Shop: that doesn't make sense to me. I would think there would only 8 codes (8 bits - 255)
[00:03:14] <pfred1> andypugh the driver ICs?
[00:03:17] <andypugh> Yes
[00:03:24] -!- theorb [theorb!~theorb@] has joined #linuxcnc
[00:03:28] -!- theorbtwo has quit [Ping timeout: 245 seconds]
[00:03:28] <pfred1> mouser has them for $4.29 USD
[00:03:35] theorb is now known as theorbtwo
[00:03:46] <andypugh> That will do. I am in the UK, and RS don't list them.
[00:04:08] <pfred1> I hear about people having difficulties sourding things out of the US a lot
[00:04:14] <pfred1> sourcing things even
[00:04:32] <pfred1> what is wrong with all of you people :)
[00:04:59] <pfred1> actually I think it might be the case that things are too easy to buy in the US
[00:05:06] <JT-Shop> 0 - 1 - 2 - 3 - 4 - 8 - 16 - 24 - 32 - 64 - 128 - 256 are the status numbers
[00:05:14] <andypugh> PCW: Do you know off-hand what the threshold is in the 7i39 Hall sensor inputs? I am only seeing 0.72V out of my sensors, and I can't decide if that is because something is wrong, or if that is what worked perfectly before.
[00:05:24] <andypugh> 3?
[00:05:39] <pfred1> JT-Shop who are you Fibonacci?
[00:06:06] <JT-Shop> who is that
[00:06:17] <andypugh> Some series dude
[00:06:23] <pfred1> http://en.wikipedia.org/wiki/Fibonacci_number
[00:06:23] <JT-Shop> I guess they are all unique numbers or something
[00:06:48] <andypugh> 3 and 24 don't belong in that series.
[00:07:06] <pfred1> it almost looks like if Fibonacci was a computer the list he'd generate
[00:09:44] <pfred1> andypugh I've heard of electronics being effectively described as the art of signal conditioning
[00:10:31] <andypugh> sounds fair
[00:10:51] <pfred1> andypugh thinking of it that way serves me well whenever I run into a glitch
[00:10:54] <andypugh> Arguably that describes all of science and engineering
[00:12:30] <andypugh> It's a good solid signal, just not the voltage I was expecting. I can easily boost it (I have lots of comparators) but I can't decide if that is just what these sensors do (and it all worked fine in the prototype) or if there is a problem on my board.
[00:13:06] <pfred1> I've built circuit prototypes that didn't work in the final version
[00:13:07] <andypugh> I didn't measure the signal before, I just connected to the 7i39 and it worked.
[00:13:07] <JT-Shop> the logic seems to be subtract the highest number you can until your at 0 and each number that fits is an active status message
[00:13:23] <pfred1> it is actually a pretty common thing to have happen with sensitive circutry
[00:13:55] <JT-Shop> status 1 is all the error codes and they are 00 - 20
[00:14:15] <pfred1> stuff like the breadboard's natural stray capacitance just made stuff work, or not
[00:14:38] <andypugh> pfred1: Yes, I built a very nice non-contacting capacitor bridge as a displacement transducer. The breadboard (push in) version worked a lot better than the PCB.
[00:14:52] <pfred1> yeah it can drive you nuts
[00:15:23] <pfred1> recently I got turned onto a prototyping technique i want to try out
[00:15:44] <pfred1> where you use a copper ground plane then stick on boards get stuck to it with circuit elements on it
[00:16:01] <pfred1> then your prototype can be your final version too
[00:16:12] <skunkworks> JT-Shop: you need the opposite of http://linuxcnc.org/docs/2.4/html/man/man9/weighted_sum.9.html
[00:16:52] <skunkworks> I don't see one.. you may have to make a simple comp... (I do the same for the gearshift - convert a number to 4 bits)
[00:17:32] <skunkworks> (0-15 = 0000 to 1111)
[00:18:01] <andypugh> Cool circuit, by the way. The transducer was two coaxial tubes on the machine frame. then I set up a bridge of a centre-tapped transformer and 2 capacitors, one variable trimmer to null it out, and the other was the tubes. Then an op-amp perfect diode as a rectifier. I wanted something where the sensor was cheap and tough, as the machine did 0 to 50mph in 12mm and didn't always stop.
[00:18:54] <pfred1> andypugh sounds very sensitive to me
[00:19:19] <skunkworks> sc1sol=Gear & 1 ;
[00:19:21] <skunkworks> sasol=Gear & 2;
[00:19:22] <skunkworks> sc2sol=Gear & 4;
[00:19:23] <andypugh> The inverse function of weighted-sum is select8, that will do what you want.
[00:19:24] <skunkworks> sssol=Gear & 8;
[00:19:33] <JT-Shop> I'm thinking I can do it in the python file like this http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=48&id=16439&start=12
[00:19:34] <skunkworks> heh - really?
[00:19:54] <andypugh> Ah, no.
[00:20:22] <andypugh> it probably ought to be
[00:20:59] <pfred1> a 74154 takes 16 inputs and spits out 4 bit binary :)
[00:21:20] <pfred1> I made a cool scanning hexadecimal keypad out of one once
[00:22:13] <andypugh> skunkworks: JT-Shop: Match8
[00:22:34] <andypugh> No, sorry. wrong again
[00:23:11] <JT-Shop> I still need to toss out 32, 64, 128, and 256 which I don't care about
[00:23:21] <skunkworks> heh - I thought I looked at them all
[00:23:38] <andypugh> Well, you just wouldn't net the unwanted ones
[00:23:52] <skunkworks> JT-Shop: right - but if you made a generic one - youwould not connect those
[00:23:53] <andypugh> skunkworks: I think you did
[00:23:54] <skunkworks> heh
[00:23:55] <JT-Shop> but I have to subtract them from the number
[00:24:15] <andypugh> No.
[00:24:20] <skunkworks> no - you would take the number and 'convert' it to bits.
[00:24:25] <skunkworks> then use the bits you want
[00:24:32] <JT-Shop> http://git.mah.priv.at/gitweb/emc2-dev.git/blob/5344f5739076c07a39d1dfa77523bc7efbd8e4ca:/configs/gladevcp/label/label.py
[00:24:52] <andypugh> bit-N-out = input & 1 << N
[00:27:22] <skunkworks> so 160 would be 10100000
[00:27:51] <andypugh> And set ouptputs 7 and 5
[00:28:22] <andypugh> There does seem to be a missing component there
[00:30:29] <andypugh> I think it will take longer to think of a name than to write an push it.
[00:31:15] <JT-Shop> I still think I need to do this in python to get my gladevcp label to give me meaningful information
[00:33:02] <skunkworks> binarydemux?
[00:34:50] <JT-Shop> kinda like if => 256 subtract 256 now if => 128 subtract 128 to get down to the numbers I'm interested in
[00:36:00] <andypugh> JT-Shop: Sounds like a fun widget. You could have one which has 8 different strings and displays then in sequence if the bits are set (we have very similar things to display errors at work)
[00:36:35] <andypugh> JT-Shop: Yes, but it's easier to bitmask with 1 << N
[00:37:16] <JT-Shop> bitmask?
[00:37:54] <MattyMatt> andypugh nice psu for TB6560 :) I think I will
[00:38:33] <andypugh> You might want to check the current rating, but I guess it will be like the others he has, and be "lots"
[00:39:10] <MattyMatt> yep the other had plenty on 24V and 50V, but only 2A on 12V but that's fine
[00:39:36] <andypugh> I would guess it actually drove steppers and TB6560s to make the wheels on a fruit-machine go round. Use Mach3 for the full Fruit-Machine experience.
[00:39:37] <pfred1> this is the PSU I made http://www.instructables.com/id/300-Watt-Linear-Power-Supply/
[00:40:23] <MattyMatt> I assume all these modern fruities are using chopping drivers on the 12V solenoids
[00:40:30] <pfred1> it can fry a TB6560 pretty good
[00:41:17] <andypugh> pfred1: Did you see the eBay ones? http://www.ebay.co.uk/itm/TRANSFORMER-5V-12V-12V-24V-50V-POWER-SUPPLY-/260927741558 10A 50V for £20? plus all the other voltages, it's just not worth building a PSU
[00:41:31] <MattyMatt> yeah I still have my 9A 25V toroid to use, but I neglected the RMS to DC so it might end up too high for a TB6560
[00:41:37] <pfred1> andypugh mine was free
[00:41:48] <andypugh> I like free
[00:41:55] <pfred1> I made it out of junk i had laying about
[00:42:03] <andypugh> That's not free.
[00:42:16] <pfred1> Ok it didn't cost me anything better?
[00:42:17] <MattyMatt> I paid £9 + £10 shipping for the toroid iirc
[00:42:39] <andypugh> which sounds daft, but is actually fair.
[00:42:49] <MattyMatt> but I have it now, no more cash outlay (except maybe more caps, and a fuse)
[00:43:06] <andypugh> And a huge 34V Zener?
[00:43:14] <pfred1> what for?
[00:43:31] <pfred1> man don't pump 34V into a TB6560
[00:43:40] <andypugh> 32V?
[00:43:44] <pfred1> maybe
[00:44:00] <pfred1> my PSU can supply it
[00:44:11] <pfred1> it'll regulate 1.2 to 40 I think
[00:44:28] <MattyMatt> some giant white LEDs to drop 3.7V?
[00:45:01] <MattyMatt> that'll bring me into the safe zone, if I can afford 9A worth of leds
[00:45:02] <pfred1> max I'm getting out of mine now is 24V because I'm only using 20VAC transformer with it
[00:45:28] <pfred1> MattyMatt have a go at my circuit it is a beast
[00:45:39] <pfred1> well it isn't actually mine I found it on the net
[00:45:53] <pfred1> but I bult like a half a dozen similar ones it is the best
[00:46:20] <MattyMatt> yeah that looks OK
[00:46:43] <pfred1> evne if you have ot buy all the parts new they're cheap
[00:47:06] <MattyMatt> it's 2A per 2N3055 tho isn't it? so 6A max from that diagram?
[00:47:08] <pfred1> the power transistors you can use naything that has the voltage and current rating
[00:47:28] <pfred1> since whne were 2N3055s 2 amps?
[00:47:30] <pfred1> try 10 amps
[00:47:53] <MattyMatt> I have some 36A mosfets actually, that are no good for logic drive
[00:47:58] <pfred1> they'er good to like 115 watts each
[00:48:23] <pfred1> I used some beasts i dug out of an old NEC minicomputer
[00:48:40] <pfred1> not 2n3055s
[00:49:09] <pfred1> sweet house brand stuff for their own high end merch
[00:50:19] <MattyMatt> like the flyback transistors on crt. standard types were never enough to replace the exotic ones (which wern't enough either)
[00:50:47] <MattyMatt> it never occured to me to parallel them
[00:50:58] <MattyMatt> coulda saved lots of crts that way
[00:50:58] -!- rob__H has quit [Ping timeout: 245 seconds]
[00:51:12] <pfred1> well then you have to current balance
[00:51:50] <Valen> fets current balance themselves generally
[00:51:54] <Valen> tempco is positive
[00:52:09] <andypugh> There is something gloriously Victorian about the "Cathode Ray Tube", the whole phrase denies the very existence of those new-fangled electrons.
[00:52:18] <Valen> andypugh: heh
[00:52:24] <JT-Shop> bitmask with 1 << N?
[00:52:28] <pfred1> andypugh yeah we are witnessing the end of an era
[00:52:35] <MattyMatt> hmmz. I do still have one crt with collapsed frame
[00:52:43] <andypugh> JT-Shop: Yes
[00:52:48] <pfred1> I'm using a CRT right now
[00:52:52] <JT-Shop> how does that work?
[00:52:59] <pfred1> last one i have in service in fact
[00:53:13] <pfred1> when it does that'll be it
[00:53:16] <pfred1> dies even
[00:53:25] <PCW> andypugh: freeby.mesanet.com/andy1.bit
[00:53:35] <MattyMatt> I want the pixel count, but not the desk space. ~4 sq ft for 2kx1.5k
[00:54:11] <MattyMatt> I'll give it a go. blender 2.5 really needs more than one LCD gives
[00:54:37] <andypugh> JT-Shop: Well, I am not sure about Python, but in C "1<<N" is 1 shifted N times. If you bitwise AND that with your original number and get a "yes" then that says that bit is set.
[00:54:56] <MattyMatt> scrolling toolbars looking for buttons sucks big
[00:55:07] <JT-Shop> ok, I'll see if I can finger that out
[00:55:42] <JT-Shop> light comes on in my head about bit masking from PLC programming
[00:57:13] <jdhNC> or (x&2^n)==n
[00:57:35] <pfred1> it seems all the neophites are all agog about 3D printers
[00:57:57] <pfred1> from what I've seen of consumer grade 3D printers they are little beter than waving around a hot glue gun
[00:58:25] <andypugh> I am due a large council-tax rebate. I accidentally paid direct debit and installments. That is going to become a 27" iMac. That's 2560x1440 and will be enough to be getting on with.
[00:58:58] <jdhNC> then you need dual 27"
[00:59:16] <pfred1> save it for oled
[00:59:46] <andypugh> It has an external monitor port, so I could add a second 27" matching monitor, but my council tax isnt that muc.
[00:59:57] <Jymmm> pfred1: rewinding microwave xfmr's is a good idea.
[01:00:14] <pfred1> Jymmm just don't be a dope like I did and cut off the primary
[01:00:20] <Jymmm> lol
[01:00:23] <pfred1> the heavy wire is the primary
[01:00:47] <skunkworks> JT-Shop: maybe as simple as this? http://pastebin.com/kSV26JY7
[01:00:51] <Jymmm> pfred1: multi-tap secondary?
[01:00:51] <skunkworks> untested
[01:01:03] <pfred1> Jymmm I don't know you hack it off
[01:01:12] <andypugh> My current 20" iMac wont run the 64-bit freeCAD build, or Lion. But the main plus is that I can give this machine to my parents and not have to support their hideous Celeron/Windows laptop any more.
[01:01:17] <Jymmm> pfred1: ah
[01:01:27] <pfred1> Jymmm then put 2 turns on it plug it in read what yo uget then calculate what you're going to need for your target voltage
[01:01:52] <Jymmm> pfred1: you unwind the WHOLE thing (secondary) ?
[01:02:00] <pfred1> yeah you chop it off
[01:02:05] <pfred1> then wind it by hand
[01:02:08] <pfred1> its not that bad
[01:02:30] <pfred1> you wind a heavier gauge wire because you want higher amps lower volts
[01:02:32] <Jymmm> chop off, as in hacksaw?
[01:02:40] <andypugh> Well, you could leave it on and unconnected for the exerimental one-turn phase
[01:02:50] <pfred1> yeah hacksaw chisel teeth people use a variety of methods to dig it out
[01:03:13] <pfred1> the big concern is to not damage the primary when you do it though
[01:03:26] <pfred1> drilling is a popular way to go
[01:03:26] <Jymmm> pfred1: you can't just pry apart the metal?
[01:03:32] <pfred1> they're welded
[01:03:34] <pfred1> the E plates
[01:03:47] <Jymmm> drill out the spot wolds?
[01:03:50] <Jymmm> welds
[01:04:00] <pfred1> I've heard of people suggesting it never heard of anyone actually successfully pulling one apart yet
[01:04:08] <Jymmm> heh
[01:04:10] <pfred1> looks laser or MIG to me
[01:04:15] <Jymmm> k
[01:04:19] <andypugh> Cut off the windings in bits, and accept that rewinding will be boring?
[01:04:30] <pfred1> andypugh pretty much it isn't that bad
[01:04:38] <pfred1> you have to wind something like 27 feet
[01:05:11] <pfred1> a big part of it is calculating your cross section and what gauge wire you can stuff in there
[01:05:23] <pfred1> but people worry about that when they make welders
[01:05:24] <andypugh> That's bearable. Wind it round a 1-foot stick until the stick won't fit an more.
[01:05:40] <pfred1> people use wedges to pack the windings
[01:05:52] <pfred1> if they really want to stuff wire in there
[01:06:05] <pfred1> but for CNC I don't thnk it'll be that tight
[01:06:17] <pfred1> you only want what 10-20 amps?
[01:06:21] <Jymmm> needing only 36v, shouldn't be too bad I think.
[01:06:32] <Jymmm> 700VA or so
[01:06:59] <pfred1> well the primary is rating 1000-1600 watts with engineering headroom
[01:07:09] <pfred1> so there's half your battle
[01:07:16] <andypugh> I had all sorts of plans to use my CNC to wind my motor, but then I decided I had enough wire to try it by hand and 20 minutes later I realised I had finished.
[01:07:42] <pfred1> andypugh and the relazed feeling you experienced was priceless
[01:07:47] <pfred1> relaxed even
[01:07:49] <Jymmm> how did you guys reattach the top of the e plate?
[01:08:00] <pfred1> you don't take it off
[01:08:06] <andypugh> We are saying leave it on
[01:08:07] <pfred1> you wind it by hand thread style
[01:08:12] <Jymmm> oh
[01:08:24] <pfred1> well least that is how everyone has done it to date
[01:08:41] <pfred1> it is a pain but it isn't the worst thing you can do
[01:09:11] <pfred1> the MW oven xformers I've seen there is no pulling them apart
[01:09:20] <Jymmm> can you reuse the wire you unwound in the first place?
[01:09:25] <andypugh> I think you could use a ruler (or similar) as a shuttle for the first half.
[01:09:29] <pfred1> no it is scrap bits and pieces
[01:09:45] <andypugh> Jymmm: It's too cheap to bother trying
[01:09:53] <Jymmm> andypugh: ah, ok.
[01:09:54] <pfred1> it is going to resemble a hairball more than anything else
[01:10:15] <Jymmm> so green pvc insulted gnd wire?
[01:10:24] <Jymmm> insulated
[01:10:32] <pfred1> you want an enamel wire that can handle temps
[01:11:06] <pfred1> hacking apart another xformer for its wire might be reasonable
[01:11:15] <Jymmm> enamel wire?! Really, shit, it'll cost me more to buy the wire than buy a xmfr
[01:11:15] <pfred1> then you know you have transformer wire
[01:11:53] <pfred1> speakers have crossovers with wire in them
[01:12:01] <pfred1> in nice spools
[01:12:34] <andypugh> Jymmm: It's cheap enough: http://www.maplin.co.uk/enamelled-copper-wire-44
[01:13:00] <pfred1> Jymmm no one ever said CNC was a cheap thing to do
[01:13:19] <andypugh> CNC is a cheap thing to do!
[01:13:33] <pfred1> andypugh we try but it doesn't always work out
[01:13:42] <pfred1> andypugh hey did you see my Z axis yet?
[01:13:43] <andypugh> Hah! you can't make that statement again!
[01:13:46] <Jymmm> http://www.amazon.com/Magnet-Enameled-Copper-0-0109-Diameter/dp/B000IJYRQQ
[01:14:30] <andypugh> pfred1: I don't think I did
[01:15:05] <pfred1> andypugh go see what $2.00 will buy you at a thrift store :) http://i.imgur.com/rUfIX.jpg
[01:16:03] <pfred1> for the first few inches i swear it has no play at all
[01:16:21] <andypugh> The caliper? the sash-cramps?
[01:16:22] <Valen> pfred1: i thaught that was a photo of my shed for a minute there
[01:16:41] <pfred1> Valen oh i have sloppy shop pics galore
[01:16:46] -!- GoSebGo [GoSebGo!~Seb@] has joined #linuxcnc
[01:17:16] <Valen> it was jut the bench, the jumper cables, the box with the heatsink and using malamine around the place
[01:17:24] <andypugh> pfred1: Top-left, what's that?
[01:17:28] <Valen> then i saw the stepper and went BAH!
[01:17:31] <Valen> ;->
[01:17:54] <pfred1> andypugh on the bench or off?
[01:18:10] <pfred1> what color is what you're asking about mostly?
[01:19:18] <andypugh> pfred1: On the floor. Looks Vax-ish
[01:19:27] <pfred1> Valen this is the only particle board that is going to be in my project i think the rest is going to be plywood
[01:19:31] <Valen> has mill written on it
[01:19:54] <pfred1> oh that is a paper box a box paper came in says hammerMill
[01:20:28] <andypugh> That's disappointing
[01:20:37] <pfred1> sorry :(
[01:20:48] <jdhNC> everyone has vaxes laying around
[01:20:51] <pfred1> I had a PDP 11/34 and some NEC thing the size of a desk
[01:21:13] <pfred1> let me find a pic of what is left of my PDP
[01:21:18] <andypugh> It was only last year that my company scrapped the last PDP/11 running a dyno.
[01:21:38] <jdhNC> andypugh: I still have 2 11/73's in production.
[01:21:50] <pfred1> this was taken in my old garage http://img832.imageshack.us/img832/5600/p3060008.jpg
[01:22:03] <andypugh> No reason why not, if the job hasn't changed, why change the hardware?
[01:22:09] <pfred1> those are the hard disk drives
[01:22:54] <pfred1> andypugh because electricity isn't free?
[01:22:57] <jdhNC> that, and there is ~$100k worth of other hardware in a camac crate attached to the PDP
[01:23:35] * JT-Shop is studying skunkworks example
[01:23:46] <pfred1> these look cool anyone interested in these? http://www.raspberrypi.org/
[01:23:57] <andypugh> Bear in mind that when I say "my company" I mean the world's 28th biggest company.
[01:24:00] <pfred1> $25 computer
[01:24:07] <jdhNC> pfred1: for $35, I'll buy one
[01:24:25] <pfred1> jdhNC ah I see the price has already inflated
[01:24:34] <jdhNC> no, the A version will be 25
[01:25:03] <JT-Shop> skunkworks: what does this line do bit0out=in & 1?
[01:25:04] <jdhNC> andypugh: no idea where we are ranked anymore (GE)
[01:25:06] <pfred1> it does look interesting
[01:25:22] <pfred1> jdhNC biggest tax thieves in history last i checked :)
[01:25:35] * JT-Shop company is pretty small with only 1.2 people
[01:25:40] <jdhNC> ^shrug^ as long as they pay me.
[01:25:48] <andypugh> jdhNC: Wikipedia has you at 18
[01:26:19] <pfred1> GE was Edison's old company
[01:26:36] <jdhNC> we are only 55% GE owned now (GE-Hitachi Nuclear)
[01:27:03] <skunkworks> it is bitwise :) it sets the bit0out to 1 if the first bit the binary is 1
[01:27:16] <JT-Shop> ah cool
[01:27:16] <andypugh> And easy to confuse with GEC/Marconi/whatever
[01:28:01] <pfred1> was Edison involved with Marconi?
[01:28:03] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[01:28:04] <JT-Shop> so does 0 1 2 3 4 8 16 24 follow bitwise?
[01:28:21] <jdhNC> not 24
[01:28:24] <andypugh> JT-Shop: Nearly. 3 and 24 are
[01:28:29] <andypugh> not right
[01:28:31] <skunkworks> 32
[01:28:37] <skunkworks> did I put 24?
[01:28:56] <JT-Shop> I kinda thought they were using something odd
[01:28:58] <pfred1> andypugh one of Edison's workshops is close to where I grew up so i got to toir it when I was a kid
[01:29:03] <andypugh> 24 is 16 and 8
[01:29:05] <pfred1> tour it even
[01:29:12] <JT-Shop> yea
[01:29:19] <pfred1> the one in East Orange
[01:29:23] <andypugh> pfred1: I seem to recall visiting.
[01:29:27] <skunkworks> ok - this actually builds http://pastebin.com/xckV8Yz4
[01:29:40] <pfred1> andypugh the one in East Orange?
[01:30:14] <andypugh> pfred1: No idea. East coast somewhere?
[01:30:22] <andypugh> skunkworks: Eeww!
[01:30:25] <skunkworks> http://pastebin.com/pDiwsfLv
[01:30:34] <skunkworks> andypugh: not pretty....
[01:30:52] <skunkworks> I like to call it brute force programming
[01:31:13] <andypugh> bit out bit-##-out[personality]
[01:31:33] <andypugh> then you can have arbitrary bit-width
[01:31:35] <pfred1> andypugh might have been Menlo Park you went to it is more famous
[01:31:50] <JT-Shop> skunkworks: does that handle the multiple messages though like 163 is 128 and 32 and 3
[01:31:59] <andypugh> Menlo Park is CA? Never been that far west
[01:32:16] <pfred1> nah Menlo Park is close to perth Amboy
[01:32:18] <jdhNC> edison menlo park is in NJ
[01:32:29] <andypugh> JT-Shop: 163 is three individual errors, I would warrant
[01:32:53] * pfred1 is a Jersy boy
[01:33:05] <andypugh> Maybe then, we drove from upstate NY to Key West and back
[01:33:14] <jdhNC> that's a helluva drive
[01:33:21] <pfred1> I've driven to Key West
[01:33:30] -!- Valen has quit [Quit: Leaving.]
[01:33:33] <pfred1> but only from upstate NJ
[01:33:38] <jdhNC> I've driven to perth amboy
[01:33:42] <skunkworks> http://pastebin.com/ECyHd3c6
[01:33:53] <skunkworks> that is 160.. wonder why unsigned shows as hex
[01:33:53] <pfred1> jdhNC hopefully with the vents on recorculate
[01:33:54] <JT-Shop> these are not errors but rather status messages
[01:33:57] <pfred1> recirculate!
[01:33:58] <andypugh> Yeah, we planned a circle, all the way round, but 55mph and 4 weeks and a Dodge Aspen...
[01:34:13] <JT-Shop> the errors are on status 1 and only one is allowed
[01:34:16] <pfred1> man it stinks down there
[01:34:23] <jdhNC> pfred1: nah, it was fine. Bought a boat nearby and sea-trialed it there
[01:34:47] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[01:34:49] <pfred1> it is a freaky part of the world
[01:34:52] <skunkworks> JT-Shop: all this does is takes a 8 bit number and converts it to 8 bits - so 160 would be 10100000
[01:34:52] <andypugh> skunkworks: Seriously, look at using personality and pin arrays, much neater.
[01:35:11] <skunkworks> andypugh: I know you are talking to me....
[01:35:14] <skunkworks> ;)
[01:35:22] -!- GoSebGo has quit [Quit: Bye]
[01:35:36] -!- GoSebGo [GoSebGo!~Seb@] has joined #linuxcnc
[01:35:40] <JT-Shop> I'm trying to understand but I'm having a blond moment
[01:35:43] <pfred1> now I'm wondering why I never went to menlo park myself
[01:35:55] <pfred1> I only lived about 15 miles from it
[01:38:00] * JT-Shop reads the manual again and it is a 16 bit number and they only use 9 bits
[01:38:10] * pfred1 's whole life has been one big blonde moment
[01:38:20] <JT-Shop> lol
[01:39:04] <pfred1> http://www.youtube.com/watch?v=BfuWXRZe9yA
[01:39:17] <skunkworks> 16 bit?
[01:39:30] <JT-Shop> jambalaya time
[01:39:32] <JT-Shop> yea
[01:39:46] <skunkworks> same deal..
[01:40:01] <skunkworks> just need more bits - and only hook the ones up you neeed.
[01:40:30] <andypugh> skunkworks: 0139. Can I get this done before 0200? It's a work night an I am three glasses into my insomnia cure.
[01:40:45] <JT-Shop> so 3 is 2+1 which is different than 1 or 2...
[01:41:08] <JT-Shop> Andy I'm ahead of you by one...
[01:41:29] <pfred1> andypugh I stayed up too late last night don't do it
[01:41:57] <skunkworks> 3 would be 00000011
[01:42:01] <pfred1> the driver IC being fried though I couldn't just leave it
[01:42:06] <JT-Shop> seems to me the 3 and 24 complicate it somewhat
[01:42:28] <andypugh> pfred1: I was up till 4am tuesday, I am just not very good at sleeping
[01:42:45] * JT-Shop must go inside or be called late for dinner...
[01:42:55] <pfred1> I've never been any good at boolean algrbra and ven diagrams and all of that stuff
[01:43:10] <pfred1> andypugh hot shower
[01:43:25] -!- Nick001 [Nick001!~nospam@173-86-68-247.bras0-epix.clsm.pa.frontiernet.net] has joined #linuxcnc
[01:50:44] <pfred1> dang what happened to winter here this year?
[01:51:30] <pfred1> the end of January and they are predicting 62F tomorrow
[02:00:56] <andypugh> JT-Shop: skunkworks: http://pastebin.com/sgs8rgeb
[02:01:21] <skunkworks> show off ;)
[02:01:55] <andypugh> loadrt antiimux personality=8 (personality=8,10,32 ought to work too, bit isn't tested)
[02:04:07] <andypugh> I just noticed that I exactly hit the deadline :)
[02:06:37] <skunkworks> heh'
[02:10:56] -!- tlab has quit [Ping timeout: 240 seconds]
[02:15:56] -!- ries has quit [Ping timeout: 240 seconds]
[02:23:01] <andypugh> I will clean it up and push it tomorrow, I think it fits a requirement.
[02:23:10] <andypugh> But for now, goodnight.
[02:23:18] <pfred1> andypugh nite
[02:23:32] -!- andypugh has quit [Quit: andypugh]
[02:26:21] -!- SWPadnos [SWPadnos!~Me@74-92-8-208-NewEngland.hfc.comcastbusiness.net] has joined #linuxcnc
[02:33:10] -!- SWPadnos has quit [Quit: Buh - Bye]
[02:43:44] -!- pfred1 has quit [Quit: out]
[02:50:58] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[02:52:14] -!- SWPadnos [SWPadnos!~Me@74-92-8-208-NewEngland.hfc.comcastbusiness.net] has joined #linuxcnc
[02:53:19] -!- SWPadnos has quit [Changing host]
[02:53:20] -!- SWPadnos [SWPadnos!~Me@emc/developer/SWPadnos] has joined #linuxcnc
[02:53:20] -!- mode/#linuxcnc [+v SWPadnos] by ChanServ
[03:09:45] -!- clytle374 [clytle374!~clytle374@75-105-212-57.cust.wildblue.net] has joined #linuxcnc
[03:09:48] -!- clytle374 has quit [Read error: Connection reset by peer]
[03:12:30] -!- mhaberler has quit [Quit: mhaberler]
[03:14:31] -!- stormlight [stormlight!~jasonandt@c-50-131-96-59.hsd1.ca.comcast.net] has joined #linuxcnc
[03:15:05] -!- stormlight has quit [Client Quit]
[03:17:48] -!- clytle374 [clytle374!~clytle374@] has joined #linuxcnc
[03:41:46] -!- clytle374 has quit [Read error: Connection reset by peer]
[03:44:56] -!- clytle374 [clytle374!~clytle374@] has joined #linuxcnc
[04:36:18] -!- mshaver [mshaver!~mshaver@c-68-50-233-206.hsd1.md.comcast.net] has parted #linuxcnc
[04:54:38] -!- factor [factor!~factor@] has joined #linuxcnc
[04:58:22] -!- psha[work] [psha[work]!~psha@] has joined #linuxcnc
[05:20:04] -!- factor has quit [Ping timeout: 252 seconds]
[05:54:48] -!- factor [factor!~factor@] has joined #linuxcnc
[06:30:46] -!- ve7it has quit [Remote host closed the connection]
[06:40:22] -!- jts [jts!~jts@cpe-67-49-64-146.socal.res.rr.com] has joined #linuxcnc
[06:51:53] -!- jts has quit [Quit: Leaving]
[06:59:23] -!- clytle374 has quit [Quit: Leaving]
[07:20:09] -!- mhaberler [mhaberler!~mhaberler@] has joined #linuxcnc
[07:30:41] -!- pingufan [pingufan!~rainer@goliath.hantsch.co.at] has joined #linuxcnc
[08:05:13] -!- pingufan has quit [Quit: Konversation terminated!]
[08:14:32] -!- Valen [Valen!~Valen@2001:44b8:3199:9100:21e:8cff:fe63:55df] has joined #linuxcnc
[08:24:03] <Loetmichel> mornin'
[08:27:47] <Valen> sup
[09:00:15] -!- Valen has quit [Quit: Leaving.]
[09:07:35] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[09:18:15] -!- vladimirek [vladimirek!~vladimire@bband-dyn226.178-40-36.t-com.sk] has joined #linuxcnc
[09:20:59] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[09:23:59] <mrsun> damn the stl file format was complicated. ... the whole of like 3 stuff that it contains ;P
[09:25:11] -!- rob_h [rob_h!~rob_h@5ace704a.bb.sky.com] has joined #linuxcnc
[09:31:30] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[09:32:57] -!- cart-cnc [cart-cnc!~cart-cnc@lns-bzn-47f-81-56-201-200.adsl.proxad.net] has joined #linuxcnc
[09:41:20] -!- cart-cnc has quit [Remote host closed the connection]
[09:41:50] -!- mhaberler has quit [Quit: mhaberler]
[09:43:55] -!- vladimirek has quit [Remote host closed the connection]
[09:54:04] -!- sumpfralle has quit [Read error: Connection reset by peer]
[09:59:14] -!- Jim_ has quit [Quit: Leaving]
[10:09:07] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[10:20:18] -!- sumpfralle1 [sumpfralle1!~lars@] has joined #linuxcnc
[10:20:19] -!- sumpfralle has quit [Read error: Connection reset by peer]
[10:20:41] -!- e-ndy [e-ndy!jkastner@nat/redhat/x-rxtquncsnzqbzhxn] has joined #linuxcnc
[10:30:33] -!- mhaberler [mhaberler!~mhaberler@] has joined #linuxcnc
[10:31:24] -!- sumpfralle1 has quit [Ping timeout: 252 seconds]
[10:36:33] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[10:43:52] -!- sumpfralle has quit [Read error: Connection reset by peer]
[11:53:28] -!- Loetmichel_ [Loetmichel_!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[11:53:43] -!- factor has quit [Read error: Connection reset by peer]
[11:54:40] -!- Loetmichel has quit [Ping timeout: 276 seconds]
[12:11:51] -!- factor [factor!~factor@] has joined #linuxcnc
[12:21:39] -!- Gromits [Gromits!~chatzilla@c-98-250-55-31.hsd1.mi.comcast.net] has joined #linuxcnc
[12:23:23] <Gromits> psha: Do you have other (real-world) examples of Gladevcp? I am just starting to look at replacing my pyvcp config and am confused on how things connect. I would like to see a real example of .hal, .ui. and .py files. I have seen the examples on the manual pages but want something more complete...
[12:30:09] <psha[work]> other then what? )
[12:30:36] <psha[work]> i've something more complete but it's a bit complex - standalone UI
[12:33:43] <jthornton> Gromits: I just started with the config that mhaberler did for me on the forum
[12:33:44] <Gromits> I want to see some working EMC configs where random pins are connected to buttons, etc. I have gone through the manual and looked at stuff, but apparently I am just dense. I can't get a simple homing or estop button connected to my config
[12:34:21] <mhaberler> Gromits: look under configs/gladevcp, there are several complete examples there
[12:34:30] <Gromits> The one that changs the background color?
[12:34:39] <Gromits> I have looked in there.
[12:34:56] <jthornton> me? yes the background and label text one
[12:35:26] <jthornton> I can't see my BP computer for some reason from here this morning or I would get the config for you
[12:35:32] <Gromits> I have run the panel sim config and looked at it, but it doesn't really connect anything to EMC. It just blinks leds on button pushes, etc.
[12:35:33] <mhaberler> there are several examples there which cover pretty much all of the widgets and functionality
[12:36:22] <mhaberler> ok, there are others which use gladevcp and not just blink, see configs/sim/remap/manual-toolchange-*
[12:36:24] <Gromits> I get the widgets and how to lay them out, what i am missing is the connection back to EMC.
[12:36:39] <mhaberler> see the .hal files as specified in the ini file
[12:36:40] <Gromits> Ok, I haven't looked at that one, I will....
[12:37:02] <mhaberler> typically gladevcp pins will be hooked in a POSTGUI_HALFILE
[12:37:26] <mhaberler> there's the plumbing to the rest of emc
[12:37:39] <Gromits> I am not in front of the computer or would ask some specific questions.
[12:38:06] <Gromits> I should be in the shop in about an hour and if anyone is around I will ask something more concrete. Thanks for the info though...
[12:38:12] <mhaberler> sure
[12:43:49] -!- skunkworks has quit [Ping timeout: 240 seconds]
[12:45:31] -!- ries [ries!~ries@] has joined #linuxcnc
[12:48:59] -!- Gromits has quit [Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111220165912]]
[12:58:22] -!- skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-425.dsl.airstreamcomm.net] has joined #linuxcnc
[13:09:39] -!- psha[work] has quit [Quit: Lost terminal]
[13:21:58] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[13:24:27] -!- sumpfralle1 [sumpfralle1!~lars@] has joined #linuxcnc
[13:24:28] -!- sumpfralle has quit [Read error: Connection reset by peer]
[13:27:19] -!- sumpfralle1 has quit [Read error: Connection reset by peer]
[13:29:04] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[13:30:57] -!- i_tarzan [i_tarzan!~i_tarzan@] has joined #linuxcnc
[13:36:17] -!- rooks has quit [Read error: Connection reset by peer]
[13:37:26] -!- rooks [rooks!~rooks@102-bem-18.acn.waw.pl] has joined #linuxcnc
[13:42:40] -!- sumpfralle has quit [Read error: Connection reset by peer]
[13:52:13] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[13:58:34] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[13:59:50] -!- factor has quit [Quit: Leaving]
[14:06:14] -!- FinboySlick [FinboySlick!~shark@] has joined #linuxcnc
[14:06:24] -!- FinboySlick [FinboySlick!~shark@] has parted #linuxcnc
[14:18:35] -!- GoSebGo has quit [Quit: Bye]
[14:18:58] -!- GoSebGo [GoSebGo!~Seb@] has joined #linuxcnc
[14:27:03] -!- mhaberler has quit [Quit: mhaberler]
[14:39:09] -!- syyl [syyl!~syyl@p4FD14862.dip.t-dialin.net] has joined #linuxcnc
[14:39:44] -!- Gromits [Gromits!~chatzilla@] has joined #linuxcnc
[14:40:30] -!- mhaberler [mhaberler!~mhaberler@] has joined #linuxcnc
[14:42:04] <Gromits> jthornton: my distribution doesn't have the "remap" directory in it (configs/sim/remap/manual-toolchange-* )....
[14:45:02] -!- psha [psha!~psha@] has joined #linuxcnc
[14:48:47] <Gromits> Ok, basic question. I have a Home button defined in GladeVCP. I have hal_action_home1 in Actions. When I highlight the Home_Btn in Glade UI I have hal_action_home1 selected under Related Action. When I run I get: RuntimeWarning: missing handler 'on_Home_led_hal_pin_changed'
[14:51:20] -!- n2diy [n2diy!~darryl@] has joined #linuxcnc
[14:51:28] <Gromits> Also, in example file there is: setp gladevcp.status 1 in the hal file. When I have this in my hal file I get: a2gantry-triv.hal:113: parameter or pin 'gladevcp.status' not found
[14:51:29] <Gromits> Shutting down and cleaning up LinuxCNC...
[14:52:23] <mhaberler> which config did you start with?
[14:52:29] <Gromits> none
[14:52:44] <mhaberler> you dont believe in examples, it seems ;)
[14:52:47] <Gromits> I just wanted to do a basic thing, a single home button (or even an estop button) that would work
[14:53:02] <Gromits> No, I do indeed believe in examples, I just couldn't get them to work
[14:53:33] <mhaberler> can we go through what didnt work in the examples? this would affect other people
[14:53:43] <Gromits> sure.
[14:53:54] <Gromits> I am clay, please mold :-)
[14:54:03] <mhaberler> what were your steps? did you build from source, or a buildbot package? master, or v2.5_branch?
[14:54:13] <Gromits> build from source
[14:54:21] <Gromits> 2.5
[14:54:24] <mhaberler> ok
[14:54:39] <mhaberler> run-in-place (default)?
[14:54:42] <Gromits> yes
[14:54:44] <mhaberler> ok
[14:54:54] <mhaberler> you did . scripts/rip-environment?
[14:54:59] <Gromits> yes
[14:55:01] <Gromits> that all works
[14:55:08] <mhaberler> cd configs/gladevcp/complex
[14:55:16] <mhaberler> cat README - here's your command line
[14:55:41] <mhaberler> gladevcp -d -d -u complex.py -U debug=3 -H complex.hal complex.ui
[14:55:47] <mhaberler> does this work, or not?
[14:55:53] <Gromits> should I put that in my hal file, or just run it
[14:56:13] <mhaberler> just run it on the shell level
[14:56:27] <Gromits> seg fauly
[14:56:30] <Gromits> fault
[14:56:37] <Gromits> (gladevcp:1551): libglade-WARNING **: Expected <glade-interface>. Got <interface>.
[14:56:39] <Gromits> (gladevcp:1551): libglade-WARNING **: did not finish in PARSER_FINISH state
[14:56:40] <Gromits> **** GLADE VCP INFO: Not a libglade project, trying to load as a GTK builder project
[14:56:42] <Gromits> RTAPI: ERROR: could not open shared memory (errno=2)
[14:56:44] <Gromits> Segmentation fault
[14:57:12] <mhaberler> ok - you built an rt config and forgot 'sudo make setuid'?
[14:57:24] <Gromits> no, i did setuid at the end
[14:57:28] <Gromits> 100% sure
[14:57:37] <mhaberler> execute in the shell:
[14:57:39] <mhaberler> runtests
[14:57:59] <Gromits> running....
[14:58:39] <mhaberler> the above is not a gladevcp error but a basic issue with your installation
[14:58:52] <Gromits> Runtest: 46 tests run, 46 successful, 0 failed + 0 expected
[14:59:06] <mhaberler> cd configs/sim/axis
[14:59:12] <mhaberler> linuxcnc axis.ini
[14:59:15] <mhaberler> does that work?
[14:59:51] <Gromits> seems to work fine
[15:00:45] <mhaberler> when you do a '. scripts/rip-environment' - does it tell you something about 'only once per session'?
[15:01:04] <Gromits> If I run it more than once per session :-)
[15:01:12] <Gromits> I ran it this morning, first time and no...
[15:01:53] <Gromits> Here is it from this morning when I was trying my own config:
[15:01:57] <Gromits> a2ms@Klaatu:~/emc2/emc2-dev$ . scripts/rip-environment
[15:01:59] <Gromits> a2ms@Klaatu:~/emc2/emc2-dev$ linuxcnc
[15:02:01] <Gromits> LINUXCNC - 2.5.0-pre2
[15:02:03] <Gromits> Machine configuration directory is '/home/a2ms/emc2/emc2-dev/configs/a2gantry-triv-beta-glade'
[15:02:49] <mhaberler> can you try this:
[15:02:58] <mhaberler> cd configs/sim
[15:03:16] <mhaberler> linuxcnc axis-iocontrolv2-demo.ini
[15:03:27] <mhaberler> this is axis with a gladevcp panel
[15:03:58] <Gromits> Machine configuration directory is '/home/a2ms/emc2/emc2-dev/configs/sim'
[15:04:00] <Gromits> Machine configuration file is 'axis-iocontrolv2-demo.ini'
[15:04:02] <Gromits> Could not find ini file '/home/a2ms/emc2/emc2-dev/configs/sim/axis-iocontrolv2-demo.ini'
[15:04:27] <mhaberler> ah, sorry, this is in master only
[15:04:33] <mhaberler> hold on
[15:05:23] -!- psha has quit [Read error: Connection reset by peer]
[15:05:50] -!- psha [psha!~psha@] has joined #linuxcnc
[15:06:26] <mhaberler> cd configs/sim/gladevcp
[15:06:27] <mhaberler> linuxcnc gladevcp_panel.ini
[15:06:34] <mhaberler> this should be in v2.5_branch
[15:07:13] <Gromits> runs and I get the glade panel
[15:07:18] <mhaberler> ok
[15:07:25] <mhaberler> so, go from this config
[15:07:29] <Gromits> This is the one I had spent time playing with
[15:07:47] <Gromits> but it doesn't connect anything to emc.
[15:08:15] <Gromits> I see how to push buttons and light leds. I can't make my own estop button do anything (or home button).
[15:08:17] <mhaberler> then connect what you want, for instance halui pins to gladevcp.led etc
[15:08:55] <mhaberler> connect your estop button in gladevcp to halui.estop-something
[15:09:33] <Gromits> in hal, or in foo.ui?
[15:09:55] <mhaberler> in hal, as always - see manual-example.hal which touches estop
[15:10:19] <mhaberler> there is nothing to connect in foo.ui because it describes just the gladevcp component
[15:10:31] <mhaberler> all the plumbing is in hal files, as its always been
[15:11:03] <mhaberler> btw this is described in detail in the manual
[15:11:31] <Gromits> so I never have to tell the glade widgets to connect to anything in EMC? what is this all about then?....
[15:11:37] <Gromits> When I highlight the Home_Btn in Glade UI I have hal_action_home1 selected under Related Action. When I run I get: RuntimeWarning: missing handler 'on_Home_led_hal_pin_changed'
[15:12:00] <mhaberler> this doesnt follow
[15:12:19] <mhaberler> you connect gladevcp HAL widgets to other emc HAL pins through HAL files
[15:12:44] <mhaberler> b) you doing something else here - trying to connect a Python handler to a widget event
[15:12:53] <Gromits> so I don't need this Related Action thing?
[15:13:07] <mhaberler> Related Action?
[15:13:29] <Gromits> Yes, it is one of the fields in the Glade gui window for my Home button
[15:14:06] <mhaberler> can I suggest you work through some of the examples in the manual - they show in detail both the HAL plumbing, and examples for event handlers
[15:14:24] <mhaberler> the manual examples are all under configs/gladevcp
[15:14:56] <Gromits> I played with those several times yesterday. Then I tried to simply define my own Estop button (just like in the example). Nada
[15:15:15] <Gromits> The I tried Home button, same (lack of) resuly
[15:15:17] <Gromits> result
[15:15:41] <mhaberler> did you use a HAL_Button or an EMC Action?
[15:16:02] <Gromits> A hal button
[15:16:14] <Gromits> looking in my ui file hang on...
[15:16:31] <Gromits> <object class="HAL_Button" id="Home_Btn">
[15:16:33] <Gromits> <property name="label" translatable="yes">Home</property>
[15:16:34] <Gromits> <property name="width_request">183</property>
[15:16:34] <mhaberler> so if you got that panel working, halshow will show a HAL pin called gladevcp.hal_buttonwhatsit
[15:16:36] <Gromits> <property name="height_request">36</property>
[15:16:37] <Gromits> <property name="visible">True</property>
[15:16:39] <Gromits> <property name="can_focus">True</property>
[15:16:41] <Gromits> <property name="receives_default">True</property>
[15:16:42] <Gromits> <property name="related_action">hal_action_home1</property>
[15:16:44] <Gromits> <signal name="pressed" handler="on_Home_Btn_pressed"/>
[15:16:58] <mhaberler> do you edit ui files by hand?
[15:17:12] <Gromits> no, glade thc.ui (is the name of my ui file)
[15:18:09] <Gromits> when I run it I get: a2gantry-triv.hal:113: parameter or pin 'gladevcp.status' not found
[15:18:11] <Gromits> Shutting down and cleaning up LinuxCNC...
[15:18:17] <mhaberler> ok fine, you added a signal handler. on_Home.. this must refer to a Python method in the .py file passed to gladevcp. This has nothing to do with HAL pins.
[15:19:02] <mhaberler> then the name of the gladevcp hal component is different. See man gladevcp. it will tell you that default is the basename of the ui file.
[15:19:32] <mhaberler> please show how gladevcp is started in your ini file (paste line here)
[15:19:50] <Gromits> GLADEVCP=-u ../gladevcp/hitcounter.py thc.ui
[15:20:24] <mhaberler> ok, now please read 'man gladevcp' - it will tell you the default HAL component name.
[15:20:35] <Gromits> 2ms@Klaatu:~$ man gladevcp
[15:20:36] <mhaberler> In your case it is thc I guess.
[15:20:37] <Gromits> No manual entry for gladevcp
[15:21:10] <mhaberler> you have a broken installation, something is fundamentally wrong here.
[15:21:17] <Gromits> tell me about it
[15:21:19] <mhaberler> cd src
[15:21:23] <mhaberler> make clean
[15:21:37] <mhaberler> make 2>&1 >make.log
[15:21:44] <mhaberler> poste make.log on pastebin
[15:21:59] <mhaberler> bbl
[15:22:25] <Gromits> ok making...
[15:27:07] <mhaberler> whats your OS version
[15:32:39] <Gromits> 10.04
[15:32:45] <mhaberler> ok
[15:34:30] <Gromits> make log: http://pastebin.com/hyrqqRck
[15:35:40] <Gromits> should I: make install-menus and sudo make setuid ?
[15:36:07] <mhaberler> yes, as suggested
[15:36:22] <mhaberler> please post also src/config.log to pastebin
[15:38:04] <Gromits> config log: http://pastebin.com/HXtDd390
[15:38:36] <Gromits> well, I do have a gladevcp man page now
[15:38:48] <mhaberler> ok, the --run-in-place isnt needed anymore because its default, but thats fine, not an error
[15:38:54] <mhaberler> now cd /home/a2ms/emc2/emc2-dev/
[15:39:03] <mhaberler> in a NEW shell
[15:39:17] <mhaberler> then '. scripts/rip-environment'
[15:39:22] <mhaberler> man gladevcp
[15:40:08] <Gromits> ok, it says: gladevcp [-g WxH+X+Y] [-c component-name] [-u handler] [-U useroption]
[15:40:10] <Gromits> [-H halfile] [-d] myfile.ui
[15:40:14] <Gromits> amongst other things...
[15:40:28] <mhaberler> hm, we didnt have that before
[15:40:37] <Gromits> right
[15:40:46] <mhaberler> magic
[15:40:56] <Gromits> odd
[15:41:18] <Gromits> This is about the 3rd time I have done the make, etc...
[15:41:37] <mhaberler> that will be €2,95, includes a warm handshake ;-)
[15:41:40] <Gromits> I did a git pull the other day to update things
[15:41:57] <Gromits> Please send the invoice to accts payable and we'll get right on that
[15:41:57] <mhaberler> whats the top three lines of 'git log'?
[15:42:40] <Gromits> a2ms@Klaatu:~/emc2/emc2-dev$ git log
[15:42:41] <Gromits> commit 731aa37e55e481b980dd3aa600a4878e0a9ab715
[15:42:43] <Gromits> Author: Francis Tisserant <tissf@free.fr>
[15:42:45] <Gromits> Date: Thu Jan 26 20:05:46 2012 +0100
[15:42:46] <Gromits> French docs cleaning, replace uS by µs
[15:42:48] <Gromits>
[15:42:49] <Gromits> Signed-off-by: Francis Tisserant <tissf@free.fr>
[15:42:51] <Gromits> commit a4450793d4a2fe7df56052885201d7279def2fdc
[15:43:46] <mhaberler> thats current wrt code
[15:44:05] <mhaberler> I think you should give it a second try with examples now, that looks better
[15:44:13] <Gromits> btw, I do really really appreciate the help (in spite of the sarcastic responses :-)
[15:44:20] <mhaberler> sure
[15:44:20] -!- n2diy has quit [Quit: Ex-Chat]
[15:44:36] <Gromits> I'll play some more now and see if anything works better....
[15:44:49] -!- n2diy [n2diy!~darryl@] has joined #linuxcnc
[15:44:57] <Gromits> though I am not sure why anything has changed!...
[15:45:04] <mhaberler> well, you know, I wrote the manual with the remote hope somebody would read it, so.. ;)
[15:45:22] <mhaberler> it's just a lucky day
[15:45:35] <mhaberler> good karma + vibes
[15:45:45] <mhaberler> in fact, very good karma
[15:45:48] <Gromits> Believe me, I have read it. This will be the third time at least. It usually takes a while for things to sink in but this has been crazy...
[15:46:01] <mhaberler> then sorry about it.
[15:46:21] <Gromits> no apologies needed. at least there is a manual!!!
[15:46:48] <mhaberler> I found that stepping back from master to v2.5_branch and doing a make without make clean creates subtle errors - hard to figure
[15:48:19] <Gromits> so should the line in my ini file be GLADEVCP=-u ../gladevcp/hitcounter.py myfile.ui (and I need to rename thc.ui to myfile?)
[15:48:34] <Gromits> also do I need a python script there at all?
[15:48:45] <Gromits> what is hitcounter.py?
[15:49:15] <Gromits> just a script that counts the times someone hit the button in the config and displays it...?
[15:49:16] <mhaberler> that is just a demo for a Python event handler - it shows the principle of connecting a signal, in glade, with a Python method
[15:49:38] <mhaberler> for just doing a pyvcp style panel, you dont need a python handler at all
[15:50:04] <Gromits> So I need: GLADEVCP= myfile.ui ?
[15:50:18] <mhaberler> try to stay with plane HAL widgets without signal handlers and Python scripts
[15:50:24] <mhaberler> yes, I think thats the line
[15:50:46] <Gromits> does it matter that it is myfile.ui or foo.ui?
[15:51:08] <mhaberler> btw the names of the signal handlers and the python function names must match or you get the error you saw
[15:51:25] -!- Nick001 has quit [Ping timeout: 245 seconds]
[15:51:27] <Gromits> oh, ok.
[15:51:39] <mhaberler> this will set the gladevcp HAL component name to either myfile or foo
[15:52:27] <Gromits> ok. so in the example there is this line in the hal file: setp gladevcp.status 1
[15:52:33] <mhaberler> but you can set it explicitly with '-c component foo.ui' - then the HAL comp will be named component
[15:52:35] <Gromits> where does gladevcp.status come from
[15:53:19] <mhaberler> see http://www.linuxcnc.org/docs/devel/html/gui/gladevcp.html#_integrating_into_axis_like_pyvcp
[15:53:37] <mhaberler> status is the name of a HAL widget in the ui file
[15:54:33] <mhaberler> ah, I just see with that setup you cant change the HAL comp name - stop the presses - its gladevcp, period
[15:55:33] <Gromits> my presses are stopped, but I don't know what you are saying...
[15:56:56] <mhaberler> i had suggested 'GLADEVCP=-c foo bar.ui' will set the HAL component name to foo, but it is fixed at 'gladevcp'
[15:57:11] <Gromits> ok
[15:58:06] <mhaberler> anyway, good luck, have some RL coming up
[15:58:10] <Gromits> so, i still get that error, I guess becuase I have used a home hal action.
[15:58:56] <Gromits> I don't have any HAL buttons, just EMC Actions, HAL Python, and a section called Control and Display
[15:59:04] <mhaberler> what you had was: a signal handler set in the UI file, and not matching Python handler
[15:59:13] <mhaberler> aha, you DO have an EMC Action...
[15:59:29] -!- e-ndy has quit [Quit: Ex-Chat]
[15:59:37] <mhaberler> (at was a HAL button recently ;)
[15:59:59] <Gromits> For my simple home button, do I use the button in the Control and Display section?
[16:00:18] <Gromits> Or do I use the one in the EMC Action called EMC Action Home>?
[16:00:44] <mhaberler> you would use the EMC Action Home, yes
[16:00:54] <Gromits> Hmm, that is what I did
[16:00:58] <Gromits> darn
[16:01:48] <mhaberler> you did associate the Action with a button as outlined here: http://www.linuxcnc.org/docs/devel/html/gui/gladevcp.html#_action_widgets_reference
[16:01:51] <mhaberler> ?
[16:02:30] <mhaberler> Actions are canned behaviour which must be triggered by something - they are not visible UI elements
[16:02:41] <Gromits> I thought I did
[16:02:45] <mhaberler> you associate them with something sensitive, like a button
[16:03:10] <Gromits> What specific button should I use - the HAL Button from the Python section, or the run of the mill button from the Controls and Displays section?
[16:05:14] <mhaberler> see the example for the MDI action in configs/gladevcp/mdi-command-example/owordsub.ui, this connects a button to and MDI action
[16:05:29] <Gromits> Also, to associate the action to the button, I thought I should select the Related Action dialog box (in General Tab) and select the radio button for hal_action_home1. Is that not right?
[16:05:56] <mhaberler> radio button??
[16:06:23] <mhaberler> use a normal HAL Button to start - take the example and just change the Action to start with
[16:06:37] <Gromits> Yes, in the "Choose a Action in this project" dialog box there are radio buttons for all the actions (Objects). I have hal_action_home1 and hal_action_estop1 there
[16:06:51] <mhaberler> ah, I see
[16:07:07] <Gromits> I selected hal_action_home1
[16:07:07] <mhaberler> I thought you linked it to a radio button
[16:07:12] <mhaberler> fine
[16:07:20] <Gromits> but not fine
[16:07:33] <mhaberler> so what happens if you click the button
[16:07:47] <Gromits> in glade?
[16:08:00] <Gromits> nothing happens in glade
[16:08:05] <mhaberler> no, this is just the editor - runtime, with axis
[16:08:55] <Gromits> we have come full circle. I can't run it. I get this....
[16:09:00] <Gromits> (gladevcp:22372): libglade-WARNING **: Expected <glade-interface>. Got <interface>.
[16:09:01] <mhaberler> you wont get something working with EMC from withing glade - you're just painting a GUI
[16:09:02] <Gromits> (gladevcp:22372): libglade-WARNING **: did not finish in PARSER_FINISH state
[16:09:03] <Gromits> **** GLADE VCP INFO: Not a libglade project, trying to load as a GTK builder project
[16:09:05] <Gromits> Xlib.protocol.request.QueryExtension
[16:09:06] <Gromits> Emit interp-run
[16:09:19] <Gromits> I can't even get the painted picture!
[16:09:31] <mhaberler> which painted picture
[16:09:37] <Gromits> Axis runs, Gladevcp does not come up
[16:09:38] <mhaberler> the Action icon?
[16:10:08] <Gromits> No Gladevcp panel appears and I get the above error in the terminal window where I launced linuxcnc
[16:10:15] <mhaberler> please: take the configs/gladevcp/mdi-command-example/owordsub.ui example, it is described in the manual. Get it to run.
[16:10:31] <mhaberler> then extend the ui file with a second button, and add some EMC Action
[16:10:41] <mhaberler> this example does work
[16:11:18] <mhaberler> the above errors are just startup warnings, and can be ignored
[16:13:39] <Gromits> what command do I issue to run the owordsub.ui
[16:15:01] <mhaberler> start axis, eg linuxcnc axis.ini; in a separate shell window do 'galdevcp owordsub.ui ' . OR add it with the GLADEVCP= line in your ini.
[16:17:52] <Gromits> ah, so frustrating... a2ms@Klaatu:~$ gladevcp ./emc2/emc2-dev/configs/gladevcp/mdi-command-example/owordsub.ui
[16:17:53] <Gromits> gladevcp: command not found
[16:18:06] <mhaberler> . scripts/rip-environment
[16:19:03] <mhaberler> you might want to add this to your bash profile
[16:19:53] <Gromits> ok, so I have the little owordsub window...
[16:21:14] <mhaberler> axis running?
[16:21:31] <mhaberler> push 'run O-word sub'
[16:21:51] <Gromits> yes axis is running but o-word sub is grayed out
[16:22:06] <mhaberler> turn estop off and the machine on
[16:22:12] <Gromits> ok
[16:22:31] <mhaberler> makes a difference?
[16:23:07] <Gromits> yes, I get unable to open file <oword> in Axis display
[16:23:07] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has joined #linuxcnc
[16:23:34] <mhaberler> fine, thats just the SUBROUTINE_PATH in the inifile which needs the directory of the subroutine
[16:23:43] <mhaberler> other than that it worked
[16:23:49] <Gromits> yes
[16:24:27] <mhaberler> try instead gladevcp whoareyou.ui , this doesnt need a sub
[16:24:57] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #linuxcnc
[16:25:08] <mhaberler> you should get a popup in axis, as described in the manual; if so, you successfully executed an EMC MDI Action which was linked to that button
[16:25:43] <Gromits> Yes, that works too.
[16:26:05] <Gromits> So all of this is in the .ui file only? Nothing in .hal and no python...?
[16:26:54] <mhaberler> Yes. No HAL, no Python. Edit the files with glade, and inspect the Action properties. You will find the (MSG,…) statement there which is sent to the interpreter.
[16:27:11] <Gromits> Ok...
[16:27:59] <mhaberler> or the oword call for that matter
[16:28:37] <Gromits> I have Who are you open in Glade. I don't see the MSG thing...
[16:28:51] <mhaberler> inspect the MDI action widget
[16:29:14] <Gromits> AH!
[16:29:18] <mhaberler> Bingo!
[16:29:43] <Gromits> I thought it was the damn button! OMG
[16:30:08] <mhaberler> it isnt all that obvious, I admit
[16:30:25] <mhaberler> it's the standard way to do canned actions in glade/gtk
[16:30:40] <Gromits> You don't know how many hours I have spent looking at the buttons and leds in those examples and finding jack!
[16:30:56] <mhaberler> ok, that will be €22,95 by now;)
[16:31:07] <Gromits> Anything you want at this point :-)
[16:31:17] <mhaberler> you think you can go from here?
[16:31:23] <Gromits> yes
[16:31:44] <mhaberler> good, in case s..t reaches fan I'll be around
[16:31:48] <Gromits> sorry to be so dense. a million thanks and a few (funny money symbol) ;-)
[16:31:51] <mhaberler> sure
[16:32:48] -!- mhaberler has quit [Quit: mhaberler]
[17:14:47] -!- cmorley1 has quit [Ping timeout: 252 seconds]
[17:16:03] -!- syyl_ws [syyl_ws!~sg@p4FD14862.dip.t-dialin.net] has joined #linuxcnc
[17:20:36] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[17:38:43] -!- Loetmichel_ has quit [Read error: Connection reset by peer]
[17:39:25] -!- mhaberler [mhaberler!~mhaberler@] has joined #linuxcnc
[17:40:14] -!- Loetmichel [Loetmichel!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[17:48:45] -!- psha has quit [Quit: Lost terminal]
[17:53:29] -!- psha [psha!~psha@] has joined #linuxcnc
[17:53:29] -!- Loetmichel has quit [Read error: Connection reset by peer]
[17:54:57] -!- Loetmichel [Loetmichel!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[17:55:57] -!- IchGucksLive [IchGucksLive!~chatzilla@95-89-244-199-dynip.superkabel.de] has joined #linuxcnc
[17:56:09] <IchGucksLive> Hi all around the world
[18:04:36] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[18:07:38] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust492.basl.cable.virginmedia.com] has joined #linuxcnc
[18:09:21] -!- jonnyATroot [jonnyATroot!~jonny@] has joined #linuxcnc
[18:13:40] <andypugh> Hi PCW
[18:14:16] <andypugh> Thanks for the firmware, but I think I might have been unclear on my needs, I was hoping for lots more encoders.
[18:15:40] <andypugh> One thing that does occur to me is that I only need half the 7i39. Would it be a really bad idea to try to use one of the spare outputs on the 7i39 to be the 0-10V for my spindle VFD?
[18:23:22] -!- jonnyATroot has quit [Ping timeout: 276 seconds]
[18:23:27] <pcw_home> OK I'll add some encoders on the second connector
[18:23:29] <pcw_home> no reason you could not use a 7I39 output for a PWM but you would probably
[18:23:31] <pcw_home> have to use a resistor divider on the output since the PS would likely be 24V or higher
[18:25:27] <andypugh> Ah, yes. Probably easier to use a conventional PWM. The layout I was hoping for was the normal SVSS8_8 but with the middle connector swapped to 7i39.
[18:26:00] <pcw_home> OK Ill use that as a starting point
[18:26:16] <Jymmm> mesanet customer service really sucks! You make a request and it takes em 8 minutes to respond?! Eeeeeeesh
[18:27:04] <andypugh> Worse still, I didn't even pay for most of this hardware :-)
[18:27:29] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #linuxcnc
[18:27:30] <Jymmm> andypugh: Seriously?! Those bastards trying to rip you off like that!
[18:27:54] -!- andypugh has quit [*.net *.split]
[18:27:54] -!- cncbasher has quit [*.net *.split]
[18:27:55] -!- GoSebGo has quit [*.net *.split]
[18:27:55] -!- i_tarzan has quit [*.net *.split]
[18:27:55] -!- SWPadnos has quit [*.net *.split]
[18:27:55] -!- PCW has quit [*.net *.split]
[18:27:55] -!- MattyMatt has quit [*.net *.split]
[18:27:55] -!- cjdavis has quit [*.net *.split]
[18:27:55] -!- packrat has quit [*.net *.split]
[18:27:56] -!- Eartaker has quit [*.net *.split]
[18:27:56] -!- archivist has quit [*.net *.split]
[18:27:56] -!- logger[mah] has quit [*.net *.split]
[18:27:56] -!- alex4nder- has quit [*.net *.split]
[18:28:01] -!- alex4nder- [alex4nder-!~alexander@ns2.lexterieur.net] has joined #linuxcnc
[18:28:04] -!- i_tarzan [i_tarzan!~i_tarzan@] has joined #linuxcnc
[18:28:05] -!- Eartaker [Eartaker!~Eartaker@unaffiliated/eartaker] has joined #linuxcnc
[18:28:12] -!- packrat [packrat!~packrator@c-98-209-146-133.hsd1.mi.comcast.net] has joined #linuxcnc
[18:28:14] -!- PCW [PCW!~chatzilla@] has joined #linuxcnc
[18:28:15] -!- MattyMatt [MattyMatt!~matt@cpc4-birk6-0-0-cust799.1-3.cable.virginmedia.com] has joined #linuxcnc
[18:28:22] -!- SWPadnos [SWPadnos!~Me@74-92-8-208-NewEngland.hfc.comcastbusiness.net] has joined #linuxcnc
[18:28:33] -!- archivist [archivist!~archivist@host81-149-189-98.in-addr.btopenworld.com] has joined #linuxcnc
[18:28:45] <Jymmm> Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
[18:28:55] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust492.basl.cable.virginmedia.com] has joined #linuxcnc
[18:29:03] -!- logger[mah] [logger[mah]!~loggermah@burgi.mah.priv.at] has joined #linuxcnc
[18:29:10] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #linuxcnc
[18:30:35] -!- vladimirek [vladimirek!~vladimire@bband-dyn226.178-40-36.t-com.sk] has joined #linuxcnc
[18:32:28] <pcw_home> Actually Jymmm, we owe Andy big time for his driver work.
[18:32:30] <pcw_home> As far as the cards go, I suspect we are paying him about 5 cents an hour
[18:33:10] <Jymmm> pcw_home: Heh, you big spenders you =)
[18:34:50] -!- cjdavis [cjdavis!~cjdavis@cpe-71-67-99-208.cinci.res.rr.com] has joined #linuxcnc
[18:36:36] -!- jonnyATroot [jonnyATroot!~jonny@] has joined #linuxcnc
[18:39:22] <Jymmm> Let's see, $0.05/hour comes to $1.20/day. that's ramen noodle with all the fixins and a cup of cocoa!
[18:40:57] <syyl_ws> and again, machining titan..
[18:41:01] <syyl_ws> new experience for me
[18:45:21] <Jymmm> Good luck
[18:45:24] <andypugh> So, if I had a 20GB drive with Ubuntu/LinuxCNC on it, and I magically made it into a 100GB drive, is there any way to resize the boot partition to use this new space?
[18:45:34] <syyl_ws> thanks Jymmm
[18:45:55] <Jymmm> andypugh: Yes, gparted will resize partitions for you.
[18:47:08] <Jymmm> andypugh: *I* have always used http://sysresccd.org/ to do such things as well as backup/restore partions/image files, etc for deployment.
[18:47:45] <andypugh> So, I have gparted, but I can't see how to use it.
[18:48:26] <Jymmm> andypugh: you can't boot from the drive you need to resize partitions, sysrescd is a livecd you boot from.
[18:49:05] <andypugh> Ah, in that case, as this is a VM, I will just delete it and re-make bigger
[18:49:57] <Jymmm> andypugh: No need, in your VM, just boot from the sysresccd ISO file, then resize your partitons iirc.
[18:50:43] <Jymmm> andypugh: But be sure to backup your VM =)
[18:51:00] <Jymmm> before you do anything =)
[18:51:06] <andypugh> I can just copy the VM into a bigger virtual disk space.
[18:51:35] <Jymmm> andypugh: Sure, but that doesn't change the partiton sizes I dont believe.
[18:51:49] <Jymmm> andypugh: Which VM are you using?
[18:51:50] <andypugh> That is what I am about to find out :-)
[18:52:36] <andypugh> No, you are quite correct. Bah!
[18:54:20] <Jymmm> Eh, once a year or so ;)
[18:55:54] <Jymmm> Scheduled for next thursday!?! WTH, I hate Oooooooops!
[18:59:13] -!- e-ndy [e-ndy!~jkastner@static-84-242-102-36.net.upcbroadband.cz] has joined #linuxcnc
[19:13:13] -!- cmorley has quit [Ping timeout: 244 seconds]
[19:35:39] -!- pcw_home has quit [Read error: Connection reset by peer]
[19:39:10] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has parted #linuxcnc
[19:42:06] -!- cmorley has quit [Ping timeout: 252 seconds]
[19:42:55] -!- IchGucksLive has quit [Quit: ChatZilla 0.9.87 [Firefox 9.0.1/20120117091749]]
[19:44:10] -!- mikegg [mikegg!~mt-operat@c-71-56-61-208.hsd1.ga.comcast.net] has joined #linuxcnc
[19:46:26] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has parted #linuxcnc
[19:55:29] -!- psha has quit [Quit: leaving]
[20:04:44] -!- vladimirek has quit [Ping timeout: 245 seconds]
[20:14:23] <Jymmm> This is awesome!!! http://i43.tinypic.com/313m6ax.jpg
[20:16:40] <cradek> and also made-up
[20:21:53] <andypugh> Are you sure? I thought carrying lethal force at all times was compulsory in the US? Right to arm bears and all that?
[20:22:43] <cradek> http://memedepot.com/uploads/0/207_not_sure_if_serious.jpg
[20:23:24] <Jymmm> andypugh: Right to bear arms, except in calif
[20:23:54] <andypugh> I prefer the idea of arming bears :-)
[20:24:07] <jdhNC> nor mass, dc, NYC, chicago
[20:24:23] <cradek> bears don't need arms, and neither do I - I can shoot lasers from my eyes.
[20:25:16] <jdhNC> cool, where do you post your warning signs?
[20:25:23] <dvmirc> bears don't have arms, they have paws
[20:25:25] <cradek> they're not required
[20:26:09] <jdhNC> I kill unsuspecting pieces of paper.
[20:29:45] <Jymmm> I came across an unleashed dog yesterday that gave me a look, I hope cradek laser eyes have long distance.
[20:30:51] <Jymmm> Found out from a cop yesterday that gang bangers are now carrying collapsable batons.
[20:31:05] <Loetmichel> Jymmm: had that more than one time. didnt go well for the dog every time
[20:31:10] <jdhNC> they are generally illegal to carry, but they are criminals.
[20:31:27] <Loetmichel> no laser needed, just confidence and fast reflexes ;)
[20:31:31] <alex4nder-> jdhNC: imagine that
[20:31:31] <Jymmm> Loetmichel: What, you had a bear in your pocket?
[20:31:57] <Loetmichel> no, just looked at the dogs. straight.
[20:32:28] <Jymmm> jdhNC: Heh, the cop said that too, then said I should get the longer one rather than the one I was looking as its then a double weapon
[20:32:34] <Loetmichel> never needed more than 2 minutes or so and the put their tails betwen their legs and run
[20:33:01] <alex4nder-> Jymmm: I like rolled-up magazines
[20:33:23] <Jymmm> alex4nder-: Yeah, had those in my back pocket =)
[20:33:28] <jdhNC> double weapon?
[20:33:57] <Jymmm> Actually said I should just get a hickory cane, perfectly legal.
[20:34:08] <Jymmm> jdhNC: Long enough to use both ends of it.
[20:34:21] <Jymmm> as it's a medical device
[20:34:30] <jdhNC> gotcha
[20:34:36] <alex4nder-> it's still legal to openly carry rifles in california
[20:34:40] <jdhNC> I can legally carry a concealed handgun, but not a baton
[20:34:41] <alex4nder-> and you can have a loaded mag in your back pocket.
[20:34:55] <alex4nder-> just don't be within 1000 ft of a school's property line
[20:35:21] <Jymmm> alex4nder-: a loaded mag is a concealed weapon here.
[20:35:38] <Jymmm> alex4nder-: even if no forearms is present.
[20:35:42] <Jymmm> firearm
[20:35:45] <alex4nder-> Jymmm: where are you?
[20:35:57] <Jymmm> alex4nder-: Lovely fscking California
[20:36:05] <alex4nder-> Jymmm: a loaded mag is not a concealed weapon
[20:36:12] <alex4nder-> I live in lovely california.
[20:36:40] <Jymmm> alex4nder-: Oh yes it is. Maybe not per statue, but the DA's are procecuting those that have loaded mags
[20:36:53] <Loetmichel> hmmm
[20:37:05] <alex4nder-> Jymmm: a DA can go after you for whatever they want.. it's all a matter of what sticks
[20:37:21] <Jymmm> alex4nder-: and it's sticking, that's the problem.
[20:37:25] <Loetmichel> baton? are those these telescopic metal sticks to beat ppl?
[20:37:33] <Jymmm> Loetmichel: yes
[20:37:37] <jdhNC> slightly on topic, there are some cool youtube videos of a guy machining his ar15 lower from scratch
[20:37:40] <alex4nder-> Jymmm: no one in the state of california has ever been convicted of having a loaded magazine as a concealed weapon.
[20:37:40] <Jymmm> Loetmichel: but defense only =)
[20:37:52] <JT-Shop> it's mandatory to carry a firearm here :)
[20:38:08] <alex4nder-> Jymmm: the only time it's even sketchy is when you've commited a "gang related" crime with a gun.
[20:38:25] <Loetmichel> JT-Shop: mandatory?
[20:38:50] <alex4nder-> Jymmm: in fact, the whole "ammunition being in contact with a gun makes it loaded" case has been struck down.
[20:38:55] <Loetmichel> i would, if i were allowed to... but in germany: no chance
[20:39:01] <Jymmm> alex4nder-: Ca PC 12031
[20:39:28] <andypugh> I think the Swiss are obliged to have a weapon.
[20:39:42] <syyl_ws> if they served in the armed forces
[20:39:42] <Jymmm> andypugh: by law I believe, I like it.
[20:39:52] <alex4nder-> Jymmm: you didn't read A-F
[20:39:55] <syyl_ws> they have to keep their sig550 rifle at home
[20:40:02] <alex4nder-> Jymmm: none of that applies unless you're breaking the law doing something else.
[20:40:08] <syyl_ws> but reduced to semi automatic...
[20:40:32] <syyl_ws> and a reserve of 25 rounds 5.56x45 in a can
[20:40:36] <syyl_ws> or tin
[20:40:49] <syyl_ws> looks like a tin you get fish in
[20:40:51] <alex4nder-> Jymmm: anyway, keep safe, not carrying a loaded magazine isn't a bad thing.
[20:40:59] <alex4nder-> I keep loaded mags with all my guns in transit.
[20:41:10] <alex4nder-> as I'm not a felon, own my guns, and am not commiting gang violence.
[20:41:35] <Jymmm> alex4nder-: As I prefer to do as well. But has to be kept seperate from the firearm too
[20:41:45] <alex4nder-> it doesn't have to be kept separate
[20:41:49] <alex4nder-> it just can't be loaded
[20:42:52] <syyl_ws> mh, titanium lost its myth for me...with the right tools/feeds its not to hard to machine
[20:42:57] <alex4nder-> Jymmm: http://wiki.calgunsfoundation.org/index.php/Defining_loaded_in_California
[20:42:58] <syyl_ws> easier than stainless
[20:43:46] <Jymmm> Carrying a concealed loaded magazine even without a firearm present can get you arrested. Some consider a loaded magazine the same as
[20:43:46] <Jymmm> a firearm and the 1000 foot rule on School Safety Zones exists in California. This could also apply to speed loaders.
[20:44:22] <alex4nder-> Jymmm: not true
[20:44:41] <Jymmm> alex4nder-: from the link you provided: Ammunition may be carried in the same container as the gun
[20:44:57] <alex4nder-> yup
[20:44:59] <Jymmm> but, there are some cases you REALLY have to be carful about
[20:45:20] <alex4nder-> you can get arrested at any moment, for anything
[20:45:26] <alex4nder-> you can get ticketed for anything
[20:45:29] <Jymmm> 16840(a) As used in Section 25800, a firearm shall be deemed to
[20:45:29] <Jymmm> be "loaded" whenever both the firearm and the unexpended
[20:45:29] <Jymmm> ammunition capable of being discharged from the firearm are in
[20:45:30] <Jymmm> the immediate possession of the same person.
[20:46:01] -!- dvmirc has quit []
[20:46:02] <alex4nder-> Jymmm: read the link, that only applies if you're intending to commit a felony
[20:46:08] <alex4nder-> see 25800
[20:46:17] -!- Jim_ [Jim_!~jsr@in-184-1-118-203.dhcp.embarqhsd.net] has joined #linuxcnc
[20:46:47] <alex4nder-> california's laws suck
[20:46:55] <Jymmm> alex4nder-: Yeah, no shit.
[20:47:16] <jdhNC> the criminals don't really care if they are breaking the law.
[20:47:33] <Jymmm> alex4nder-: I just want a CCW so I dont have to dela with this BS
[20:47:41] <alex4nder-> Jymmm: what county are you in?
[20:48:03] <Jymmm> alex4nder-: Santa Clara (I'll never see one)
[20:48:14] <alex4nder-> oh yah, you're screwed. so am I.
[20:48:16] <Jymmm> alex4nder-: though the new laws for 2012 could be promising.
[20:48:22] <Jymmm> alex4nder-: County?
[20:48:25] <alex4nder-> I'm in Santa Barbara county
[20:48:36] <Jymmm> I think you're worse
[20:48:38] <alex4nder-> yah
[20:48:41] <alex4nder-> you're probably right.
[20:49:05] <Jymmm> alex4nder-: 2012 CW laws now state they MUST give you a reason for denial of a CCW
[20:49:14] <alex4nder-> ah, well that's cool
[20:50:20] <Jymmm> alex4nder-: It may be grounds to keep re-applying for a CCW until all their criteria is met.
[20:50:58] <Jymmm> alex4nder-: I so want a LCP =)
[20:51:19] <Jymmm> alex4nder-: But, I'd have to buy it "used" from a LEO as it's not on the CA approved list.
[20:51:47] <alex4nder-> Jymmm: you can bring them in on a single-shot exemption.
[20:51:55] <Jymmm> alex4nder-: ?
[20:52:03] <jdhNC> I have and LCP, I'd like an LC9
[20:52:32] <alex4nder-> Jymmm: non-roster guns can be brought into California through an FFL if they're bring in only capable of firing a single round before reloading.
[20:52:34] <Jymmm> jdhNC: whats different about the two?
[20:52:46] <alex4nder-> er brought in
[20:52:57] <jdhNC> an inch or so... 380 vs. 9mm
[20:53:01] <alex4nder-> Jymmm: that's how most AR-15 pistols are brought in legally
[20:53:13] <alex4nder-> the rest, owners machine themselves.
[20:53:15] <Jymmm> alex4nder-: I dont understand the "single shot" part
[20:53:37] <Jymmm> alex4nder-: oh, screw that, I'd rather pay a LEO $50 for his/her trouble
[20:53:44] <alex4nder-> screw what?
[20:53:45] <alex4nder-> it's easy
[20:54:04] <alex4nder-> that's how all the Gen 4 Glocks are coming into the state.
[20:54:16] <Jymmm> jdhNC: LC9 being an inch longer?
[20:54:24] <jdhNC> about, and a little thicker
[20:54:35] <Jymmm> alex4nder-: Gen4 I thought was just texturized?
[20:54:51] <alex4nder-> Jymmm: no, they're materially different
[20:54:58] <alex4nder-> and they're not on the safety roster
[20:55:14] <Jymmm> alex4nder-: G17 Gen 4 ?
[20:55:47] <Jymmm> jdhNC: I REALLY like the feel of the LCP, though I have a 9mm G17 - would save on having different ammo though.
[20:56:46] <Jymmm> jdhNC: how do you like the LCP?
[20:56:56] <Jymmm> brb
[20:57:00] <jdhNC> it's small, not for shooting
[20:57:03] <alex4nder-> Jymmm: http://www.calguns.net/calgunforum/showthread.php?t=383692
[20:57:27] -!- e-ndy has quit [Quit: Ex-Chat]
[20:59:01] <Loetmichel> hmm, whats the american definition of "gun"?
[20:59:15] <jdhNC> too hard to type
[20:59:19] <Loetmichel> does it need to have a chemical propellant?
[20:59:56] <jdhNC> dunno, there are lots of 'guns' that are not controlled
[21:00:00] * Loetmichel wants to build a coilgun ever since i ordered the HV-caps... but no time ;-)
[21:00:23] <alex4nder-> Loetmichel: it varies based on federal, state, county, and city law.
[21:00:33] <Loetmichel> ... amunition i think of the broken 1/8" TC mill bits ;-)
[21:01:11] <jdhNC> you can buy an 80% complete AR15 lower with no restrictions
[21:01:26] <alex4nder-> jdhNC: I just milled one of those
[21:01:46] <jdhNC> how long did it take?
[21:02:06] <alex4nder-> a couple of hours on my Taig
[21:02:11] <alex4nder-> including fixturing/setup
[21:02:29] <jdhNC> cool... I've never seen any 80%'s cheaper than finished ones.
[21:02:43] <alex4nder-> they aren't.. I built my to be a pistol in california
[21:02:48] <alex4nder-> er mine
[21:02:53] <jdhNC> I guess being able to have them mailed to you is easier.
[21:03:16] <jdhNC> I can get a pistol sampled lower for $85
[21:03:23] <jdhNC> stamped
[21:03:34] <alex4nder-> yup
[21:03:40] <alex4nder-> california is not so easy
[21:03:53] <alex4nder-> I don't have any FFLs near me willing to bring one in.
[21:03:57] <jdhNC> where did you get the 80%?
[21:04:22] <jdhNC> no 4473 for the 80%
[21:04:27] <alex4nder-> tactical machining
[21:04:44] <alex4nder-> nice finish work from them
[21:06:57] <jdhNC> I have a lower that has been sitting in a box for a year waiting for time to finish putting in the parts kit
[21:08:38] -!- vladimirek [vladimirek!~vladimire@bband-dyn226.178-40-36.t-com.sk] has joined #linuxcnc
[21:10:14] <Jymmm> jdhNC: not for shooting? you mean target practice?
[21:10:35] <jdhNC> right
[21:11:21] <jdhNC> I have a PF9 that is worse :) I was hoping the LC9 would be an improvement over that.
[21:11:46] <Jymmm> jdhNC: The LCP fits in my shirt pocket!
[21:12:05] <Jymmm> jdhNC: I can even hide it in the open palm of my hand!!!!
[21:12:20] <jdhNC> yep, and it is nicely made. But, it is still just a 380 with a tiny barrel.
[21:12:36] <Jymmm> jdhNC: beats 22 or 25
[21:13:09] <jdhNC> yep, I have a beretta 25, the LCP is better to hold
[21:13:34] <Jymmm> jdhNC: I really want it for my BOB than anything else.
[21:21:52] -!- GoSebGo [GoSebGo!~Seb@] has joined #linuxcnc
[21:29:43] -!- Nick001-Shop [Nick001-Shop!~chatzilla@wlk-barre-208-103-141-71.dynamic-dialup.coretel.net] has joined #linuxcnc
[21:42:37] -!- dgarr [dgarr!~dgarrett@adsl-75-61-74-108.dsl.pltn13.sbcglobal.net] has joined #linuxcnc
[21:46:06] <PCW> andypugh: updated bit file at same place, 7I39 (P3) is a little strange as it uses tppwms 0,1 but encoders 4,5
[21:46:38] <andypugh> That's not a problem.
[21:46:42] <andypugh> And thanks
[21:47:10] -!- acemi [acemi!~acemi@unaffiliated/acemi] has joined #linuxcnc
[21:47:52] -!- mhaberler has quit [Quit: mhaberler]
[21:49:39] <PCW> I could make the encodesr on P2 not match the local PWMs and
[21:49:40] <PCW> have the P3 = 7I39 match if need be but its always sortable in HAL
[21:49:42] <PCW> so I didn't bother
[21:53:01] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[21:56:47] -!- syyl_ws has quit [Quit: Verlassend]
[22:02:37] <andypugh> Would it be a bad idea to separate the wires in the 50-pin ribbon to bundle them and make them better at corners?
[22:03:32] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[22:06:07] <syyl> hmm
[22:06:16] <syyl> i fold em by 45° to take corners
[22:06:56] <andypugh> Yes, but I need to fold up, then down, then 4 degrees, then round the corner.
[22:07:12] <syyl> oops
[22:07:13] <syyl> hmm
[22:07:50] <syyl> seperating the wires was done with the old style ribbon cables in house installation over here..
[22:08:09] <syyl> but in computer applications, i dont know, of thats usual..
[22:09:35] <PCW> you will have more crosstalk and for high speed stuff, impedance mis-matching
[22:09:36] <PCW> if you only split it at corners the side effect would be minor
[22:09:55] <PCW> s/effect/effects/
[22:10:48] <andypugh> syyl: You can sort-of see the issue here: https://picasaweb.google.com/lh/photo/-yZ_pMt4fTdaRPaJhJQwjtMTjNZETYmyPJy0liipFm0?feat=directlink
[22:11:15] <andypugh> It needs to be shorter too, really.
[22:11:26] <syyl> oh, yes
[22:11:30] <syyl> looks a bit strange that way
[22:12:18] <PCW> Theres the "round" flat cable I think its slit at intervals
[22:12:47] <andypugh> I might have a play, I have several yards of the cable.
[22:13:15] <PCW> http://www.newark.com/3m/3759-50-100/round-to-flat-cable-50cond-100ft/dp/04F8891
[22:13:31] <andypugh> (And I feel I need to point out that that picture is clearly taken before the harness lacing.
[22:13:41] -!- acemi has quit [Quit: WeeChat 0.3.2]
[22:14:19] <PCW> Wheres Jymmms Panduit comment?
[22:14:30] <andypugh> PCW: Aye, that's the sort of thing I was thinking of.
[22:15:16] <PCW> surely you could do it yourself if you can slit the cable without cutting into the wires
[22:15:25] <cradek> in here, I just tore up the ribbon into chunks and tied them together near the hinge: http://timeguy.com/cradek-files/emc/hinged.jpg
[22:15:41] <PCW> maybe with some spiral wrap
[22:15:49] <andypugh> Yes, that was the plan
[22:15:50] <andypugh> I might even have the ideal tool in my sewing machine tools.
[22:16:32] <andypugh> (I see sewing as a specialised form of riveting, and hance fundamentally a part of engineering)
[22:17:05] <syyl> making a nice cable harness is close to art :)
[22:17:26] <syyl> i learned it the old style way
[22:17:54] <syyl> with waxed cotton filament and a special knot
[22:18:17] <syyl> binding together the cables on a wooden board with a lot of nails to hold the cables in position ;)
[22:18:18] <PCW> cradek: very neat, good idea to separate the flat cable into small strips
[22:19:00] -!- sumpfralle [sumpfralle!~lars@] has joined #linuxcnc
[22:19:26] <cradek> PCW: it's a pain making stuff accessible and neat, but future-me sure likes it better when I do
[22:20:11] <PCW> :-)
[22:20:31] -!- vladimirek has quit [Remote host closed the connection]
[22:23:26] <syyl> hmm
[22:23:32] <syyl> got it almost done :D
[22:23:40] <syyl> http://dl.dropbox.com/u/24396704/2012-01-27_21-12-50_988.jpg
[22:23:47] <syyl> http://dl.dropbox.com/u/24396704/2012-01-27_23-14-27_176.jpg
[22:24:56] <syyl> only need to saw it out of the frame and polish...
[22:28:32] <Jymmm> PCW: I gave in you ppl makin things purrty
[22:28:51] <Jymmm> PCW: I gave up on you ppl makin things purrty
[22:29:44] -!- Jim_ has quit [Quit: Leaving]
[22:30:51] -!- mhaberler [mhaberler!~mhaberler@] has joined #linuxcnc
[22:32:46] <Poincare> syyl: is that a metric or imperial mold?
[22:33:09] <syyl> everything metric here..
[22:34:41] -!- vladimirek [vladimirek!~vladimire@bband-dyn226.178-40-36.t-com.sk] has joined #linuxcnc
[22:36:09] -!- GoSebGo has quit [Ping timeout: 252 seconds]
[22:40:32] -!- Gromits has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.24/20111107173218]]
[22:43:59] -!- GoSebGo [GoSebGo!~Seb@] has joined #linuxcnc
[22:49:51] -!- factor [factor!~factor@] has joined #linuxcnc
[22:53:02] -!- Fox_Muldr has quit [Ping timeout: 252 seconds]
[22:55:13] -!- Fox_Muldr [Fox_Muldr!quakeman@frnk-4d01f06f.pool.mediaWays.net] has joined #linuxcnc
[22:55:13] -!- Loetmichel has quit [Read error: Connection reset by peer]
[22:55:53] <andypugh> syyl: Lacing isn't dead: https://picasaweb.google.com/lh/photo/NivmHU8OuXIcP2EQHUPruNMTjNZETYmyPJy0liipFm0?feat=directlink
[22:55:54] -!- Loetmichel [Loetmichel!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[22:56:19] <syyl> oh, nice done
[22:56:50] <syyl> *nicely
[22:57:18] <syyl> i dont show my cnc cabinet ;)
[22:57:30] <syyl> might cause mental illness
[22:57:49] <syyl> ziptie collection of horror ;)
[22:59:34] <andypugh> Lacing is cheap and doesn't actually take all that long.
[22:59:53] <syyl> jep
[23:00:06] <syyl> and it looks nice
[23:00:10] -!- factor has quit [Read error: Connection reset by peer]
[23:00:15] <andypugh> Though the printing on my lacing cord (bought a couple of years ago from RS) makes me think that the stock dates from the 1950s.
[23:01:09] <andypugh> http://uk.rs-online.com/web/p/cable-lacing/0554080/
[23:02:35] <Loetmichel> laching cord? is dathe wxes string used to bundle cabling?
[23:02:58] <Loetmichel> ... that i have learnbed to do so many years ago...
[23:03:07] <Loetmichel> grrr,
[23:03:11] <Loetmichel> waxed
[23:03:25] <Loetmichel> that the
[23:03:32] <Loetmichel> learned
[23:04:06] <andypugh> Loetmichel: Aye, that it be.
[23:07:06] * Loetmichel has to get out of the bathing tub... the vnc connection to my work PC is SO bad over here, half of the time i dont see wjhat i type until return and screen refresh :-(
[23:15:59] -!- i_tarzan has quit [Ping timeout: 252 seconds]
[23:16:16] <Jymmm> My little coffee can (literally) stove works pretty good, but I need bigger coat hanger - burning alcohol made the existing one brittle
[23:20:45] -!- mhaberler has quit [Quit: mhaberler]
[23:24:46] <andypugh> http://en.wikipedia.org/wiki/Hobo_stove
[23:31:20] -!- vladimirek has quit [Ping timeout: 252 seconds]
[23:33:42] <PCW> Whee! I can communicate with the Ethernet chip on the 7I80. It nice that it mostly works without a ton of setup
[23:39:19] -!- Loetmichel has quit [Read error: Connection reset by peer]
[23:39:36] -!- Loetmichel [Loetmichel!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[23:45:41] -!- Loetmichel has quit [Read error: Connection reset by peer]
[23:45:49] -!- Loetmichel [Loetmichel!cylly@p54B15BFE.dip.t-dialin.net] has joined #linuxcnc
[23:51:16] <Jymmm> PCW: BOOTP ?
[23:52:03] <Jymmm> andypugh: The coat hanger is adjustable height... http://i42.tinypic.com/120t4cz.jpg
[23:52:12] <PCW> I am intending this just for martian packets (point to point real time parallel port replacement)
[23:52:30] <Jymmm> PCW: Oh cool!
[23:52:52] <Jymmm> andypugh: http://i44.tinypic.com/dcy8sm.jpg
[23:53:56] <Jymmm> andypugh: 1.5L SS bottle... http://i52.tinypic.com/8wgivq.jpg
[23:55:39] <Jymmm> JT-Shop: Best damn chorizo around http://i44.tinypic.com/nnpmb4.jpg Note the "TEXAS Brand", "Made in CALIFORNIA", by "NEW YORK Sausage" =)
[23:55:54] <Jymmm> bbiab, foodage