Solved! Received data always starts with one and I expect 8 bytes of data. So the following code now works!
Thanks again.
Search found 3 matches
- Fri Mar 13, 2015 6:33 pm
- Forum: Flowcode V6
- Topic: Reading string from RS232
- Replies: 3
- Views: 3114
- Fri Mar 13, 2015 4:32 pm
- Forum: Flowcode V6
- Topic: Reading string from RS232
- Replies: 3
- Views: 3114
Re: Reading string from RS232
LeighM, thank you for the response. I have removed the 5 second delay and increased the timeout and got the same result. However, I found a post ( http://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=15231&p=62253&hilit=rs232+string#p62250 )on these forums that may solve my problem. My 3rd byte is...
- Fri Mar 13, 2015 4:23 am
- Forum: Flowcode V6
- Topic: Reading string from RS232
- Replies: 3
- Views: 3114
Reading string from RS232
I have spent hours trying to solve an issue that is probably very simple. I looked all over this forum and cannot find anyone experiencing the same issue I'm having. 1. I have a very simple setup to test RS232 read. I send 8 bytes to the serial port and find only the first two bytes are read and sto...