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 » Problems on replace(FORTE crashes when deploying Systems with "replace" or "replace all")
Problems on replace [message #1838607] Tue, 02 March 2021 11:07 Go to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 32
Registered: October 2019
Member
Hi,

I am running FORTE on an STM32MP157-based Board and I want to use it in a way, that it runs continuously from startup.
The problem I am facing is, that FORTE starts acting weird when I replace a running System with a different one.
I get a message saying:
WARNING: T#9664266793842: [CStringDictionary::insert] String to insert was empty
WARNING: T#9664267829310: [CStringDictionary::insert] String to insert was empty
ERROR: T#9664325360185: [CDeviceExecution] Couldn't start new event chain becaus e the event source was null

Is it a known Problem?
Right now I have to either kill and restart forte or reboot the Board.

Thanks in advance
Re: Problems on replace [message #1838609 is a reply to message #1838607] Tue, 02 March 2021 11:57 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Hi,

the first two warnings are known and you can ignore them. But they are also not the source of your problem. What concerns me more is your last message. Do you have any special SIFBs with event sources?

Cheers,
Alois
Re: Problems on replace [message #1838611 is a reply to message #1838609] Tue, 02 March 2021 12:25 Go to previous messageGo to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 32
Registered: October 2019
Member
Hi,
yes I have some SIFBs for the BACnet Communication protocol.(Subscribe COV functionality)
I had to implement custom SIFBs for this because of some required extra-functions but I am still using the FDSelecthandler and the FBs inherit from CEventSourceFB.

BR
Niklas
Re: Problems on replace [message #1838613 is a reply to message #1838611] Tue, 02 March 2021 12:56 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Hi,

in your destructor of this SIFBs or in the kill/stop handling are you deinitialilsing your communication? You can have a look in the CommFB and BaseCommFB fbs.

BR,
Alois

[Updated on: Tue, 02 March 2021 12:57]

Report message to a moderator

Re: Problems on replace [message #1838751 is a reply to message #1838613] Thu, 04 March 2021 13:48 Go to previous messageGo to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 32
Registered: October 2019
Member
Hi,

that was the root of the problem. I edited the destructor and everything is working fine now.
Thanks for your help.

BR,
Niklas
Re: Problems on replace [message #1838772 is a reply to message #1838751] Thu, 04 March 2021 20:06 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Happy to support.
Previous Topic:loop current status in ECC
Next Topic:Publish FB Inhibited
Goto Forum:
  


Current Time: Fri Apr 19 00:51:11 GMT 2024

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

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

Back to the top