02-01-2017 02:06 AM
@Yamaeda wrote:
Either you do:
1. Read(7) - bad configuration
2. Bytes at port connected to Read without any wait - this shouldn't be used in this case
3. Have a Terminate character that's included in the answer - bad configuration.
@Brainiac91 wrote:
Hi @Yamaeda,
i didn't get your answer clearely, can u please mae it clearer with a vi ??
So far i've seen proof of #1, you've wired "Bytes written" to "number to read", making it Read 7 bytes, or Read(7) as it'd be written in some text language and as Gerd pointed out. You'll need to set read long enough to get all of the answer.
#2 would yield the same problem, but it seems that's not what's happening right now.
#3 this could still be the case as we continue debugging, but if e.g. 'a' is set as termination character and you get the answer "weather" it'd stop at 'a' and give you "we" as answer.
I forgot #4, you're not sending the command correctly. 🙂
/Y