uaPLUS Reference
RefreshItems Method
See Also  Send Feedback
NSPlugin Namespace > GenericServer Class : RefreshItems Method

appHandles
Array with the application handle of the items that need to be refreshed.

Glossary Item Box

Refresh the items listed in the appHandles array in the cache.

This method is called when a client executes a read from device or a read with maxAge argument
For OPC DA V2 read from device calls the method is called with all client requested items. In OPCDA V3 / XMLDA read calls the method is called only with the handles of the items that are currently in the cache older than maxAge.

Syntax

Visual Basic (Declaration) 
Public Function RefreshItems( _
   ByVal appHandles() As Integer _
) As Integer
C# 
public int RefreshItems( 
   int[] appHandles
)

Parameters

appHandles
Array with the application handle of the items that need to be refreshed.

Return Value

Always returns S_OK

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

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