LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

A problem about multiple writer server of DataSocket

I'd like to bulit a item, which can be written by a local computer and many other remote

computers, in the DataSocket server local machine.
I did it like this:
(1) Run the DataSocket Server Manager,and add the data item to the list of "Predefined

Data Items" ,name it "wave"
(2) check the "Allow Multiple Writers" checkbox.
(3) then restart the DataSocket Server for this change to take effect.
After doing this,I use the sample "writer" of"\CVI\samples\datasocket\writer" to verify it.
In the local machin,I run "writer.exe" with the URL "dstp://localhost/wave", there is no

problem. but when I run "writer.exe" in another machine with the URL"dstp://localmachine's

IP/wave", I get a error message ""Error: Can't connect to the item, another writer already

exits".
I do think I have done everything,but I cann't succeed.
Can anyone help me ? Thanks.
0 Kudos
Message 1 of 3
(3,073 Views)
What's more, my Datasocket version is 4.2, and my OS is windows 2000
0 Kudos
Message 2 of 3
(3,062 Views)
Hi,

I think the problem might be occuring because you might have the entry in Write Access that allows only localhost to write. Just make sure that in the Data Item "wave" that you created the Write Access is given to "everyhost". This could as well be changed by changing the setting for the "DefaultWriter".

I hope it helps,

Rajiv
0 Kudos
Message 3 of 3
(3,042 Views)