Hi all,
I am rather a beginner with the CRbasic so, probably this is a well know stuff...
I have some trouble to understand (normal you will say) what is happening. Indeed, my logger (CR1000) is connected to a captor that is sending via RS232 a string composed by 4 characters. I can see it on the terminal mode under hex display. I got "ff A6 01 20". This should be stored in a string or in the buffer but, when I check this string only two characters are there 0x01 and 0x20. The same in the buffer, only the two last characters are stored... My question is why? How can I read the two firs characters?
Thank you in advance for any help.
Bart
Your SerialOpen instruction needs to choose a format that supports binary. Note that choosing a binary format for a port will disable Pakbus communication on that port.
Hello,
Thanks for your sugestion
. Can I ask you for more precisions? An example?