[Ktechlab-devel] todo list.

santiago gonzalez santigoro at gmail.com
Fri Oct 2 19:31:03 UTC 2009


>
> I'm not a flowcode/PIC guy. If I broke your stuff, I'll do what I can to
> help you figure out how to adapt to the changes in the lower-level
> classes. I'm just not that interested in it myself right now.
>

Ok, there are somethings not working with pics; the most important (i think)
is that pics only work when they are created, if i re-load the program or
close the document and opren again it doesn't work. The gpsimprocessor works
ok, but the pins states don't change.

The inputs never work and made anything conected to it to not work.

The diference i find betwen pics and other components is that in every logic
component the pins are well defined as input or output; but in pics most of
the pins are bi-directional and can be either in or out depending on how
they are programmed.
But in the moment that the "logic" is defined, ktl still doesn't know if the
pin is an input or output, then all bidirectional pins have the same logic:

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());

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20091002/f09a235c/attachment.html>


More information about the Ktechlab-devel mailing list