04-02-2009 05:20 AM
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
04-03-2009 11:06 AM
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,
04-06-2009 08:19 AM
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