PDA

View Full Version : Heserin default timeout period



ero
- 17th March 2011, 13:08
Is there any default timeout period for Heserin command if I do not give any timeout figure and Label.?

One friend told me that "if you donot use the timeout in the command the program never leave that line until receive the right expected data". Is it true ? because I was thinking that the default value is 65535 ms if I do not use any timeout figure there.

Thanks in advance for your kind replies.

Ero

HenrikOlsson
- 17th March 2011, 13:59
Hi,
No, not as far as I know.
If you don't specify a timeout it will wait untill it has received the correct number of bytes or, if using the STR modifier, it sees the termination byte. If no data is comming in it will sit there waiting...forever...

/Henrik.