Most tag attributes are only used during the creation of the tag object, but some can be configured afterwards:
read_cache_ms
debug_level
auto_sync_read_ms
auto_sync_write_ms
Currently, libplctag.NET wrapper allows 1 and 2 to be set but prevents 3 andd 4 by throwing an exception.
Having the ability to set these at runtime can be useful for interactive applications that need to change the update frequency.
Notes:
It may be preferable to just allow all attributes to be configured after Initialize, and let the core library make the determination of whether this is sensible or not.
Most tag attributes are only used during the creation of the tag object, but some can be configured afterwards:
read_cache_ms
debug_level
auto_sync_read_ms
auto_sync_write_ms
Currently, libplctag.NET wrapper allows 1 and 2 to be set but prevents 3 andd 4 by throwing an exception.
Having the ability to set these at runtime can be useful for interactive applications that need to change the update frequency.
Notes: