-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bidirectional output records without fully processing them #145
Comments
This hit me today again when implementing a writable structure. But the opcuaItem is monitoring the structure and when getting updated in turn updates of the two ao records. But this triggers the
Updating records from the hardware must not trigger their It would be nice to have this update functionality already build into output records, but alas ... As implemented currently, this severely limits the user friendlyness of output structures and basically make |
I see and agree.
|
Wouldn't that write on any field change? In my case once when LOW is set and the again when HIGH is set? |
Yes, it would.
|
I had considered another option for the data elements, so that setting 'woc=n' in an element would not trigger writing the structure in WOC mode, but that was deemed unnecessary by my users. Doable with not too much effort. |
I will try |
FYI: My "hack" in processCallback looks like this:
|
Reported by @dirk-zimoch:
When the device sends value updates, output records are fully processed, even if they are set to SCAN="Passive".
Generally, "Passive" records are not expected to process on their own - so this behaviour violates the "rule of least surprise".
Also, other records connected through FLNK are being processed, no matter if the output record was written to or updated.
It would be better to just update output records: update the time stamp, check alarms, send monitors. FLNK processing should be limited to being done when the output record processes regularly.
The text was updated successfully, but these errors were encountered: