OPC Studio User's Guide and Reference
PublishingInterval Property (UASubscriptionParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UASubscriptionParameters Class : PublishingInterval Property
The publishing interval (in milliseconds). Defines the cyclic rate that the Subscription is requested to return Notifications to the Client. Zero value has a special meaning.
Syntax
'Declaration
 
<DefaultValueAttribute(1000)>
<UnitAttribute("ms")>
Public Property PublishingInterval As Integer
'Usage
 
Dim instance As UASubscriptionParameters
Dim value As Integer
 
instance.PublishingInterval = value
 
value = instance.PublishingInterval
[DefaultValue(1000)]
[Unit("ms")]
public int PublishingInterval {get; set;}
[DefaultValue(1000)]
[Unit("ms")]
public:
property int PublishingInterval {
   int get();
   void set (    int value);
}

Property Value

Returns the publishing interval (in milliseconds).
Remarks

If you do not specify the publishing interval (leave it at zero), the component will calculate it by dividing the sampling interval (for the monitored item) by the automatic publishing factor (see OpcLabs.EasyOpc.UA.Engine.EasyUAEngineParameters.AutomaticPublishingFactor). The resulting value is limited by OpcLabs.EasyOpc.UA.Engine.EasyUAEngineParameters.FastestAutomaticPublishingInterval. This means that by default, the publishing interval equals to one half of the sampling interval.

In order to obtain or modify this parameter, access the OpcLabs.EasyOpc.UA.OperationModel.UAMonitoredItemArguments.SubscriptionParameters.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also