bkuner / opcUaUnifiedAutomation

EPICS opcUa device support with Unified Automation C++ based client sdk.
Other
0 stars 4 forks source link

Configurable publishing/sampling rates, queue size and drop policy #37

Closed ralphlange closed 6 years ago

ralphlange commented 6 years ago

This PR makes a bunch of properties configurable.

  1. Publishing rate This is a property of the subscription. In the current state (only one subscription supported) the global setting of the default publishing rate is setting the rate for the single subscription. Once multiple subscriptions are supported, the specific setting will be an argument of the iocShell call.

  2. Sampling rate, queue size and dropping policy of server side queue These are properties of the monitored item (i.e. per record). The global default settings are used for all records without specific configuration. Specific settings can be added to any OPCUA record through info items.

Using info items doesn't change behavior if a database does not specify them. This means the info item configuration mechanism is independent and will not interfere with other ways to configure these settings.

ralphlange commented 6 years ago

Merci!