QuickOPC User's Guide and Reference
AutomaticPublishingFactor Property (EasyUAEngineParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > EasyUAEngineParameters Class : AutomaticPublishingFactor Property
Automatic publishing factor that the component uses to determine the publishing interval.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(2)>
Public Property AutomaticPublishingFactor As Single
'Usage
 
Dim instance As EasyUAEngineParameters
Dim value As Single
 
instance.AutomaticPublishingFactor = value
 
value = instance.AutomaticPublishingFactor
[DataMember()]
[DefaultValue(2)]
public float AutomaticPublishingFactor {get; set;}
[DataMember()]
[DefaultValue(2)]
public:
property float AutomaticPublishingFactor {
   float get();
   void set (    float value);
}
Remarks

If you do not specify the publishing interval (if it is set to zero in OpcLabs.EasyOpc.UA.UASubscriptionParameters.PublishingInterval), the component will calculate it by dividing the sampling interval by this factor. The resulting value is limited by FastestAutomaticPublishingInterval.

By default, the publishing interval equals to one half of the sampling interval.

In order to obtain or modify this parameter, access the EasyUASharedParameters.EngineParameters property of static OpcLabs.EasyOpc.UA.EasyUAClient.SharedParameters.

Requirements

Target Platforms: .NET Framework: Windows 10, Windows Server 2012, Windows Server 2016; .NET Core, .NET 5: Linux, macOS, Microsoft Windows

See Also

Reference

EasyUAEngineParameters Class
EasyUAEngineParameters Members