LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like someone to tell me how to use the dstp address parameter(url) in the datasocket connections.What to write in there, destination/source url.


What do i do if i right to a datasocket..Do i have to make a special file on my server, How do i create a datasocket server.?? Do i use the same "address" to read a datasocket?
0 Kudos
Message 1 of 2
(2,698 Views)
The URL is the address of the DataSocket server. The server program is a stand-alone program that handles connections and broadcasts data. You create a server by running the program that comes with LabVIEW. You publish to (write) and subscribe from (read) the server and both would use the same address. Normally the data is not file based but DataSocket does support file reads by specifying file or ftp instead of dstp in the URL. The server can be running on the same computer as a publisher/subscriber or on a different computer. NI is now offering a class called LabVIEW Networked Measurements that covers DataSocket. I strongly recomend it.
0 Kudos
Message 2 of 2
(2,698 Views)