Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

hexadecimales in programming crbasic for serial comm


kokihualpa Sep 24, 2016 10:49 AM

Hi

I am trying to get communication between a cr1000/cr800 and an equipment that it recieves and sends data hexadecimal.

for example

Poll data request:

FFAA53030001000001

response from the unit:

FFAA540200010001

they are an example, in fact the number could be larger.

 

the first problem that I have is the number of bytes. I thought to use movebytes but I cant get response. 

the second one is to send like hexadecimal using serialIn() and serialout(), but there is resctrict in number of bytes to use?.

and when  recieve the data that one has to be hexadecimal, when I get the response from the unit to the datalogger Can I use the function hex()?

can you give some example of how can I programming this topic? only an example

thank you

Log in or register to post/reply in the forum.