OPCDA.NET Reference Manual
GetState(Int32,Boolean,String,Int32,Single,Int32,Int32,Int32) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup Class > GetState Method : GetState(Int32,Boolean,String,Int32,Single,Int32,Int32,Int32) Method

updateRate
The current update rate. The Update Rate is in milliseconds
active
The current active state of the group.
name
The current name of the group
timeBias
The TimeZone Bias of the group (in minutes).
percentDeadband
The percent change in an item value that will cause an exception report of that value to a client. This parameter only applies to items in the group that have dwEUType of Analog.
localeID
The current LCID for the group.
handleClient
The client supplied group handle
handleServer
The server generated group handle

Glossary Item Box

Updates the member variables in the OpcGroup object with the current state of the OPC group by calling IOPCGroupStateMgt::GetState and returns the state information to the caller.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetState( _
   ByRef updateRate As Integer, _
   ByRef active As Boolean, _
   ByRef name As String, _
   ByRef timeBias As Integer, _
   ByRef percentDeadband As Single, _
   ByRef localeID As Integer, _
   ByRef handleClient As Integer, _
   ByRef handleServer As Integer _
) As Integer
C# 
public int GetState( 
   out int updateRate,
   out bool active,
   out string name,
   out int timeBias,
   out float percentDeadband,
   out int localeID,
   out int handleClient,
   out int handleServer
)

Parameters

updateRate
The current update rate. The Update Rate is in milliseconds
active
The current active state of the group.
name
The current name of the group
timeBias
The TimeZone Bias of the group (in minutes).
percentDeadband
The percent change in an item value that will cause an exception report of that value to a client. This parameter only applies to items in the group that have dwEUType of Analog.
localeID
The current LCID for the group.
handleClient
The client supplied group handle
handleServer
The server generated group handle

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.