LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket server

I have different VI's running on different machines. I'm trying to set
it up so that one machine can read data from all of the other machines.
My question is really about Datasocket server. I have documentation
(from NI's LabVIEW class) that says that the Datasocket server can run
on any of the machines. I have not found this to be true. It seems (in
my testing) that the Datasocket server must be running on the publishing
machine. Furthermore, it seems that the publishing VI must be started
before the subscribing VI or else the two VI's never make the
connection. Am I doing something wrong?

thanks,
stephen
0 Kudos
Message 1 of 3
(3,051 Views)
Stephen,

Did you played with predefined items while configuring DS Server Manager? It seems that you need to predefine items, Permission groups for hosts URL's and play with appropriate properties of items and connections. Hard to say what exactly happens, but it should work.
Dynamically creation of items should be described (allowed) exactly in DS server Manager properties.

Another way is to run DS server on each host.

May be this will help a little.
Sergey
0 Kudos
Message 2 of 3
(3,051 Views)
Stehpen,

I've been able to use DataSocket to do this. There are three settings you'll need to look at. These are "Creators", "Default Writers", and "Default Readers".

Creators are the ones that can actually create a new data item on the server, writers can write to items once they have been created and readers can read items.

The default setting is that everything is set to localhost. If you change it to everhost things will work but that will leave the server wide open.

This is probably why you can see things working when you run the server on the publishing machine and not otherwise.

I would go into the DataSocket Server Mangager and look at the settings mentioned above and give the appropriate permissions to the right machines.

Regards,
Kamran
An
0 Kudos
Message 3 of 3
(3,051 Views)