LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Datasocket DSConst_ReadWriteAutoUpdate function in CVI 7.0

I am using DSConst_ReadWriteAutoUpdate function.
If I call this function from two application for same datasocket address I get this error "Error: Can't connect to data item, another write connection exists.". Is that mean I cannot have two write handles for same datasocket address from two different application?
If I call above function from same application multiple times I don't get this error.
Any suggestion?
Thanks.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 2
(3,110 Views)
Hi,

A datasocket connection will allow you to have 1 single writer. Usually the way arround this is to create another DS connection to write the data.

This derives from the client/server architecture of DataSocket, but it is common to have multiple connections in one application; specially in the server application.

Let me know if you have any questions.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(3,110 Views)