Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:58 Go to next message
joy woo is currently offline joy wooFriend
Messages: 198
Registered: May 2019
Senior Member
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 13:00]

Report message to a 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 13:15 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 15:15 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 20:43 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 08:26 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 198
Registered: May 2019
Senior Member
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 11:18 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 198
Registered: May 2019
Senior Member
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 11:22 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 11:51 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 198
Registered: May 2019
Senior Member
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 11:53]

Report message to a 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 12:10 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 12:13 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 198
Registered: May 2019
Senior Member
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 13:21 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
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 Jun 13 00:47:53 GMT 2021

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

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

Back to the top