10-18-2007 11:01 AM
10-20-2007 12:51 AM
Hi PolySam,
Please show/attach more of the diagram (the first thing I did was try to drag the error-dialog out of the way! -).
I'm interested in whether the connections being closed are actually two different references, and whether the nested-loop-reference is created outside the loop (not sure it needs to be "saved" in shift-register, though that's a seperate subject.)
Cheers!
10-23-2007 10:59 AM
Hi tbd,
Please find attached a picture of the block diagram, the reason i did not attach the vi is that the "stand-alone" vi that only contains this code (the server) does not produce any error, but when i transfered (in other words "copied") this code in my bigger application, i had that TCP close error.
Thanks again for your help
10-23-2007 03:54 PM
Hi PolySam,
It looks like your WaitOnListener will timeout every 3 sec and pass a null-reference to the Close(?) Try moving the Close inside the "No Error" case of the "WaitOnListener" error.
Cheers!
10-25-2007 10:06 AM
Yes indeed, timeout every 3 sec is very quick, i tried with different times, and if i don't connect from the PDA during that time period, the timeout will produce the error !
i removed it completely, let it wait forever !
thx tbd