Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » BIg issue with composite FB export in 4diac IDE 1.13
BIg issue with composite FB export in 4diac IDE 1.13 [message #1835648] Wed, 09 December 2020 07:58 Go to next message
Eclipse UserFriend
when i export composite FB in the latest 4diac IDE,
scm_stFBNData in the cpp file is totally not the same with
1.12 version, most of the quantity are not correct,such as:scm_astFannedOutEventConnections , and the
scm_astFannedOutDataConnections also disppered
,
const SCFB_FBNData FORTE_GoHome::scm_stFBNData = {
32, scm_astInternalFBs,
39, scm_astEventConnections,
16, scm_astFannedOutEventConnections,
19, scm_astDataConnections,
0, nullptr,
11, scm_astParamters
};

[Updated on: Wed, 09 December 2020 08:00] by Moderator

Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1835649 is a reply to message #1835648] Wed, 09 December 2020 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for letting us know can you please report a bug for that: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=4DIAC
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1836450 is a reply to message #1835649] Mon, 04 January 2021 10:15 Go to previous messageGo to next message
Eclipse UserFriend
I found some time today to look into the problem. And I have to apologize for a very dumb copy paste error. In this commit [1] it should be fixed. Happy for any feedback.

[1] https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.ide/+/174233
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1837188 is a reply to message #1836450] Sat, 23 January 2021 15:43 Go to previous messageGo to next message
Eclipse UserFriend
With the 4diac IDE 1.13.1 maintenance release this issue is fixed.
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1837289 is a reply to message #1837188] Wed, 27 January 2021 03:26 Go to previous messageGo to next message
Eclipse UserFriend
I am going to try the new version, Thank you very much!
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838323 is a reply to message #1837289] Mon, 22 February 2021 06:18 Go to previous messageGo to next message
Eclipse UserFriend
Still has problem,
1.13.1 Composite FB generates empty Connections, but in 1.12 it is ok
const SCFB_FBFannedOutConnectionData FORTE_ThreeTrigEvent::scm_astFannedOutEventConnections[] = {
};

const SCFB_FBFannedOutConnectionData FORTE_ThreeTrigEvent::scm_astFannedOutDataConnections[] = {
};
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838324 is a reply to message #1838323] Mon, 22 February 2021 06:22 Go to previous messageGo to next message
Eclipse UserFriend
Strange. I definitely tested that with a dedicated FB on my machine. Is it possible that you share an FB xml file with us which allows to reproduce the problem?
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838327 is a reply to message #1838324] Mon, 22 February 2021 06:51 Go to previous messageGo to next message
Eclipse UserFriend
comparing 1.12 and 1.13.1, the results are not the same, it's definetly a bug

i remove it by manaully, then it's ok

btw , after deploying, the watch status is not correct, have to watch again, it's the same as 1.13 but 1.12 is correct

[Updated on: Mon, 22 February 2021 06:53] by Moderator

Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838329 is a reply to message #1838327] Mon, 22 February 2021 07:10 Go to previous messageGo to next message
Eclipse UserFriend
We have a completly new implementation of the exporter. And yes it is a bug. Can you support us with any information to reproduce it on our side?
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838330 is a reply to message #1838329] Mon, 22 February 2021 07:13 Go to previous messageGo to next message
Eclipse UserFriend
i can upload the fb here then you can see it
Re: BIg issue with composite FB export in 4diac IDE 1.13 [message #1838331 is a reply to message #1838330] Mon, 22 February 2021 08:21 Go to previous message
Eclipse UserFriend
Thanks for the FB this helps me to understand the problem. The generated code is not wrong. Although it is not elegant the compiler would optimize away the not used array. If you are not getting compile errors I would leave the generated code as is for now.
Previous Topic:build forte as static lib and use in a qt app
Next Topic:How do I associate header files with other folders
Goto Forum:
  


Current Time: Sun Jul 13 23:50:50 EDT 2025

Powered by FUDForum. Page generated in 0.07507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top