이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

DataSocket Connections for OPC Items

Updated Nov 16, 2023

Reported In

Software

  • 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?

Solution

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 Datasocket.vi
Tariff Impact Update Learn more

Was this information helpful?

Yes

No