Connecting to the LabVIEW OPC UA Server VIs Using OPC Quick Client

Updated Nov 10, 2022

Environment

Software

  • LabVIEW Datalogging and Supervisory Control Module
  • OPC Servers

I am using the OPC UA VIs to create an OPC UA Server. I can connect to the server using the OPC UA Client VIs; however, I am unable to connect using NI OPC Servers and OPC Quick Client. How can I connect to my LabVIEW OPC UA Server with OPC Quick Client?

OPC Quick Client only connects to OPC DA servers. In order to connect to the OPC UA Servers with OPC Quick Client, you must use another OPC Server to be a bridge between the OPC UA server and OPC Quick Client. The instructions below are for NI OPC Servers.
  1. Open NI OPC Servers Configuration.
  2. Select File»New. In the dialog box that appears, choose Yes, Update.
  3. Select Click to add a channel and click Next.
  4. Select OPC UA Client as the Device Driver.
  5. Click Next twice.
  6. Provide your endpoint URL in the format opc.tcp://<IP Address>:<port> where <IP Address> is the IP address of the computer where the OPC UA server is hosted and <Port> is the port of the OPC UA server. When using the OPC UA server VIs, the port can be found as the TCP Port input of Connect VI. By default, it is 49580.
  7. Set the Security Policy to the necessary settings.
  8. Click Next twice.
  9. Provide username and password information as necessary. Push Next then Finish.
  10. Select Click to add a device and push Next seven times.
  11. On the Import screen, choose Select import items.
  12. Expand your OPC UA server endpoint, click the nodes you want to monitor, and select Add Items.
  13. Click OK, then Next, and Finish to close the wizard.
  14. Select Tools»Launch OPC Quick Client.
  15. Navigate to your nodes within OPC Quick Client.