Page 1 of 1

Calculation for Hex to Number

Posted: Thu Mar 23, 2023 6:01 pm
by flowcode-developer
Hi,
A request I would like to make is a HEXTONUMBER() in the calculation f$ options.

Re: Calculation for Hex to Number

Posted: Fri Mar 24, 2023 11:46 am
by BenR
Hello,

Thats a good suggestion thanks.

This video may help in the mean time to allow you to do the conversion yourself.
https://www.youtube.com/watch?v=gavpYt-SqcY

Re: Calculation for Hex to Number

Posted: Sat Mar 25, 2023 10:28 am
by RGV250
Hi,
I do not like looking at youtube videos as I find them difficult to follow, normally the text or detail on the screen. I found this somewhere on the website which converts a hex string from a serial port to an integer. I have stripped all the other code out so it may not compile but it should give you enough to use it.
RPI_HexStringToInt.fcfx
(22.58 KiB) Downloaded 48 times
Regards,
Bob