Read OPCItems Synchronously

  • The ReadOPCItems method is used to perform a DeviceRead to OPC Servers directly to return values.
  • This is a synchronous read to the OAS Service.
  • This is a blocking call and should only be called one at a time.
  • Not as efficient as using the data change events with AddTags method for continuous monitoring.
  • Returns the OPC Item values.
  • The Errors array will be set to 0 for success, 1 for bad quality, 2 for timeout response.
  • The Timeout is in milliseconds.
CONTENTS

VB

C#