Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Bridge between the DataSocket Server and OPC servers?

I am trying to use live OPC server data over the internet in a web page.
While technicaly this should be posible using distributed DCOM over the
internet it has proved impossible for me to acomplish. I can easily serve
data over the internet to my web page with the datasocket server and the
datasocket. Unfortunately all my data comes from multiple OPC servers. There
are several apps available that will bridge data between multiple OPC
servers but I can find no way to syncronize OPC to DSTP with out writing my
own custom app with several control arrays and relaying data back and forth
during update events. I'm sure that this method is inefficient and pron to
failure. Am I missing something or is there a simpler wa
y to connect OPC to
the internet?

If the datasocket is the best way, is there anyway to deal with fire wall
issues by streaming over port 80 with http instead of requesting static or
dynamicaly created pages of data?

Mark
0 Kudos
Message 1 of 3
(3,184 Views)
Mark,
I'm not sure if I am getting your situation correct, but I sounds like you might be using a different API to read from the OPC server, then trying to use datasocket to send to your web page. Actually, it is possible to read directly from your OPC server with datasocket, saving you the middle step, and possibly solving your problem.
0 Kudos
Message 2 of 3
(3,184 Views)
Yes, I know I can read directly from an OPC server with a datasocket. But I
am under the impression that an embeded UI control or a datasocket in a web
page will not connect to an OPC server directly over the internet. You have
to use the DSTP protocol to talk TCP/IP over the internet and then translate
that back to OPC once you get back into your local network. In order to use
OPC over the internet you have to enable DCOM over HTTP witch I have never
succesfully accomplished. If I am just missing something, please point me in
the right direction.


"DMcC" wrote in message
news:5065000000050000008C5C0000-1011517314000@exchange.ni.com...
> Mark,
> I'm not sure if I am getting your situation correct, but I sounds like
> you might be using a differen
t API to read from the OPC server, then
> trying to use datasocket to send to your web page. Actually, it is
> possible to read directly from your OPC server with datasocket, saving
> you the middle step, and possibly solving your problem.
0 Kudos
Message 3 of 3
(3,184 Views)