OPC Studio User's Guide and Reference
ReadParameters Property (DAMappedNode)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMappedNode Class : ReadParameters Property
The read parameters (such as data source or value age).
Syntax
'Declaration
 
<CanBeNullAttribute()>
<MetaMemberAttribute("ReadParameters")>
Public Property ReadParameters As DAReadParameters
'Usage
 
Dim instance As DAMappedNode
Dim value As DAReadParameters
 
instance.ReadParameters = value
 
value = instance.ReadParameters
[CanBeNull()]
[MetaMember("ReadParameters")]
public DAReadParameters ReadParameters {get; set;}
[CanBeNull()]
[MetaMember("ReadParameters")]
public:
property DAReadParameters^ ReadParameters {
   DAReadParameters^ get();
   void set (    DAReadParameters^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Remarks

Because the OpcLabs.EasyOpc.DataAccess.DAReadParameters has an implicit conversion from System.Int32 and OpcLabs.EasyOpc.DataAccess.DADataSource, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use an integer (representing the value age in milliseconds), or an element of the OpcLabs.EasyOpc.DataAccess.DADataSource enumeration in place of OpcLabs.EasyOpc.DataAccess.DAReadParameters value when setting this property, and the corresponding OPC DA read parameters object will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.DataAccess.DAReadParameters.DAReadParameters Constructor(Int32) or OpcLabs.EasyOpc.DataAccess.DAReadParameters.DAReadParameters Constructor(DADataSource) constructor instead.

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