Hi,
How many bytes RS232Read function can read at any single instance? I have put RS232 read inside the while loop with the condition of 2. for this condition the read function reads and sends more than 100 ASCII character within two loops. How is it possible?
It is actually advantageous only but in the program we cannot utilize this with out knowing the logic.
Regards
Kumaran
RS232 Read Clarification
- 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 Read Clarification
Hello
A loop condition of 2 is equivalent to loop forever as is anything over 0. A loop count of 2 will give you two individual loops which should yield more predictable and expected results. Each RS232 read / Write can handle one byte only.
A loop condition of 2 is equivalent to loop forever as is anything over 0. A loop count of 2 will give you two individual loops which should yield more predictable and expected results. Each RS232 read / Write can handle one byte only.
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