LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Kepware 6.8 OPC Server en LabView 2021

Buen dia

 

Tengo comprado el kepware 6.8 en un servidor, por lo cual quiero acceder desde LabView 2021 como cliente para monitorear etiquetas, pero me da error al hacer la conexión sobre "Can't connect to OPC Server. Registry access denied"

 

Se reviso los permisos DCOM del servidor y estan puestos para acceso de "Everyone" y "Anonymous Logon", por lo que puedo ver desde DataSocket las etiquetas, pero al ejecutar el codigo me da el error de lectura.

VillarJo_0-1730749886400.png

 

0 Kudos
Message 1 of 4
(201 Views)

@VillarJo wrote:

Buen dia

 

Tengo comprado el kepware 6.8 en un servidor, por lo cual quiero acceder desde LabView 2021 como cliente para monitorear etiquetas, pero me da error al hacer la conexión sobre "Can't connect to OPC Server. Registry access denied"

 

Se reviso los permisos DCOM del servidor y estan puestos para acceso de "Everyone" y "Anonymous Logon", por lo que puedo ver desde DataSocket las etiquetas, pero al ejecutar el codigo me da el error de lectura.

VillarJo_0-1730749886400.png

 


 Assumed that you working with 32-bit LabVIEW.. First check that on the remote machine (where Kepware OPC Server is running) the Remote Registry service is enabled:

 

Screenshot 2024-11-05 17.13.09.png

 

This is required for LabVIEW (it was described somewhere in kb, but unable to found). Also turn OFF firewalls on both sides (later you can adjust rules and turn on if needed).

0 Kudos
Message 2 of 4
(162 Views)

I thought it might go that way but I have the service active, I changed it to manual active for whatever reason, but it still won't let me access the registry, the firmware is disabled, any other option that you see viable?

0 Kudos
Message 3 of 4
(141 Views)

@VillarJo wrote:

I thought it might go that way but I have the service active, I changed it to manual active for whatever reason, but it still won't let me access the registry, the firmware is disabled, any other option that you see viable?


Unfortunately can't help much with Kepware, because mostly experienced with Siemens OPC. Can you please explain architecture a little bit - where OPC server is running (same PC, remote PC, PLC, etc) and why do you need legacy OPC and not using OPC UA instead, which seems to be available for 6.8? General recommendation - allow everything, turn off firewall, no any authentication, give permissions for everyone, run client (LabVIEW) as admin, etc. Once running you can adjust and setup necessary security. Sometimes OPC "classic" was really "access denied" disaster. Are you able to connect to the local  National Instruments.OPCDemo Server with example "Monitor OPC Items with DataSocket" example?

0 Kudos
Message 4 of 4
(130 Views)