07-11-2006 11:17 AM
07-11-2006 01:43 PM
From the way you describe it, it's not exactly clear what you mean. If by "debug mode" you mean highlight execution, then this is almost certainly a timing issue. Apparently 20 ms is simply not enough time for whatever is on the other side of your connection to answer. When you use highlight execution, the timeout you wire into the TCP Open Connection is apparently ignored.
The solution to this would be either to increase the timeout, make sure the other side can react fast enough or use another method. For example, you can have the other side broadcast its IP address through UDP, which will allow you to read it using the UDP VIs.
If this didn't help you, you should post your code (including the code of the server).
07-12-2006 01:08 AM
07-12-2006 03:05 AM
07-12-2006 03:26 AM
I can't use UDP because i need to now the IP.
The objective of my sub VI is to know which address is connected on my network. It's for that i ask each address. I have tried with and empty string to IP but it give me the IP address of me computer.
thanks a lot for reply
07-12-2006 06:35 AM
07-12-2006 08:43 AM
07-12-2006 09:08 AM
As I already said, I think the problem might be with the server (for example, if the server gets "stuck" for some reason if you're opening connections too many times to quickly). Without seeing the code for it, though, I have no way of knowing what the problem is.
In any case, you already know my suggestion (use UDP multicast to publish the IP address).
07-20-2006 07:53 AM
07-20-2006 09:10 AM