LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket Error 1142; Multiple users not allowed.

I am using Datasocket in LabVIEW 8.2 to transfer data between several machines and multiple VI's.  I have been able to get all the VI's to run using "localhost" on one machine, but when I try to run the VI's from two machines I get Networking Error 1142, Multiple Users Not Allowed.  I have set the read, write and creator addresses in the Datasocket Server Manager to "anyhost", but I still get the error.  I have also tried all the settings in LabVIEW and Datasocket Server Manager that I can find.

 

I am a new user of Datasocket.  Any assistance would be greatly appreciated.

 

Ray

0 Kudos
Message 1 of 5
(4,411 Views)
Hi Ray,

Please take a look at this KnowledgeBase article which describes how to handle Multiple DataSocket Writers. 

If this does not resolve the issue, please do not hesitate to reply to this message. 

Best of luck on your application, and have a great day!!
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 2 of 5
(4,405 Views)
Hi Ching P.,
 
Thanks for the information.  I do have a couple more questions relating to the "Predefined Data Items".  First, I did go into the Datasocket Server Manager and check the "Allow Multiple Writers" boxes on the three items that were there by default; are these needed or required?  Second, I am passing/writing a cluster to the Datasocket; do I need to add each individual data item in the cluster to the "Predefined Data Items" or is there a way to add the cluster?
 
Thanks again for the help,
Ray
0 Kudos
Message 3 of 5
(4,395 Views)

Hi Ray,

What you did is correct. You can create datasocket items programmatically which exist only when there is a connection, and you can also have predefined items. To configure the items for Multiple Writers you need Predefined Items.

Generally you can pass clusters through a datasocket connection, but if the DataSocket Server Manager is the only place where you can specify multiple writers, then you will probably have to specify each item individually. You will have to test this out and see how it works. Here is a few more KBs.

Configuring a DataSocket Server
Using LabVIEW Clusters with DataSocket

Is there any reason why you are not using Shared Variables? It is the new method of exchanging data among several machines.

Best regards,

Kalin T.
0 Kudos
Message 4 of 5
(4,379 Views)

Hi there,

 

I am still having this problem, and I haven't yet been able to solve the issue.

 

I have posted the problem in another thread. Can anyone please take a look at it to see if I am missing something?

 

Thanks ahead!

0 Kudos
Message 5 of 5
(3,716 Views)