#emc-devel | Logs for 2008-07-14

Back
[10:00:33] <CIA-32> EMC: 03cmorley 07TRUNK * 10emc2/src/hal/classicladder/config_gtk.c: fix problems with input of info crashing window
[10:03:53] <Killua> Can someone help me please ?
[10:04:36] <Killua> When I am ont the RTAI kernel, my screen is all white
[10:04:47] <Killua> on the RTAI kernel...
[10:17:46] <Killua> #emc
[12:40:30] <Roguish> alex_joni. are you available for assistance?
[12:42:42] <alex_joni> I might just be :)
[12:43:33] <Roguish> the hal component 'toggle' takes an input and an output.
[12:43:58] <Roguish> when it is 'toggled' the output stays 'on'.
[12:44:12] <alex_joni> right.. so it's like a "T" latch
[12:44:41] <Roguish> the only way i can get it to release is to 'toggle' it again.
[12:44:47] <alex_joni> http://en.wikipedia.org/wiki/Flip-flop_(electronics)#Toggle_flip-flops_.28T_flip-flops.29
[12:44:51] <alex_joni> Roguish: right
[12:45:01] <alex_joni> (unless it has an reset pin..)
[12:45:26] <Roguish> have to ineterface a bunch of momentary switches and it would be really nice to have a 'reset'
[12:46:20] <Roguish> i've tried all sorts of timers and combinations thru cl, but a reset would be the best.
[12:46:29] <Roguish> or some other ????
[12:46:37] <Roguish> any suggestions?
[12:46:59] <alex_joni> well.. you could look into flipflop.comp
[12:47:03] <alex_joni> maybe you can use that ..
[12:48:05] <Roguish> any examples of flipflop use?
[12:48:13] <alex_joni> http://www.asic-world.com/digital/seq4.html
[12:48:23] <alex_joni> and giyf ;)
[12:48:34] <Roguish> 'giyf' ?
[12:49:44] <alex_joni> http://en.wiktionary.org/wiki/GIYF
[12:50:10] <Roguish> i have not looked at the source for 'toggle' yet, but i am going to and see if i can possibly add a reset.
[12:50:17] <Roguish> oh, kinda like rtfm.
[12:50:39] <Roguish> i'm thinking more of actual hal usage.
[12:50:45] <alex_joni> http://cvs.linuxcnc.org/cvs/emc2/src/hal/components/toggle.comp?rev=1.2 <- toggle.comp :)
[12:50:54] <alex_joni> Roguish: hal usage shouldn't be very hard
[12:51:03] <alex_joni> loadrt toggle
[12:51:06] <alex_joni> addf toggle.0
[12:51:11] <alex_joni> net *
[12:51:12] <alex_joni> ...
[12:51:23] <Roguish> no, got that one, how about flipflop?
[12:52:01] <alex_joni> same
[12:52:12] <alex_joni> only change toggle with flipflop
[12:52:21] <Roguish> oh, heck. i can probably figure it out.
[12:52:25] <Roguish> another ??
[12:52:27] <alex_joni> man flipflop ..
[12:52:32] <alex_joni> Roguish: DATAJA :)
[12:52:55] <Roguish> i am working on a new machine with a new computer. an amd chip.
[12:53:06] <alex_joni> ok..
[12:53:25] <Roguish> i loaded the non-amd64 8.04. is this ok?
[12:53:26] <alex_joni> go on..
[12:53:31] <alex_joni> yeah
[12:54:04] <Roguish> will emc2 run with the amd64 kernel? and what is the primary difference?
[12:54:31] <alex_joni> the amd64 kernel is a 64bit kernel
[12:54:44] <alex_joni> it should work on systems with more memory (more than 4G anyways)
[12:54:56] <alex_joni> and it's a SMP kernel.. so you can run it on more than one CPU/Core
[12:55:27] <Roguish> oh, yeah, what's the deal with the 1 gig ram limit?
[12:55:52] <jepler> rtai 3.6 and below have bugs concerning 32-bit systems with more than 1 gig ram
[12:56:12] <jepler> modified version of toggle.comp to add reset pin; lightly tested: http://emergent.unpy.net/files/sandbox/toggle.comp
[12:56:27] <alex_joni> and 32-bit systems have trouble addressing more than 3-4G of memory
[12:56:29] <Roguish> morning sir.
[12:56:33] <jepler> right now I recommend using the 32-bit version of ubuntu for emc if you want a stable production system
[12:56:35] <alex_joni> hey jeff
[12:56:48] <Roguish> i will be happy to play ginnypig.
[12:56:48] <alex_joni> jepler: was it this weekend?
[12:57:27] <jepler> the 64-bit rtai kernel crashes about once a week .. I am currently testing a newer kernel which has now been up 19 days which is better than before
[12:57:32] <jepler> alex_joni: was what this weekend?
[12:57:44] <alex_joni> the new release you were hoping to do
[12:57:55] <alex_joni> <- if certain persons get their act together
[12:58:08] <jepler> oh
[12:58:24] <Roguish> jepler. how do i go about using that comp? is it in trunk?
[12:58:32] <jepler> I was hoping for the weekend of the 19th, but that's only because at the time I was planning it was the next weekend I could possibly do it
[12:58:42] <jepler> Roguish: are you self-compiling or using the package version?
[12:58:56] <Roguish> trunk, run-in-place.
[12:59:01] <jepler> Roguish: if you're self-compiling, replace toggle.comp with that version and recompile.
[12:59:13] <Roguish> ok.
[12:59:17] <alex_joni> jepler: ok, so this weekend will be the 19th, will book it solid (I hope that nothing turns up :)
[12:59:29] <jepler> alex_joni: OK, i hope nothing comes up for me either
[12:59:44] <Roguish> so, there's a 2nd input? toggle.x.reset ?
[12:59:44] <alex_joni> maybe I can have a working kernel/CD by then
[13:00:08] <alex_joni> Roguish: after replacing, and make, you can ". scripts/emc-environment" and then man toggle
[13:02:26] <Roguish> gentlemen, thanks. gotta run to the clients site. i will be back on in a while. ciao dudes. watch the Tour!!!
[13:02:41] <alex_joni> see ya
[13:02:42] <Roguish> (tour de france)
[13:09:14] <jepler> bbl
[13:11:34] <alex_joni> bbl
[17:35:28] <lerman> cradek: jepler: Are you here?