LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket scan for publisher handle

Hallo,

i'm just getting started with datasocket. I have some publisher which
connect to the datasocket with individual handles, lets say one is
publisher_1, the other one is publisher_ 2 up to publisher_n. Now i want to
program a subscriber software that allows the user to connect to one of
these publishers. Is it possible to scan the datasocket for connected
publishers (for the handles) so i can set up a list box with the online
publishers in my subscriber programm?


0 Kudos
Message 1 of 2
(2,783 Views)
Hello Robert,

I started last weekend with datasocket, so don't be supprised if you get much better replies.

One of the functions I found is DS_SelectURL
This function gives a pop-up panel that enables you to browse in search of a server (computer) with the datasocket service (also called dss or datasocketserver). If you have a lot of computers in the network, this it not nice. However if you publish all the data on one computer, this computer itself is easily found.
After you have selected the computer/server, it shows the datasocket and OPC and other services. For the datasocket, it also shows the published datasocket items !

Succes, Jos
0 Kudos
Message 2 of 2
(2,777 Views)