QuickOPC User's Guide and Reference
SamplingOffset Property (UAUadpWriterGroupMessageParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAUadpWriterGroupMessageParameters Class : SamplingOffset Property
Defines the time in milliseconds for the offset of creating the network message in the publishing interval cycle.
Syntax
'Declaration
 
<DefaultValueAttribute(-1)>
<UnitAttribute("ms")>
Public Property SamplingOffset As Double
'Usage
 
Dim instance As UAUadpWriterGroupMessageParameters
Dim value As Double
 
instance.SamplingOffset = value
 
value = instance.SamplingOffset
[DefaultValue(-1)]
[Unit("ms")]
public double SamplingOffset {get; set;}
[DefaultValue(-1)]
[Unit("ms")]
public:
property double SamplingOffset {
   double get();
   void set (    double value);
}
Remarks

A value of -1.0d indicates that the optional parameter is not configured. In this case the publisher calculates the time before the publishing offset that is necessary to create the network message in time for sending at the publishing offset.

The System.Double allows configuration of intervals smaller than a millisecond.

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