Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Basic FB as Event Source(Configuring an Basic FB so that it can create an event )
Basic FB as Event Source [message #1738395] Tue, 19 July 2016 08:37
Eclipse UserFriend
Hallo everybody,

I started working with the 4DIAC Framework and the FORTE Module a few weeks ago and it worked out very well so far.

Currently, I created my own Basic FB which uses my own created dll. This dll processes data in own thread and calls a defined callback function if a result occurs. This callback function is defined in the Basic FB and passes the give data and sends the Output Event.

Now my problem:
If new data arrives a the FB, it is immediatly inserted in the dll. After a few cycles, the thread within the dll calls the callback function in the Basic FB and want to pass the resulted data and send an Output Event.
But this Event only is passed to the following Functionblocks, when a new Input Event arrives (i think, because the Basic FB is no Event Source).

Does anybody know, how I can configure my Basic FB that is can send Output Events without having an Input Event ?

Thank you in advance.
Previous Topic:Linefeed in RawDataComLayer of FORTE
Next Topic:flip-flop tutorial: No RMT_DEV available in 4DIAC IDE
Goto Forum:
  


Current Time: Sun Jul 13 01:39:35 EDT 2025

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

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

Back to the top