LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket error, could not open, server or user limit reached.

HI All,

 

Having a problem with Datasocket.  I am using it to write from the server - non buffered - as a means to get access to some string parsing if required in an exe.  The problem i get is the server runs fine for hours, however every now and then I recieve an error which states system or user limit exceeded when trying to open the datasocket url (In the server).  Here is my setup.

 

[SERVER]

Launch Datasocket server if "localhost"

Minimise Datasocket Server

Open DS Connections A + B

do my testing - broadcasting data over A + B (write DS Only)

Close DS Connectns A + B

 

[CLIENT]  // not always used, only used for Debug

Open DS Connection (A or B or Both)

Read DS Info as long as you want

Close DS Connection on Exit

 

The server is in a loop for oven tests which is repeated every 15 mins or so over a 12 hour period.  Hence i am tending to think there is either a DS buffering type error, or more likely a referencing/handle type error similar to not closing down VISA reference's  However i cant see where i leave any references open....  All DS operations are in one vi on the server as above, which is where the error is originating from.  I do not close the data socket server  as i see it is a vi so should just remain in memory and calling it again should not open another one (Or so i assume, unless it is reentrant or something wierd)

 

Any Ideas?

 

Thanks in advance

Craig

LabVIEW 2012
0 Kudos
Message 1 of 3
(2,649 Views)

Hi Craig,

 

Are you able to give us an error code?  Or even better would be a screenshot of the error message and this should help us to narrow down the issue a bit easier.

 

Also if you have a bit of example code as to how you are using this that would be useful.

 

Regards,

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 2 of 3
(2,628 Views)

Hi James,

 

Has not happened for a while, but if  / when it does i will try to get a screenshot alongwith some sample code.

 

Thanks

Craig

LabVIEW 2012
0 Kudos
Message 3 of 3
(2,607 Views)