|
Re: READ data from file [message #1864492 is a reply to message #1864482] |
Tue, 19 March 2024 21:25 |
|
Hi,
currently not. You could take the CSV writer as a reference and implement your own SIFB which would read, I would expect, one line per event, parses the line and applies the parsed values with the fromString method to the outputs. Should be rather straight forward.
|
|
|
|
|
Re: READ data from file [message #1872192 is a reply to message #1872171] |
Thu, 24 October 2024 21:51 |
|
If you are doing longer lasting things in your FB you are blocking all event distribution in the same thread (normally the same resource). This most of the time will just delay other FBs. The only problematic thing that can happen is that external events are queued up. For performance reasons external evetns are stored in a separate queue: the external event queue. External events are transferred to the internal event processing only when no FB is executing. So if you have a long running FB and lots of external events are happening that queue may overflow and you use events. You can do two things to prevent this:
1. increase the external event queue size in your CMake configuration
2. first do all your long running initialization stuff and only then start anything that is generating external events (e.g., E_CYCLE, SUBCRIBE, IX).
I would strongly suggest the second option as it is much cleaner.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03229 seconds