'Declaration
<ExtensionAttribute()> Public Overloads Shared Function ReadItemValueByte( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal nodeDescriptor As DANodeDescriptor, _ ByVal readParameters As DAReadParameters _ ) As Byte
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim nodeDescriptor As DANodeDescriptor Dim readParameters As DAReadParameters Dim value As Byte value = IEasyDAClientExtension2.ReadItemValueByte(client, serverDescriptor, nodeDescriptor, readParameters)
[Extension()] public static byte ReadItemValueByte( IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor nodeDescriptor, DAReadParameters readParameters )
[Extension()] public: static byte ReadItemValueByte( 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.