QuickOPC User's Guide and Reference
ValueAge Property (DAReadAttribute)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAReadAttribute Class : ValueAge Property
Determines the age of value you would like to obtain (in milliseconds).
Syntax
'Declaration
 
<UnitAttribute("ms")>
Public Property ValueAge As Integer
'Usage
 
Dim instance As DAReadAttribute
Dim value As Integer
 
instance.ValueAge = value
 
value = instance.ValueAge
[Unit("ms")]
public int ValueAge {get; set;}
[Unit("ms")]
public:
property int ValueAge {
   int get();
   void set (    int value);
}
Remarks

This value is significant only when the DataSource property is set to ByValueAge.

The value must be greater than or equal to zero, or it must be equal to System.Threading.Timeout.Infinite.

When the value is System.Threading.Timeout.Infinite, the value will always be provided from the memory, i.e. without actually accessing the OPC server.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also