Error when adding more than 1 adapter to a composite FB.
Changes on adapters are not saved (disappear after restart), export of the FB leads to error.
Issues: #998
News: 2015/05/first-maintenance-release-for-4diac-17
Can you please be a little bit more specific about what you mean with changes. I tried to reproduce your problem by creating a CFB with two sockets and one plug. I changed the name of one socket but I could save and reload everything correctly.
Build a Composite FB, add 1 Socket and 1 Plug from the same type of
adapter, connect them and restart 4diac.
When I did this, one of the adapter FBs in the CFB schema was replaced
on the original position and when I try to export the CFB an error occurs.
Am 23.04.2015 um 13:50 schrieb Zoitl Alois:
Related
Issues:
#998ah thanks that helps.
a fix for the position problem can be found in cset [fordiac-ide:70dfe1]
Related
Commit: [70dfe1]
Last edit: Zoitl Alois 2015-04-26
I tried to reproduce also your export problem. However I can export the CFB without any problems. Also I verified the exported code and it is also ok. Is there something special in your adapter? Did you modify also the adapter before exporting?
If you are able to reproduce the problem with the version I posted yesterday (i.e., cset [fordiac-ide:70dfe1]) could you be so kind and post the error message hidden behind the details button?
Related
Commit: [70dfe1]
Hi,
from what I could see, the problem of adding Adapters to CFBs still
existed (I tried it with the build 972ab8).
I added 2 standatd adapters (socket and plug each) and connected their
event and data lines. Then I saved and restarted.
I think the export error only occurs when there was an error before
reading the FBs XML on restart.
LG Niko
Am 27.04.2015 um 18:20 schrieb Zoitl Alois:
Related
Issues:
#998Commit: [70dfe1]
Hi, I think that the export error occures due to a broken XML, which broke due to the error I reported in [issues:#1011]. As a quick fix you should check your XML and remove broken connections.
Related
Issues:
#1011