LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA Local discovery Server Registration failing

Hello,

I'm trying to generate an OPC UA server using NI Datalogging and Supervisory Control Module (which includes OPC UA for LabVIEW 2015) and register it with a Local Discovery Server (LDS), and have run into a wall with debugging.

 

Description: 

OPC UA server is successfully created, but errors when running the "RegisterServer.vi"

MPVA_0-1743529673306.png

When this step is removed, the server starts and runs as expected. 

 

Software:

Windows 10 (64 bit)

LabVIEW 2015 SP1 (32 bit)

Local Discovery Server (Unknown) Provided directly by OPC Foundation (found here)

UAExpert (64 bit) (used for debugging, but not integral to reproducing issue)

 

Debugging steps taken: 

  • I have followed the steps described below for making the LDS and NI trust each other
    https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L9uSAE&l=en-US
  • I've used UAExpert to check that the LDS is running (If given a destination where no LDS is running, it specifies a communication error)
  • The LDS log files do not change when attempting to connect with LabVIEW, but they do when UAExpert queries it.
  • Wireshark shows no communication on the loopback connector when attempting to register. (failed or otherwise)
  • All firewall is disabled
  • Netstat shows the LDS as listening on port 4840 (expected) 
  • Restarted several times

Server VI attached and screen shot shown below

MPVA_2-1743531074946.png

ualds.ini was taken directly from OPC Foundation example config

 

Let me know if any additional information would make troubleshooting easier

Download All
0 Kudos
Message 1 of 1
(61 Views)