Problem sending HEX numbers.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
wayne_millard
Posts: 94
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Problem sending HEX numbers.

Post 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 378 times
Thanks,
Wayne M

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: Problem sending HEX numbers.

Post 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 483 times

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Problem sending HEX numbers.

Post 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 444 times
Thanks
Wayne M

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: Problem sending HEX numbers.

Post 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 484 times

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Problem sending HEX numbers.

Post by wayne_millard »

Hi BenJ,

Thanks for the help you are a star.

Wayne :D

Post Reply