OPCDA.NET Reference Manual
GetItemSamplingRate Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup 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 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.