'Declaration
<ExtensionAttribute()> Public Overloads Shared Function ReadItemValueInt32( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal nodeDescriptor As DANodeDescriptor, _ ByVal readParameters As DAReadParameters _ ) As Integer
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim nodeDescriptor As DANodeDescriptor Dim readParameters As DAReadParameters Dim value As Integer value = IEasyDAClientExtension2.ReadItemValueInt32(client, serverDescriptor, nodeDescriptor, readParameters)
[Extension()] public static int ReadItemValueInt32( IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor nodeDescriptor, DAReadParameters readParameters )
[Extension()] public: static int ReadItemValueInt32( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DANodeDescriptor^ nodeDescriptor, DAReadParameters^ readParameters )
Parameters
- client
- The client object that will perform the operation.
- serverDescriptor
- The OPC server involved in the operation.
- nodeDescriptor
- The descriptor of the OPC node involved in the operation.
- readParameters
- The read parameters (such as data source or value age).
Return Value
Returns a value of the OPC item, converted to a type indicated by the method name.