12-11-2006 08:09 AM
12-12-2006 02:21 AM
12-12-2006 08:37 AM
Thanks JaimeC.
I 've already solved the problem. I don't know how, but I did it. I think the problem was the address IP of the computer (bad configutation).
One question that I don't undestand about the timeout.
If I increase the timeout, the DS writer (in my case) waits more time a new data. But if I need update my data instantly (I have a lot of data), with a low value I will know if the connection breaks and I know the data is not updating. That is, how do I know the piece of information has updated or has lost? If each milisecond I have one piece of information, I need the timeout with a value =1. It's correct? If my value was 2, I would lost information?
vicens
WinXP / LV7.1
12-12-2006 11:10 AM
Hi,
timeout is the time the function waits if no data arrives till it gives an error. It has no relationship with the velocity (speed) of data arriving.
That means, for a timeout of 10 seconds the function waits a maximum of 10 seconds for some data to arrive, if there is not data arrived before that the function returns an error.
If you have 0.1 or a very small time, you can be in a trouble because the function is not waiting for a long... and you can get this kind of error.
It has no sense to make so small timeout because it has no relationship with speed or velocity, only with error control.
If you have problems with velocity:
1. Read more often (that is in relation with timing on your vi)
2. Decrease writing velocity on the datasocket buffer.
3. Increase the buffer size.
Hope that helps,
12-13-2006 07:53 AM