#emc | Logs for 2008-12-10

Back
[03:14:52] <jtr> archivist: he's on dialup
[03:15:31] <eric_u1> is that supposed to be some kind of excuse?
[03:18:00] <jtr> Where he lives, it's valid...
[03:22:13] <eric_u1> where does he live?
[03:22:15] <JymmmEMC> who's on dialup, and what s the bitch about?
[03:22:31] <eric_u1> stay in the game, willya
[03:22:56] <JymmmEMC> all I see is archivist whining about someone
[03:23:32] <JymmmEMC> archivist: you bitchin about bigjohnt?
[03:23:57] <eric_u1> he better not be online, it's 4 in the morning there
[03:24:15] <JymmmEMC> who, bigjohn?
[03:24:21] <eric_u1> archivist
[03:24:24] <JymmmEMC> ah
[03:24:34] <JymmmEMC> so we can talk smack about him then?
[03:24:39] <eric_u1> yup
[03:24:51] <JymmmEMC> hawt damn!
[03:24:58] <eric_u1> but then he starts talkin' smack about us in a few hours, and where will we be then?
[03:25:19] <JymmmEMC> asleep =)
[03:33:49] <JymmmEMC> Jeebus, transcoding an iso with subtitles has taken me days
[03:50:44] <a-l-p-h-a> Linux guru...? Instead of VNC, is there a way to remote desktop to a single machine? where by, it's headless, like microsoft terminal server, but for ubuntu/xorg? And allow multiple users to connect to the same machine?
[03:51:33] <SWPadnos> ssh -X
[03:51:57] <SWPadnos> but you're not restricted to a single machine or a single user
[03:52:21] <a-l-p-h-a> SWPadnos, done it before?
[03:52:37] <SWPadnos> yes, even from a Windows machine (with Cygwin/X)
[03:52:59] <a-l-p-h-a> what's it's name, I just googled ssh -X
[03:53:06] <SWPadnos> no, it's ssh
[03:53:22] <SWPadnos> you pass it the -X option if you want X requests forwarded to your client
[03:53:36] <SWPadnos> you can also use VNC, incidentally
[03:53:55] <a-l-p-h-a> really?
[03:54:17] <a-l-p-h-a> I'd love to have the apps, run on my own desktop, instead of through vnc's viewport/window.
[03:54:24] <SWPadnos> and I haven't set up any machines this way, but you can tell X to accept remote logins, so you can get the full "environment "thing"
[03:54:29] <a-l-p-h-a> I'd love to have the apps, run on my own desktop, instead of through vnc's viewport/window.
[03:54:37] <SWPadnos> I see
[03:54:39] <SWPadnos> I see
[03:54:45] <a-l-p-h-a> windows is screwing up...
[03:54:53] <SWPadnos> there are VNC servers and slients for Linux
[03:54:54] <a-l-p-h-a> it wouldn't scroll down... so I couldn't see if it posted. lol
[03:54:58] <SWPadnos> I think tightVNC is one
[03:55:05] <a-l-p-h-a> i'm using tightVNC right now, as a viewer.
[03:55:08] <SWPadnos> there's another one that I don't recall
[03:55:21] <SWPadnos> oh. then I don't remember the name of the server
[03:56:23] <SWPadnos> ioh, there's tightvncserver
[03:56:26] <SWPadnos> -i
[03:56:36] <SWPadnos> and x11vnc
[03:57:11] <SWPadnos> if you run Synaptic on an Ubuntu machine and serach for vnc, you'll find a lot of options
[04:06:51] <a-l-p-h-a> SWPadnos, I'll check that out, after I squash this bug.
[05:04:43] <JymmmEMC> SWPadnos: ping?
[05:06:22] <SWPadnos> ya
[05:06:48] <JymmmEMC> SWPadnos: wehn you ssh -X, do yo u have to have X running on the server?
[05:06:56] <SWPadnos> nope
[05:07:36] <SWPadnos> I don't know for sure if it needs to be installed though - apps could require certain libraries on the headless end
[05:07:44] <JymmmEMC> ah
[05:07:50] <eric_u1> has to be installed
[05:07:56] <SWPadnos> I haven't tried removing X
[05:07:59] <SWPadnos> there you go
[05:08:14] <eric_u1> I used to work with a guy that would remove parts of X on our robots
[05:08:31] <eric_u1> which was stupid because they all have huge hard drives
[05:08:31] <SWPadnos> I imagine you could get away with only client libs installed, but I bet it's not worth it to find out how to do that :)
[05:09:46] <JymmmEMC> SWPadnos: that whole remote X thing just confuses me
[05:09:53] <eric_u1> I generally don't like finding out that a program will not run because of some missing lib
[05:09:58] <SWPadnos> heh
[05:10:11] <eric_u1> remote X is even more confusing because the terminal is the server
[05:10:15] <SWPadnos> JymmmEMC, other than the fact that the words "client" and "server" seem to be reversed, what's so confusing?
[05:10:17] <JymmmEMC> SWPadnos: gimme an example of something I could test real fast
[05:10:28] <SWPadnos> uh, what do you mean?
[05:10:28] <JymmmEMC> SWPadnos: No, that I found out years ago =)
[05:10:30] <eric_u1> xterm
[05:10:34] <SWPadnos> gedit
[05:10:38] <eric_u1> kate
[05:10:39] <SWPadnos> gnome-terminal
[05:10:44] <SWPadnos> xterm would do it too
[05:10:51] <JymmmEMC> SWPadnos: ssh -X hostname gedit?
[05:10:55] <SWPadnos> no
[05:11:00] <SWPadnos> ssh -X hostanme
[05:11:02] <SWPadnos> log in
[05:11:04] <eric_u1> ssh -X gives you a terminal
[05:11:18] <eric_u1> ssh -X username@hostname
[05:11:19] <SWPadnos> then run the graphical apps as though you were in a local graphical terminal
[05:11:46] <SWPadnos> synaptic can get nice and confusing :)
[05:11:50] <JymmmEMC> Hey should -X be asking for my fingerprint?
[05:11:56] <JymmmEMC> ssh fingerprint
[05:12:01] <eric_u1> yeah
[05:12:14] <JymmmEMC> even though I've ssh to the box a zillion times?
[05:12:15] <eric_u1> tell it to f-off
[05:12:28] <eric_u1> could be
[05:12:32] <SWPadnos> there may be another layer for the X forwarding
[05:12:59] <SWPadnos> http://en.wikipedia.org/wiki/Image:X11_ssh_tunnelling.png
[05:13:02] <JymmmEMC> doh, nm, was ssh to itself *sigh* wrong term window
[05:13:06] <SWPadnos> heh
[05:13:17] <SWPadnos> it didn't know itself?
[05:13:24] <eric_u1> it will do that
[05:13:30] <JymmmEMC> nope, never ssh'ed to itself
[05:14:01] <JymmmEMC> ok, I ssh-X, now what?
[05:14:03] <SWPadnos> "if I don't know me by now, I will never ever ever know me" ...
[05:14:06] <SWPadnos> run something
[05:14:09] <SWPadnos> that uses X
[05:14:12] <SWPadnos> like xeyes
[05:14:13] <eric_u1> xterm
[05:14:22] <eric_u1> xclock
[05:14:25] <JymmmEMC> X isn't on the box
[05:14:25] <SWPadnos> glxgears :)
[05:14:27] <eric_u1> xjomama
[05:14:36] <SWPadnos> oh. then you have no X apps there most likely
[05:14:38] <eric_u1> wtf?
[05:15:05] <eric_u1> why did you want to do this then?
[05:15:30] <SWPadnos> if you were logged into that box, and you couldn't run any X apps from the local console (or screen), then you won't be able to remotely either
[05:15:58] <eric_u1> shhh!
[05:16:19] <JymmmEMC> oh, NOW you tell me. I thought the whole X-Server (client) took care of the GUI stuff even if it wasn't on the remote box
[05:16:36] <eric_u1> he tolt you that a while back, I seen him do it
[05:17:09] <SWPadnos> and he told you X had to be installed on the remote
[05:17:15] <JymmmEMC> so if I didn't have X locally, would it still work?
[05:17:20] <SWPadnos> local to what?
[05:17:25] <JymmmEMC> this box
[05:17:29] <eric_u1> no, you need an x server
[05:17:40] <SWPadnos> you must have the X server on the machine you're sitting at
[05:17:45] <JymmmEMC> so you need X on both ends?
[05:17:52] <SWPadnos> otherwise it wouldn't be able to show you anything in X
[05:17:57] <SWPadnos> well, probably
[05:18:04] <JymmmEMC> Well, I'm in gnome atm
[05:18:05] <eric_u1> it's not the same parts of x
[05:18:15] <SWPadnos> that's what I wasn't sure of when I first answered the question
[05:18:18] <eric_u1> the desktop manager doesn't matter
[05:18:41] <eric_u1> I use ssh for X on windows
[05:18:48] <SWPadnos> there are several parts to X, namely the client applications (and the libraries that make them work)
[05:19:03] <SWPadnos> and the server (and drivers and stuff that make the hardware work)
[05:19:10] <JymmmEMC> So, why/when would I want to use ssh -X ?
[05:19:25] <SWPadnos> if you have a remote box and you want to run halscope from it, for example
[05:19:26] <eric_u1> if you wanted to use an X application remotely
[05:19:49] <eric_u1> like I can run emc on my basement machine from the 2nd story so I don't have to hear the screams
[05:19:55] <JymmmEMC> as opposed to VNC and the like?
[05:20:24] <eric_u1> using vnc is on my todo list
[05:20:25] <SWPadnos> yes
[05:20:35] <JymmmEMC> hmmm, ok (I guess)
[05:20:36] <SWPadnos> VNC is more of a remote desktop viewer
[05:20:43] <SWPadnos> ssh gives you a separate login
[05:21:02] <JymmmEMC> but you can only run a single app via ssh-X ?
[05:21:09] <eric_u1> no
[05:21:21] <JymmmEMC> (unless you run screen or something)
[05:21:32] <eric_u1> start it with and ampersand
[05:21:37] <SWPadnos> so you could have stuff running, head off to the store, remember that you forgot the shopping list in OpenOffice, and log in (via your nebook), and run OOCalc at the store
[05:21:40] <eric_u1> and you can keep launching apps all day
[05:21:46] <SWPadnos> no, it's a full login session
[05:21:53] <JymmmEMC> and if you lose the connection?
[05:21:58] <eric_u1> dead
[05:22:06] <SWPadnos> then your apps die eventually
[05:22:06] <JymmmEMC> and the remote app?
[05:22:12] <eric_u1> dead
[05:22:29] <JymmmEMC> well, that's kinda stupid now (compared to VNC or RDP) aint it
[05:22:33] <eric_u1> unless you backgrounded it
[05:22:40] <SWPadnos> well, maybe
[05:22:43] <JymmmEMC> exculding that
[05:23:00] <SWPadnos> there used to be a program called XScreen I think, but I haven't been able to find it lately
[05:23:11] <SWPadnos> it may have died due to the various other oprions
[05:23:14] <SWPadnos> options
[05:23:29] <JymmmEMC> well, ssh -X;screen; x-appgoeshere
[05:23:51] <SWPadnos> I don't know if that will work. I suspect not
[05:23:54] <eric_u1> VNC doesn't lock the machine
[05:24:41] <JymmmEMC> Alright guys, have a good night.... I have a hawt date with a pillow!
[05:26:27] <SWPadnos> yay
[05:26:31] <JymmmEMC> HAWT DAMN! Houston... WE HAVE SUBTITLES!!!!!!
[05:26:51] <JymmmEMC> Though I can't turn them off, that's ok though.
[05:27:16] <JymmmEMC> works for me!!!!
[05:27:19] <JymmmEMC> G'Night!!!
[05:27:23] <SWPadnos> heh
[05:27:57] <JymmmEMC> SWPadnos: Spanish movie, english subtitles. transcoded it (FINALLY) to AVI for the media jukebox
[05:28:16] <JymmmEMC> 700MB -vs- 4700MB
[05:28:20] <SWPadnos> I wonder if it's worth it :)
[05:28:44] <JymmmEMC> 5 movies to one DVD, not bad to me
[05:28:58] <JymmmEMC> but will be on HDD's, not DVD-R's
[05:29:25] <JymmmEMC> can pull up the movie anywhere, even DL to PDA or usb thumbstick now
[05:29:30] <SWPadnos> well, I guess if you have thousands of movies, it helps to transcode
[05:30:05] <JymmmEMC> SWPadnos: Like when you are on the road, you could grab 5 or 7 and toss on a 8GB MicroSD card
[05:30:14] <SWPadnos> sure
[05:30:15] <JymmmEMC> or more
[05:30:21] <SWPadnos> but I have HD resolution on my laptop :)
[05:30:25] <JymmmEMC> and even watch on your cellphone
[05:30:33] <SWPadnos> not this cellphone
[05:30:45] <eric_u1> yeah, but TSA can look on your drive and arrest you
[05:30:58] <SWPadnos> TSA can steal your drive and not arrest you too
[05:31:00] <JymmmEMC> eric_u1: No, they can't
[05:31:05] <SWPadnos> yes, they can
[05:31:07] <eric_u1> um, yes they can
[05:31:10] <JymmmEMC> TrueCrypt FTW
[05:31:15] <JymmmEMC> No, they can't =)
[05:31:33] <eric_u1> nobody has been able to stop them yet
[05:31:35] <SWPadnos> they may not be able to decrypt it (for a little while), but you won't have it either
[05:31:53] <JymmmEMC> rdiff-backup FTW
[05:31:54] <eric_u1> they can decrypt
[05:32:02] <eric_u1> and then they'll be really pissed
[05:32:08] <SWPadnos> in fact, a lot of news people (reporters and photographers) are removing the hard disks from their laptops when they travel internationally, and fed-exing them to their hotels
[05:33:17] <JymmmEMC> makes sense
[05:33:43] <JymmmEMC> but ya gotta love TrueCrypt =)
[05:33:45] <eric_u1> it's ridiculous anyway, don't know what they are thinking
[05:33:49] <SWPadnos> other than the fact that it's friggin stupid, yeah. it makes sense
[05:34:01] <JymmmEMC> SWPadnos: what FedEx?
[05:34:15] <SWPadnos> no, airport "security"
[05:34:32] <JymmmEMC> SWPadnos: Oh, they are trying to find child pornography
[05:35:03] <JymmmEMC> forget finging terrorists, lets abuse the system.... woohoo anti-patriot act!
[05:35:18] <JymmmEMC> on that note.... laters
[05:35:42] <SWPadnos> see you
[05:55:51] <eric_u1> what motion hardware works with ethernet that people might want uo use with emc?
[05:58:48] <SWPadnos> I don't think there's anything at the moment
[05:59:17] <eric_u1> someone on cnczone said there was discussion of adding rt ethernet, so I was wondering
[05:59:21] <SWPadnos> there's lpentyof motion hardware that works over ethernet, but as far as I know, it's only motion controllers at the other end
[05:59:36] <SWPadnos> sure, we've discussed it
[05:59:56] <SWPadnos> there is the Gecko G-Rex, but we'd need to write our own firmware
[06:00:15] <eric_u1> does anyone use that?
[06:00:20] <SWPadnos> which is a PITA since they use a Rabbit, which only has $300+ Windows development software
[06:00:27] <SWPadnos> no, because it doesn't work with EMC
[06:00:36] <SWPadnos> there is a Mach driver for it
[06:00:55] <SWPadnos> so some people use it, but no EMC user can
[06:01:28] <eric_u1> charging $300 for that compiler is nearly criminal
[06:01:35] <eric_u1> I've used it
[06:01:40] <SWPadnos> yeah. I have it too
[06:01:50] <SWPadnos> making the CPU not quite a Z80 is also criminal
[06:01:59] <eric_u1> that's just funny
[06:02:02] <SWPadnos> since you can't really use gcc to compile for it
[06:02:14] <eric_u1> surprising they are still around
[06:02:36] <eric_u1> although for the project I did, it was pretty nice
[06:02:45] <SWPadnos> well, the developers who think $300 and Windows are both evil are a small subset
[06:03:36] <eric_u1> $300 isn't that much, but the version of the compiler I used stinked
[06:03:36] <SWPadnos> the compiler is more or less free when you buy a dev kit, so it's not really that bad money-wise
[06:03:47] <eric_u1> that's what I did, bought the kit
[06:03:56] <SWPadnos> I have 9.21
[06:04:10] <SWPadnos> it isn't terrible, but I also haven't done anything with it
[06:04:24] <eric_u1> well, getting the memory management to work is magic
[06:04:26] <SWPadnos> I actually bought it so I could do development on the G-Rex
[06:04:56] <SWPadnos> but since nobody else in the EMC crowd can at the moment, I kind of dropped the idea
[06:05:18] <SWPadnos> and replaced it with another idea I haven't pursued, which is to make an ARM based rabbit replacement module
[06:05:22] <eric_u1> I'm just curious if anyone really bought it to use with mach
[06:05:34] <SWPadnos> yes, they've sold at least a few hundred
[06:05:35] <eric_u1> the rabbit replacement is a good idea
[06:05:54] <eric_u1> which means there are at least 5 machines running in the world
[06:06:18] <SWPadnos> well, the G-Rex is pretty cool for other reasons - it's more or less a PLC with some good motion hardware built in
[06:06:45] <SWPadnos> I think the main application it's being used for is things like box folding machines
[06:06:59] <eric_u1> that's an idea
[06:07:06] <SWPadnos> that kind of do something, lather, rinse, repeat application
[06:07:20] <eric_u1> do those machines use mach?
[06:07:28] <SWPadnos> no, but they can use the G-Rex
[06:07:38] <SWPadnos> it has its own set of ASCII commands
[06:08:00] <SWPadnos> "Geckomotion"
[06:08:45] <SWPadnos> it's not as complete a set as something like a Yaskawa or Galil standalone controller, but it does have synchronized motion on 6 axes, accel and vel limited motion, I/O commands, etc.
[06:09:00] <SWPadnos> and you can write your own Rabbit code also, so it's pretty flexible
[06:09:04] <eric_u1> that's pretty cool
[06:09:20] <SWPadnos> I guess I should update my firmware one of these days
[06:09:41] <SWPadnos> I believe the GeckoMotion source code is also available
[06:10:00] <eric_u1> I thought about buying one
[06:10:21] <SWPadnos> me too. then Mariss gave me one :)
[06:10:32] <eric_u1> that's nice
[06:10:35] <SWPadnos> (I wrote the serial program he used to develop GeckoMotion)
[06:15:06] <eric_u1> wow, their customer appreciation sale lasted an entire month
[06:15:12] <eric_u1> they must be hurting a little
[06:15:13] <SWPadnos> heh. yep
[06:15:17] <SWPadnos> um. no
[06:15:44] <SWPadnos> let me put it this way. Mariss sent me a G540 REV4 (the first one off the line) so I could make an EMC2 config for it
[06:16:06] <SWPadnos> then a week later, I mentioned that I had a problem, and we discussed the version I have (he wasn't sure it was a REV4)
[06:16:31] <SWPadnos> it turned out the case was from REV3, so I had no silkscreen telling me about the charge pump disable switch
[06:17:00] <SWPadnos> he mentioned that they had just run out of those rev3 cases, because they had sold out of the first run of 1000 rev4's
[06:17:05] <SWPadnos> that's in one week
[06:17:30] <eric_u1> when was that?
[06:17:39] <SWPadnos> about a week ago
[06:17:53] <SWPadnos> they sell about 50-75k drives a year
[06:18:25] <eric_u1> it's hard to remember back before they were an option
[06:18:37] <eric_u1> it's good they aren't having problems then
[06:18:38] <SWPadnos> strangely, it's only bees since around 2000 or so
[06:18:42] <SWPadnos> been
[06:18:46] <eric_u1> I know
[06:19:33] <eric_u1> usually I can't believe that any hobbyist uses anything else, at least for steppers
[06:19:44] <SWPadnos> heh
[06:19:57] <SWPadnos> yeah. especially with the G250/G251 for the low end now
[06:20:15] <eric_u1> 540 is 4 of those?
[06:20:46] <SWPadnos> 4x G250, breakout board, isolated spindle PWM out, isolated I/O for the other lines, and charge pump
[06:21:05] <SWPadnos> in a nice package which is a heatsink
[06:22:41] <eric_u1> 540 looks like the way to go
[06:22:53] <SWPadnos> yeah, it's very nice
[06:23:07] <SWPadnos> it is $300 or so though, so it's a big outlay
[06:23:08] <maddash> finals week! woot!
[06:23:12] <eric_u1> looks like he made it after fixing up a lot of drives
[06:23:14] <maddash> whoops
[06:23:19] <SWPadnos> it has one "problem"
[06:23:31] <SWPadnos> you can't use the pins from unneeded axes for I/O
[06:23:44] <SWPadnos> so if you have a 3-axis machine, too bad - you don't get those two pins for outputs
[06:24:30] <eric_u1> that's a bummer
[06:24:39] <eric_u1> sorta
[06:24:46] <SWPadnos> yeah, "problem" :)
[06:25:54] <eric_u1> grex might catch on once bill gates ruins the parallel port
[06:26:10] <SWPadnos> no, I think most Mach users will go to the SmoothStepper
[06:26:16] <SWPadnos> it seems very popular
[06:26:24] <eric_u1> haven't heard of that
[06:26:36] <SWPadnos> oh. it's another USB-connected FPGA thing
[06:26:50] <eric_u1> maybe I have heard of it
[06:27:03] <SWPadnos> it has two headers that have the same pinout as motherboard parallel ports
[06:27:34] <SWPadnos> last I knew, he was pretty close to getting threading to work
[06:27:51] <SWPadnos> then again, Steve H said that about the G-Rex for about a year, and then disappeared
[06:29:27] <eric_u1> " Ask anyone who uses a G100 with mach3 and they'll tell you the difference. The Smoothstepper works!!"
[06:29:37] <SWPadnos> heh
[06:30:09] <SWPadnos> I guess I should email Greg and see how it's coming
[06:33:36] <eric_u1> how does that work? does it just take parport pulses?
[06:33:51] <SWPadnos> step rate I think
[06:33:59] <SWPadnos> there's some buffering
[06:34:15] <SWPadnos> and I guess there's an encoder or spindle pulse input for threading
[11:16:28] <piasdom> g'day all
[12:58:33] <BigJohnT> Automation Direct has a $69 PLC now
[12:58:44] <BigJohnT> with free programming software
[12:59:13] <eric_u1> what would you use it for?
[13:00:21] <BigJohnT> anything you like I guess
[13:04:29] <archivist> BigJohnT, you escaped last night just as I typed ... do you have the original 50's pics
[13:06:11] <BigJohnT> I'm not sure archivist
[13:07:52] <archivist> might be worth finding as modern scans will beat a vhs any day
[13:08:14] <archivist> although audio is worth preserving
[13:08:21] <BigJohnT> ok, thanks
[13:08:41] <BigJohnT> no audio on the vhs just pics
[13:14:55] <jepler> BigJohnT: URL for the PLC?
[13:15:44] <BigJohnT> just a second I'll find it jepler
[13:17:44] <BigJohnT> http://web5.automationdirect.com/adc/Overview/Catalog/Programmable_Controllers/CLICK_Series_PLCs_(Stackable_Micro_Brick)
[13:19:39] <archivist> heh everything else is extra
[13:30:35] <jepler> BigJohnT: thanks
[13:31:20] <jepler> no surprise, but you're stuck using a graphical windows programming environment and none of their public documentation includes the information necessary to develop programming software as a third-party.
[13:32:05] <jepler> that reminds me of my christmas wish: a plc-type mode for mesa fpga cards
[13:33:46] <archivist> s/christmas wish/christmas project :)
[13:34:01] <jepler> heh indeed
[13:34:11] <jepler> though I don't need a plc myself..
[13:34:17] <archivist> I will check your progress in January
[13:34:23] <archivist> :)
[13:35:10] <jepler> no mesa card I know of has nonvolatile firmware, so you can't run without a PC attached anyway .. at that point you might as well use classicladder
[13:35:10] <alex_joni> http://www.youtube.com/watch?v=aLUCkMG6HnY&feature=related <- cool stuff
[13:35:27] <alex_joni> jepler: yeah, but a scope might be cool
[13:35:37] <jepler> alex_joni: a scope?
[13:37:06] <jepler> you mean something like this project? http://www.sump.org/projects/analyzer/
[13:38:53] <jepler> I haven't yet, but I should try pairing it with this fast adc for analog capture: http://www.knjn.com/?pg=cat&src=5
[13:42:54] <jepler> wow -- this ladder compiler for pic and avr actually produces avr hex files without any of the normal toolchain (no gcc/as/ld); about 1400 lines for the avr ladder compiler itself
[13:43:50] <jepler> http://www.cq.cx/ladder.pl
[13:47:01] <micges> hello
[13:47:10] <jepler> hi micges
[13:47:28] <micges> can I connect P param from G64 to debug pin to watch it ?
[13:48:26] <micges> I have strange issues with blending mode
[13:48:51] <jepler> with a recompile, yes. There are several debug parameters exported by motion, and they are intended to be changed to whatever expression you want to view
[13:48:55] <jepler> motion.c: emcmot_hal_data->debug_float_0 = 0.0;
[13:49:12] <micges> after some errors/warnings from EMC AXIS starts working like G64P1 but gcode initalize it to G64P0.01
[13:49:27] <jepler> er, actually the place you set it is: control.c: emcmot_hal_data->debug_float_0 = emcmotStatus->net_feed_scale;
[13:49:47] <micges> ok but where to find that P value ?
[13:49:59] <jepler> I dunno; I'd have to look at structure definitions to find it out
[13:51:46] <skunkworks_> cradek: http://www.youtube.com/watch?v=sRPLWzOpFSM
[13:52:28] <skunkworks_> http://www.cnczone.com/forums/showthread.php?t=50685&page=21
[13:53:21] <jepler> it looks like each element in the trajectory can have a distinct blending value, so it's not quite so simple as I suggested
[13:54:48] <micges> oh
[13:56:48] <cradek_> skunkworks_: did he replace the motors with steppers?
[13:56:58] <cradek_> cradek_ is now known as cradek
[13:57:48] <skunkworks_> I think he is using servo drives with step/dir
[13:58:04] <cradek> ah
[13:58:13] <cradek> just wondered why he had he rapids set so slow
[13:58:21] <cradek> the
[13:58:38] <skunkworks_> I changed my encoder from a 200 line to a 500 line on the X axis
[13:59:32] <skunkworks_> http://www.cnczone.com/forums/showpost.php?p=532841&postcount=252
[13:59:40] <cradek> ouch, that's only .0001 radius resolution
[14:00:13] <cradek> nice 6-jaw chuck though
[14:00:26] <jepler> he must be using step-servos, then since he refers to "steps per inch"
[14:00:49] <cradek> yeah that would explain all of it - the low resolution and feeds
[14:00:51] <jepler> oops, I tried to read that but all I got was -EPUNCT
[14:00:56] <cradek> haha
[14:01:06] <jepler> bbl
[14:02:08] <skunkworks_> http://www.cnczone.com/forums/showpost.php?p=414782&postcount=56
[14:02:50] <skunkworks_> http://www.cnczone.com/forums/showpost.php?p=418408&postcount=71
[14:04:31] <skunkworks_> he is using geckos
[14:05:12] <skunkworks_> cradek: what is the supply voltage for the servos?
[14:08:27] <skunkworks_> sounds like initally he could go 100ipm - but maybe slower now because of higher encoder res
[14:16:40] <alex_joni> jepler: exactly like that
[14:35:53] <jepler> alex_joni: the mesa fpga boards aren't a good match for a project like that, because they don't have any external SRAM and only a small amount of internal block RAMs
[14:37:04] <alex_joni> what if I would connect some SRAM on one of the ports?
[14:37:07] <jepler> so instead of the 256k samples using the s3board you would get less than 10k samples
[14:37:28] <jepler> then you use up most of your I/Os very quickly.
[14:37:29] <cradek> skunkworks_: I don't remember for sure - I think it's pretty low, like around 80v
[14:37:45] <BigJohnT> jepler: would the flashy with the pluto-p be a way to read a 0-10v signal into EMC?
[14:37:47] <alex_joni> jepler: surely there must be enough left for the adc link
[14:37:56] <jepler> with only 72 I/O points, you can't control a very wide sram and also have enough left for acquisition
[14:38:55] <alex_joni> hmm.. bummer :)
[14:42:22] <jepler> the 2 256kx16 srams on the digilentinc board use a total of 56 I/O (18 address, 32 data, 6 control)
[14:42:39] <jepler> er, make that 58
[14:42:41] <jepler> 8 control
[14:42:57] <alex_joni> so only 18 left
[14:43:00] <jepler> 6 of those could probably be hard-wired to the active state (chip and byte enables)
[14:43:04] <alex_joni> err.. :/
[14:43:09] <alex_joni> 14
[14:43:39] <jepler> and fewer than 32 data lines could be used -- probably there's no point to using more data lines than you are acquiring bits
[14:44:52] <alex_joni> the flashy does 8bit samples
[14:44:53] <jepler> so you could devote one connector to acquisition -- 24 bits, or 23 bits plus one capture clock output for the ADC
[14:45:42] <jepler> and the other 2 connectors for the sram interface
[14:46:58] <alex_joni> I only see about 11 bits for talking to the flashy
[14:47:18] <jepler> surely you want to capture more than one channel of data though
[14:47:46] <alex_joni> so 22 for 2 ;)
[14:51:14] <jepler> there are really 8 outputs from each flashy to capture (8 sample bits) and one bit to output (capture clock).
[14:53:06] <jepler> with the sump.org logic analyzer there are 32 capture inputs plus one capture clock output, so you could do 0 to 4 analog channels, and for each one you don't use as analog you could capture 8 digital bits
[14:53:32] <jepler> the java gui already has a provision to treat the blocks of 8 bits as "analog" values
[14:56:28] <jepler> hm I didn't know that the newer flashy boards used DACs to set the gain and offset of the preamp -- my plans didn't account for that
[14:58:36] <alex_joni> I think they are serial DAC's though
[15:04:41] <cradek> "samco is on a distinguished road"
[15:04:50] <jepler> looks like there's one more output on the s3board connector B1 so it appears you could enhance the logic analyzer to set those dacs
[15:06:56] <jepler> I don't quite get what "period output" is, or how it lets you reconstruct higher-frequency signals..
[15:10:57] <skunkworks_> cradek: ?
[15:11:22] <cradek> it says that on your cnczone post
[15:11:33] <cradek> well actually, it says it on everyone's cnczone posts
[15:11:56] <cradek> does my youtube video play for you? for me it says it's no longer available.
[15:17:24] <alex_joni> http://www.youtube.com/watch?v=GWuOZutnjTk <- that one works
[15:18:10] <archivist> is there a taping phase in that vid cradek?
[15:18:31] <cradek> sorry what is taping phase?
[15:18:51] <archivist> tap a threaded hole
[15:18:55] <cradek> oh tapping
[15:18:56] <cradek> no
[15:19:31] <cradek> kirk shows some rigid tapping cycles in his videos though
[15:19:33] <alex_joni> http://www.youtube.com/watch?v=7WCrqqoZkPg&feature=related <- that one doesn't
[15:19:56] <alex_joni> I wonder wth it's not available anymore :/
[15:20:15] <cradek> something is messed up on youtube because the related preview icon thingies aren't there
[15:20:39] <alex_joni> they are for me
[15:20:43] <skunkworks_> wierd - are you logged in?
[15:20:47] <cradek> no
[15:20:57] <alex_joni> * alex_joni runs home
[15:21:26] <jepler> both work for me
[15:21:45] <skunkworks_> when youtube is slow - sometimes it says the video is 'not available anymore'
[15:21:47] <eric_u1> that's because you are special
[15:22:35] <archivist> I wish one could find out about ratings you get
[15:23:27] <eric_u1> my son made a video with his class, and it had one rating
[15:24:27] <eric_u1> there are at least 3 kids involved, so it should have approximately 6 minimum
[15:47:18] <jepler> "The use of CFCs or HFCs shall not be used in the design or manufacturing process." -- ATX power supply design guide
[15:47:40] <eric_u1> seems so quaint
[15:47:58] <jepler> it's "the use .. shall not be used" that I wanted to call attention to
[15:48:09] <eric_u1> that's nice too
[15:48:31] <eric_u1> probably an edit
[16:00:19] <eric_u1> the atx standard isn't much good any more, is it?
[16:05:12] <jepler> this specification has the 24-pin ATX power connector, the 4-pin 12V connector, and the SATA power connector. I guess it's missing that 6-pin power connector for video cards..
[16:05:23] <jepler> I dunno if this is the newest version I happened to download -- version 2.2, from 2005
[16:55:27] <eric_u1> I just rode my bike to the hospital to pick up my car, and some guy just about ran me over right next to the emergency room
[16:55:40] <SWPadnos> that would have been lucky
[16:55:46] <eric_u1> convenient
[16:55:47] <SWPadnos> in a sense
[16:56:07] <eric_u1> I was just thinking before that about the number of old, bad drivers there were at the hospital
[16:56:44] <SWPadnos> I'm sure there's a higher percentage of bad or distracted drivers around hospitals
[16:57:05] <skunkworks_> I am sure there is a study somewhere
[16:57:41] <eric_u1> pretty sure he saw me and tried to cross the road before I got there, but he said he didn't see me
[16:57:52] <SWPadnos> hmmm. maybe I can get a large government grant for a new study
[16:58:04] <eric_u1> me too, I need the money
[17:00:20] <archivist> make the study large enough to pay us all
[17:00:46] <eric_u1> problem there, you'll have to get your money from GB
[17:01:33] <SWPadnos> well, there are thousands of hospitals. we'd need a lot of decoys
[17:01:39] <SWPadnos> err, researchers
[17:01:43] <eric_u1> although we have a deal with the Canadians where their government pays people to work with us on a U.S. government grant
[17:02:52] <eric_u1> when I'm on my bike, I pretty much assume anyone that can catch me is out to kill me
[17:04:08] <eric_u1> but actually, my grant is going to assess Murphy's Law of Cyclists and Joggers
[17:05:12] <eric_u1> which is that if a jogger/cyclist and two cars are present on an otherwise abandoned road, they will pass at the same time
[17:07:04] <SWPadnos> it's magnetics. I'm convinced
[17:07:10] <eric_u1> next grant will be for the corollary, if a cyclist and a car are on orthogonal roads, they will meet at such a time as the car will have to wait for the cyclist
[17:11:32] <eric_u1> some people apparently have a very short attention span
[17:15:48] <cradek> he's having a real connectivity problem
[17:22:25] <eric_u1> where is he located?
[17:22:45] <cradek> .pl = poland
[17:26:35] <toastatwork> don't forget it
[17:26:53] <eric_u1> get back to work
[17:40:13] <eric_u1> I wish people would stop using flash for their forum software
[17:41:15] <SWPadnos> s/for their forum software//
[17:42:59] <skunkworks_> heh
[17:43:02] <archivist> poland riminded me to get a parcel cost to there, UPS want £125
[18:23:30] <skunkworks_> http://www.cnczone.com/forums/showthread.php?t=69598
[18:29:44] <SWPadnos> interesting
[18:41:35] <micges> cradek: Is it very hard to connect P parameter value from G64 to some hal pin ?
[18:42:10] <micges> jepler said that every tc struct has own value so it's not trivial
[18:43:28] <SWPadnos> hmmm
[18:44:09] <cradek> micges: I saw your question - if you think there is a bug would you explain from the beginning what the problem is?
[18:44:39] <micges> (sorry for connect flooding, I'm servicing our laser with poorly cell area)
[18:44:56] <cradek> it's ok, we all have bad connections sometimes
[18:46:11] <micges> after some errors/warings from EMC blending is turning on even if I'm programm G64 P0.01
[18:46:43] <micges> blend value is seems to be about 1mm
[18:46:47] <cradek> more details please, please tell me how I can reproduce this behavior
[18:47:39] <micges> I'm working with it so I've asked about
[18:49:05] <micges> I'm trying to reproduce with no success
[18:51:56] <cradek> what version of emc2 are you running? I remember a related problem but it is fixed
[18:52:52] <micges> cradek: after fixing we have much less those errors but they still are
[18:53:04] <micges> version 2.2.branch
[18:54:49] <micges> specifically all errors connected with enabling/disabling machine was fixed with that patch but there are still some event while running program
[18:55:19] <cradek> unless you can give me specific information showing how I can see the error, I cannot help
[18:55:28] <micges> when I can tell steps to reproduce I'll do it
[18:55:34] <cradek> great, thanks
[18:56:11] <jepler> If you have changes that fix bugs, you should submit them to us for inclusion in 2.2.
[18:56:43] <jepler> if you have any changes at all, you should verify that the bug you're currently seeing doesn't exist in an unmodified emc, or at least make it clear that you haven't verified it one way or the other
[18:57:12] <cradek> yes - I assumed you meant after you had OUR fix, it got better - but if I misunderstood, what jeff says is true
[18:58:46] <micges> after applying your patch
[18:59:47] <micges> jepler: that's I'm trying to do
[19:38:32] <skunkworks_> http://www.pcdirectsource.com/Item.cfm?ID=2125
[19:40:20] <skunkworks_> http://www.pcdirectsource.com/Item.cfm?ID=2283
[19:41:12] <alex_joni> a bit much for a chassis
[19:45:52] <SWPadnos> well, they do include the motherboard, CPU , and memory too
[19:48:40] <SWPadnos> I wouldn't get the Intel one. the ICH7 chipset is crap
[19:49:05] <jepler> cooool, after a little bit of hacking it's possible to compile and run http://cq.cx/ladder.pl for linux using wine-dev
[19:49:37] <jepler> it's not quite a native linux application
[19:51:55] <jepler> hm and the file open dialog doesn't work right
[19:52:13] <SWPadnos> heh
[19:52:19] <SWPadnos> dose the exe not run under wine?
[19:52:21] <SWPadnos> does
[19:52:33] <jepler> oh quite possibly
[19:52:37] <SWPadnos> heh
[19:52:59] <jepler> yeah, it does
[19:53:12] <SWPadnos> ok. so that might be simpler :)
[19:53:58] <jepler> bah
[19:54:00] <jepler> I mean, yeah
[19:54:08] <SWPadnos> that's what I thought you meant
[19:57:24] <jepler> heh
[20:03:28] <alex_joni> http://dsplabs.utt.ro/~juve/blog/index.cgi/projects/01228935573
[20:05:41] <seb_kuzminsky> alex_joni: is step 8 raw meat on toast?
[20:06:01] <SWPadnos> yummy
[20:06:06] <SWPadnos> more fennel, I say
[20:06:24] <SWPadnos> "sausage tartare" :)
[20:08:39] <alex_joni> seb_kuzminsky: yeah
[20:08:57] <seb_kuzminsky> what no onions & parsley?
[20:09:01] <seb_kuzminsky> ;-)
[20:10:10] <alex_joni> seb_kuzminsky: I was in a hurry :D
[20:10:21] <alex_joni> I did eat it with pickles :)
[20:10:38] <cradek> I love how you call garlic a "flagrant spice". what a great description of it.
[20:21:27] <alex_joni> well.. it was about 400g of it (that's close to a pound)
[21:05:05] <lewin1> lewin1 is now known as lewing
[21:17:50] <jymm> sauassge tar tar, as in pork? are you frickin nuts?!
[21:19:29] <jymm> oh, SWPadnos being funny again.... nm
[21:19:53] <SWPadnos> pork has been pretty safe for the last 10 years or so
[21:20:03] <SWPadnos> you don't have to char it any more
[21:20:04] <anonimasu> * anonimasu nods
[21:20:40] <cradek> I bet Alex's meat is safer than typical meat in the US because he knows where it came from, and it was somewhere nearby, and not a factory
[21:20:46] <cradek> (I'm guessing)
[21:21:02] <alex_joni> well.. I'd say so
[21:21:26] <SWPadnos> http://en.wikipedia.org/wiki/Trichinosis
[21:21:37] <SWPadnos> "Infection was once very common, but is now rare in the developed world."
[21:22:01] <jymm> SWPadnos: not raw pork
[21:22:12] <SWPadnos> yes, exactly raw pork
[21:22:33] <SWPadnos> it used to be nearly certain that you'd get infected if you ate raw/undercooked pork, but that's not true any more
[21:22:36] <jymm> SWPadnos: DUDE! Alex lives where there are vampires, how do you call that "developed world" ?
[21:22:49] <SWPadnos> vampires are highly developed
[21:23:07] <SWPadnos> you're forgetting that at least half of my grandparents are from the same place :)
[21:23:17] <jymm> SWPadnos: and the pitchforks?
[21:23:35] <SWPadnos> why do you think my grandparents emigrated to the US?
[21:23:37] <alex_joni> they stayed here
[21:23:46] <alex_joni> so jymm I'd say you're in trouble :D
[21:24:02] <alex_joni> well.. I'm off to bed
[21:24:04] <alex_joni> good night all
[21:26:19] <jymm> alex_joni: how's that?
[21:26:33] <jymm> alex_joni: I LOVE garlic
[21:27:11] <anonimasu> so do most vampires too
[21:27:23] <jymm> anonimasu: Actaually, they don't
[21:28:39] <skunkworks_> * skunkworks_ got sucked into the hbo series 'true blood'
[21:30:40] <SWPadnos> heh
[21:30:56] <SWPadnos> it sounded interesting from the Fresh Air interview
[21:31:11] <SWPadnos> but then most things sound interesting on Fresh Air
[21:31:13] <skunkworks_> it was entertaining. :)
[21:31:34] <skunkworks_> Fresh Air is another awesome npr show
[21:31:39] <SWPadnos> yep
[21:32:01] <SWPadnos> Car Talk, Fresh Air, "Wait, Wait, Don't tell Me", Says You ...
[21:32:02] <skunkworks_> we get a lot of work done on the weekends listening to npr (wpr)
[21:32:04] <SWPadnos> lots of good ones
[21:32:14] <SWPadnos> PHC of course
[21:32:19] <skunkworks_> a way with words
[21:32:37] <SWPadnos> hmmm. that sounds like it may be similar to Says you
[21:33:05] <skunkworks_> people call in with grammar questions and such
[21:33:09] <SWPadnos> ah
[21:33:10] <skunkworks_> different than says you
[21:33:20] <SWPadnos> yep
[21:33:32] <SWPadnos> Says You is more or less "Balderdash" on the radio
[21:33:53] <skunkworks_> I love 'not my job' on wait wait
[21:34:01] <SWPadnos> heh, yep
[21:35:29] <skunkworks_> do you get zorba pastor or calling all pets? (WI public)
[21:36:20] <skunkworks_> WI public radio has a lot of local programming
[21:36:32] <SWPadnos> no, I don't think so
[21:37:23] <skunkworks_> people pharmacy?
[21:37:28] <skunkworks_> peoples..
[21:37:39] <skunkworks_> that is out of chaple hill
[21:37:44] <skunkworks_> chaple?
[21:40:44] <SWPadnos> chapel
[21:40:58] <skunkworks_> we also have university of the air.. another good program
[21:41:17] <skunkworks_> http://wpr.org/webcasting/archives.cfm
[21:41:21] <skunkworks_> local stuff
[21:41:56] <skunkworks_> the best part is old time radio drama. (8:00 untill 11:00 sat and sun)
[21:42:40] <skunkworks_> and 'to the best of our knowledge'
[21:42:47] <skunkworks_> we have a lot of good stuff :)
[21:43:06] <SWPadnos> yep. same here
[21:43:46] <skunkworks_> we went and saw science friday when it was here in millwaukee
[21:44:43] <SWPadnos> I should see if I can get wait Wait or one of the other shows to tape here
[21:45:27] <SWPadnos> incidentally, we went to an interesting presentation yesterday, about the search fro the USS Grunion, a sub lost in WWII
[21:45:44] <SWPadnos> (I was reminded of it because one of the VPR guys was there)
[21:45:59] <skunkworks_> neat
[21:46:03] <SWPadnos> http://www.ussgrunion.com/
[21:46:39] <SWPadnos> the family of the captain of the sub is from my hometown a few miles away, so he did the presentation
[21:46:50] <SWPadnos> s/he/one of his sones/
[21:46:53] <SWPadnos> sone
[21:46:55] <SWPadnos> -e
[21:46:57] <SWPadnos> fark
[21:47:29] <skunkworks_> heh
[21:59:41] <jymm> * jymm hands SWPadnos a pitchfork!
[22:02:20] <jymm> ...and a ballony sandwich
[22:26:43] <fenn> this may be of interest to some (new stepper driver board from reprap) http://flickr.com/photos/hoeken/2950488044/in/set-72157607711583973/
[22:32:38] <skunkworks_> fenn: http://imagebin.ca/img/oYeGk1.png
[22:32:53] <skunkworks_> * skunkworks_ keeps tweeking it until I can get time to mill it. :)
[22:33:19] <fenn> that capacitor is enormous
[23:31:57] <skunkworks> well - it is what I have :)
[23:39:10] <skunkworks> jmkasunich: do you think it would hurt to run the motor traces around the driver ics? I can do both sides if I move c20 to the other side of the driver ic. (top red traces)
[23:50:36] <SWPadnos> skunkworks, here's a good output terminal for your motor drive: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=280291781684
[23:51:57] <skunkworks> SWPadnos: a bit much :)
[23:52:01] <SWPadnos> heh
[23:52:24] <SWPadnos> well, maybe for the high current model
[23:54:12] <skunkworks> maybe :>