10:05, EET
December 16, 2016
Hi,
I’m trying to test the feasibility of using Sentrol SDK to implement an OPC Provider running as an NT Service.
Q1): Can example opc provider built using Sentrol be accessed remotely by an OPC Client?
I used the evaluation version of Sentrol to compile Project1.exe in “Tutorial_Lesson8_OPCProvider” and tested it on a VirtualBox Guest VM running on my laptop.
Using a OPC client launched from the Guest VM, I’m able to connect to “My.OPC” (Project1.exe), but if I try to connect a OPC client launched from my laptop (the VirtualBox Host) to My.OPC (remote connection), I get a “Server execution failed” error. I’ve disabled firewall, setup DCOM, and can connect the same OPC client to Prosys OPC Simulation Server which I installed on the same Guest VM.
Q2): Why would connecting a remote OPC client launch another process of the OPC Provider.
Then, it occurred to me that I might need to run Project1.exe first before connecting the remote client, however, that also didn’t work also. From Windows Task Manager, I can see 2 instances of Project1.exe running, so it appears that one of them has hung due to the evaluation prompt? Is it correct that 2 processes are generated or have I done anything wrongly?
How can I evaluate a Sentrol built OPC Provider? Also, is it correct that 2 Project1.exe runtime is created for a local and a remote connection?
How would it work if the OPC Provider is implemented as an NT Service. Will it also create 2 processes?
15:07, EET
April 17, 2013
Hello,
Q1: You can do this but the DCOM settings are always very hard to configure. Because of this tunneler solutions are frequently used in such cases. If you are sure that DCOM is open between the computers then make also sure that you use exactly same user to run both OPC Server and Client.
Q2: This should not work like this for every connection. However, when you create the first connection to the OPC Server you can see this kind of behavior in process list as the OPC Server instance form is created.
15:44, EET
December 16, 2016
Most Users Ever Online: 1919
Currently Online:
163 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 749
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
scvchad954, misty3446453365, KelsonzFu, Kelsonz, lienbelisario, erick34s63346, Kaitlyntvsl, lonaerskine7, KTP21ideft, GeorgecotagModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1