12-08-2021 04:42 AM
I have a datasocket based OPC client with datasocket open URL (the same as in the LabVIEW example). If I run the .vi on PC "A" and the client Matrikon OPC on PC "A", i find the variables and i can read them.
But when i tried to do the same with Matrikon OPC on a PC"B", i see the variables but when i tried to read them, the vi tells me the error 42.
I have no active firewalls and i can read the variables with Matrikon on the PC"B".
Does anyone have any tips on how to find and fix the problem?
12-13-2021 02:17 AM
Hey,
There is a good article related to the topic, have you checked it?
Also, the forum discussion as well.
There is a chance that you might need manually register a few DLLs , but at first I'll recommend checking the links I have shared.
Hope this will help!
12-13-2021 08:40 AM
Hi,
Thanks for the reply but i've already checked the article. It's possibly the DCOM connection but i don't know how to check this...
I make my application (.exe) from this VI :
What do you mean by "You might need manually register a few dlls"?
Thanks
12-23-2021 08:36 AM
Hey,
For the DCOM, the best explanation, in my opinion, is this one. Also for NI you'll need to configure it, check this article.