OPCDA.NET-UA
GetItemSamplingRate Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Group Class : GetItemSamplingRate Method

handles
Array of item handles of the items to be affected.
SamplingRate
Samplein rate for the item in milliseconds.
errors

Glossary Item Box

Gets the sampling rate on individual items, which was previously set with GetItemSamplingRate ( Available in OPC DA V3 servers only ).

Syntax

Visual Basic (Declaration) 
Public Function GetItemSamplingRate( _
   ByVal handles() As Integer, _
   ByRef SamplingRate As Integer(), _
   ByRef errors As Integer() _
) As Integer
C# 
public int GetItemSamplingRate( 
   int[] handles,
   out int[] SamplingRate,
   out int[] errors
)

Parameters

handles
Array of item handles of the items to be affected.
SamplingRate
Samplein rate for the item in milliseconds.
errors

Return Value

HRESULT success/error code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.