XMLDA.NET Reference
Read Method
See Also  Send Feedback
xmldanet Namespace > DataBindSubscription Class : Read Method

maxAge
Max Age in ms to instruct the server to read from the device if the cache value has an older timestamp. For OPC DA V2 servers a read-from-device is executed if maxAge is smaller than the defined refresh update rate.

Glossary Item Box

Read the current value from the server using a synchronous read.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As DataBindSubscription
Dim maxAge As Integer
Dim value As ItemValue
 
value = instance.Read(maxAge)
C# 
public ItemValue Read( 
   int maxAge
)

Parameters

maxAge
Max Age in ms to instruct the server to read from the device if the cache value has an older timestamp. For OPC DA V2 servers a read-from-device is executed if maxAge is smaller than the defined refresh update rate.

Return Value

Current value, quality, timestamp from the DataBind buffer

Requirements

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

>

See Also

© 2002-2012 Advosol Inc. All Rights Reserved.