santiago gonzalez wrote: ################# > Then previous versions logic was created this way: > m_pLogicOut = > picComponent->createLogicOut(picComponent->ecNodeWithID(picPin.pinID)->pin(), > false);
> In the new versions is done this way: > m_pLogicOut = new LogicOut(LogicIn::getConfig(), false); > picComponent->setup1pinElement(m_pLogicOut, > picComponent->ecNodeWithID(picPin.pinID)->pin()); ################# These changes were inevitable because they were absolutely necessary to reduce Component to a sane level of complexity. They should have no effect on the problem at hand. > This new way worked until rev 297, but something happened in rev 298 > that makes inputs never work and outputs only works until a reload or > close-open the document. > It could be a great help if you have an idea of what is causing this. The logic code has changed so much that it is effectively a rewrite. =( There are two issues here. First the loading and saving stuff are a function of strange and mysterious code in the Document heirarchy. -- it's not loading your PIC correctly. =\ In theory you should just be able to register your object and a handful of properties, and it should automajically save and restore it. Obviously, there's a bug there. That is certainly not my area of expertise. Now the logic ins and logic outs.... If you want a logic out to behave like a logic in, the only thing you should need to do is change the "logic settings" and set the output impedance up to 1 meg or so... You would have to rebuild the element set if you wanted to change from a logic in to a logic out, because the logic in only has one matrix node and the logic out has two. So you might need a new class if you want to switch between the two in a live circuit... -- New president: Here we go again... Chemistry.com: A total rip-off. Powers are not rights. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel