OPC Studio User's Guide and Reference
DAItemPointReadParameters Constructor(DAReadParameters)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Connectivity Namespace > DAItemPointReadParameters Class > DAItemPointReadParameters Constructor : DAItemPointReadParameters Constructor(DAReadParameters)
The read parameters to use.

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 this parameter, 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.

The value of this parameter cannot be null (Nothing in Visual Basic).

Creates a new instance of the object, from OpcLabs.EasyOpc.DataAccess.DAReadParameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal readParameters As DAReadParameters _
)
'Usage
 
Dim readParameters As DAReadParameters
 
Dim instance As New DAItemPointReadParameters(readParameters)
public DAItemPointReadParameters( 
   DAReadParameters readParameters
)
public:
DAItemPointReadParameters( 
   DAReadParameters^ readParameters
)

Parameters

readParameters
The read parameters to use.

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 this parameter, 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.

The value of this parameter cannot be null (Nothing in Visual Basic).

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