Re: [Ktechlab-devel] My ktechlab modifications

2009-07-05 Thread P Zoltan
On Thu, 02 Jul 2009 18:10:05 +0200, Alan Grimes wrote: Because LogicOut is a subclass of LogicIn, the output pins have all the functionality of input pins! This just doesn't sound healthy. In analog, practically there is no "in" or "out", but for digital circuits, an output shoudn't "sen

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-03 Thread Alan Grimes
tho...@tgohome.com wrote: > I don't know much about transistors and states and settings... Let me know > what needs to be changed with my patch. I did compare the transistor > simulation in ktechlab to another simulator (the software at my school is > Yenka - it's OK but it's got lots of bugs) and

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-03 Thread P Zoltan
Hi, I just looket at the patch and it looks OK for the first read. However, I suggest separating the GUI/drawing from the simulation as much as you can, because otherwise the result will be a messy code -- at this moment there _is_ a messed up code in the SVN... About what to draw w

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-03 Thread thomas
Yeah I know circuit elements really shouldn't know much about being overrated. I also think that items perhaps shouldn't know much about being overrated, but I am not very experienced with C++ and this is my best shot at it without having to rewrite the engine. I use getJoules because it's conveni

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread Alan Grimes
tho...@tgohome.com wrote: > Hi, > > I'm back again. > > After a bit of getting used to patch/diff - it's the first time I've > really got used to it - I made a patch file. See here: > > http://files.getdropbox.com/u/1134084/ktechlab-over-rate-additions-plus-more-by-Tom-Oldbury.patch > > Hopef

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread Link
On 02/07/09 22:09, tho...@tgohome.com wrote: > I'm more of an analog kinda guy, I don't really deal that much with > digital circuits yet - but I'm still learning. Could the glitch be > prevented by making inputs and outputs directional (inputs can only take > in signals, outputs can only put signa

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread Alan Grimes
tho...@tgohome.com wrote: > I'm more of an analog kinda guy, mee tooo!! I want to implement vacuum tubes. =P I was just mentioning recent work on the simulator. > Anyway, I will be creating a patch based on current SVN soon. > > Quick status check. I've added over-rates for resistors now. Resi

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread thomas
Hi, I'm back again. After a bit of getting used to patch/diff - it's the first time I've really got used to it - I made a patch file. See here: http://files.getdropbox.com/u/1134084/ktechlab-over-rate-additions-plus-more-by-Tom-Oldbury.patch Hopefully I did it right - please can someone try i

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread thomas
I'm more of an analog kinda guy, I don't really deal that much with digital circuits yet - but I'm still learning. Could the glitch be prevented by making inputs and outputs directional (inputs can only take in signals, outputs can only put signals in.) I assume that you've thought of this already

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread Alan Grimes
tho...@tgohome.com wrote: > Hi... Again, > > I have made some more tweaks... I've added capacitor over-rates, and I've > also fixed many NPN transistor over-rate bugs. I added maximum power > dissipation for transistors as well (however, I'd like someone else to > review that I'm doing it correctl

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-02 Thread thomas
Hi... Again, I have made some more tweaks... I've added capacitor over-rates, and I've also fixed many NPN transistor over-rate bugs. I added maximum power dissipation for transistors as well (however, I'd like someone else to review that I'm doing it correctly) One thing I added to capacitors (o

Re: [Ktechlab-devel] My ktechlab modifications

2009-07-01 Thread thomas
Hi again, Well, after a lot of fiddling, I actually made a pretty good amount of progress. I've added tooltips to BJTs informing you if you overrate them and what specifications have been overrated. See screenshot: http://img268.imageshack.us/img268/934/overnpn.png Work needs to be done on sep

Re: [Ktechlab-devel] My ktechlab modifications

2009-06-30 Thread Lawrence Shafer
Nice! I'm not a coder, but I love that feature! tho...@tgohome.com wrote: > I have added a feature, just to BJTs at the moment (but I'm planning > resistors, capacitors and most ICs soon), which warns you if you overrate > the device. The problem being at the moment, is all it does is show an > ex

[Ktechlab-devel] My ktechlab modifications

2009-06-30 Thread thomas
I have added a feature, just to BJTs at the moment (but I'm planning resistors, capacitors and most ICs soon), which warns you if you overrate the device. The problem being at the moment, is all it does is show an exclamation mark next to the device. I am trying to figure out how to warn the user