05-19-2010 04:53 PM
You can try using Network Published Shared Variables:
a) In PC-A install kepserver and SVE with Variable1 linked to a Kepserver point
b) In PC-B install SVE, with datasocket read vía \\PC-A\Variable1
I think this would help you
05-19-2010 05:06 PM
05-20-2010 12:09 AM
Hey Kevin,
Sorry about all you r problems, windows DCOM can be more than frustating at times. Based on your last couple of posts I have been researching security on the Kepware OPC more closely. I would like to go through the following two kepware knowledge bases as both will shed some light into what is going on:
KEPServerEX: Non-Administrative Users Unable to Make a Remote OPC Connections to the Server
and
KEPServerEX: Unable to Connect with Remote OPC Client
Please let us if this solves your problem. Good Luck!!
05-21-2010 01:17 PM
Solved!
I'm using a workgroup to accomplish this setup. As I explain this, I will have three computers with three user names; OPCServer, OPC1, OPC2.
1. Each computer should have all of the users on them. They all need to be password protected and each computer needs to have a user with the appropriate password. Each computer needs to belong to the same workgroup.
Thanks to everyone for the help.
08-10-2011 02:21 AM
I were fighting with same problem. I used LV as OPC client and Kepserver as a OPC server. I was able to connet with Matrikon OPC client but not with LV OPC client. I solved this by right clicking Kepserver icon ->OPC UA configuration -> Server endpoints and remove enable selection.
This is a new parameter in Kepserver5.X version. I don't know any details about it but it works in my case.
BR, Jim
03-16-2016 08:13 AM
Hi.
I'm encountering the same kind of problem today with LV2015.
I'd like to apply the same solution than you, but there are some poitns that I don't get.
For 3., the link isn't valid anymore. Do you have another one that would work?
Step 3.c. Should be done in dcom in the same pop up than a. and b. ?
Step 4., what does this refer to? Is it within LabVIEW? In Windows services ?
Thank you!
03-17-2016 02:28 PM
Hi Jonzarwal,
Our community guidelines recommend not posting to a thread this old and instead creating a new thread for visibility.
That said, here is a link to a different DCOM configuration document that you may find helpful: http://www-ad.fnal.gov/controls/opc/Using_OPC_via_DCOM_with_XP_SP2_v1.10.pdf
I think the LabVIEW services window kevin.brown is referring to is configuration within the OPC tool, not LabVIEW itself or Windows services.
02-13-2018 09:03 AM
Hello,
I'm working on a application with an OPC server. I'm using Kepserver to make communicaction between PLC(Omron) and the server. This communication works fine. I have to configure DCOM.
Now, I want to use Labview like a client for OPC server. I want to configure remote access from Labview.
Later, inside my project I've created a New I/O Server and I search the path from Kepware OPC server.
On my new project, I created some variables and I drag it to my VI.
When I run my VI, I can see that a green triangle near my variable, but it doesn't update my variables on Kepware.
What it doesn´t well?
Thanks for all.
Can anybody help me.
02-14-2018 01:45 PM
Hi GPS86,
I have a few questions we can use to troubleshoot:
1. When you set up the I/O server, did you select tags by browsing to them on the OPC Server?
2. After you set up the I/O server, did you deploy the library to your host computer?
3. Are you reading or writing variables with your OPC client?
3. Could you please post the block diagram for your code?
It looks like the front panel controls are updating with values, so being able to see the block diagram will allow us to see how you're writing to the server. It's also worth mentioning that this thread is very old, and you may get more responses from users if you post a new thread with your question.
02-15-2018 04:11 AM
First, I browsed the path for the server where is intalled Kepserver.
Second, I selected tags on the library, and later deploy this tags.
when I drop this tags on my VI and I run continiously, I can't read or write my variables.