Where can I find information about RS232 timeout. What is the meaning, what are realistic/advised numbers?
Kind regards
Jan Lichtenbelt
RS232 timeout
Moderator: Benj
- Jan Lichtenbelt
- Posts: 797
- Joined: Tue Feb 17, 2009 8:35 pm
- Location: Haren GN, the Netherlands
- Has thanked: 128 times
- Been thanked: 264 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: RS232 timeout
Hi Jan,
There are two settings for the timeout available from the RS232 component properties.
Legacy - Timeout is based on a number of iterations, delay is clock speed dependent.
Millisecond - Timeout is based in milliseconds, delay is clock speed independent.
If a byte is received during the timeout period then the macro will return immediately with the data.
If a timeout period of 255 is used then the macro will wait forever for valid data.
This info applies to both hardware and software UARTs.
There are two settings for the timeout available from the RS232 component properties.
Legacy - Timeout is based on a number of iterations, delay is clock speed dependent.
Millisecond - Timeout is based in milliseconds, delay is clock speed independent.
If a byte is received during the timeout period then the macro will return immediately with the data.
If a timeout period of 255 is used then the macro will wait forever for valid data.
This info applies to both hardware and software UARTs.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel