This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

DataSocket Connections for OPC Items

Updated Nov 16, 2023

Reported In


  • LabVIEW Base

Issue Details

I have multiple OPC items that I would like to read with DataSocket. Are new DataSocket connections required for each OPC item?


Yes, a new DataSocket connection is required for each individual OPC Item. You may look at the screenshot below for an example.

Additional Information

  • DataSocket only support one OPC item per connection.
  • Connecting in ReadAutoUpdate mode may increase performance when reading multiple items on the same OPC server, as the server will send all notifications of new data in one packet.
  • OPC data can also be read using Shared Variables.
  • For communication with large number of connections, the LabVIEW Datalogging & Supervisory Control (DSC) Module or NI OPC Servers may be a better fit.
  • You can also find shipping examples as a good starting point. Go to LabVIEW » Help » Find examples... and search for Monitor OPC Items with