Page 1 of 1

Problem sending HEX numbers.

Posted: Wed Mar 17, 2021 8:48 am
by wayne_millard
Hi all,

Can someone shed some light on how to send a number of Hex numbers with a space between, using network comms. been trying for some time and all i get is a load of single characters sent. I have attached what i have done.
Flowcode1.fcsx
(24.31 KiB) Downloaded 379 times
Thanks,
Wayne M

Re: Problem sending HEX numbers.

Posted: Wed Mar 17, 2021 9:40 am
by BenR
Hi Wayne,

This seems to be behaving a bit better now. Note I have changed the startup loops a bit simply to allow the sim to run here without actually connecting.
Flowcode1.fcsx
(21.12 KiB) Downloaded 484 times

Re: Problem sending HEX numbers.

Posted: Wed Mar 17, 2021 12:36 pm
by wayne_millard
Hi Ben,

Thanks for the help i still have problem with what you have done please see attached.
Problem.docx
(3.67 MiB) Downloaded 445 times
Thanks
Wayne M

Re: Problem sending HEX numbers.

Posted: Wed Mar 17, 2021 2:10 pm
by BenR
Hi Wayne,

Aha I see, The data is just being sent as bytes but displayed as hex. Bear with and I'll change the example.

Edit. Here you go...
Flowcode1.fcsx
(15.84 KiB) Downloaded 485 times

Re: Problem sending HEX numbers.

Posted: Wed Mar 17, 2021 9:41 pm
by wayne_millard
Hi BenJ,

Thanks for the help you are a star.

Wayne :D