[Gambas-user] Hex string to float

nando nando_f at ...951...
Sat Dec 13 18:26:06 CET 2008


A few more questions:
How do you get these values (reading a stream, file, rs232, ?)
How do you save these when you read them?
Are you reading/capturing 4 bytes or 8 Hex digits?
-Fernando


---------- Original Message -----------
From: Ron <ron at ...1740...>
To: nando_f at ...951..., mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Sent: Sat, 13 Dec 2008 13:28:33 +0100
Subject: Re: [Gambas-user] Hex string to float

> nando schreef:
> > Two Questions:
> > 1) Is the HEX you show below the HEX representation of 4B of a IEEE 4B Float?
> > 2) How do you get these values? (read in from file? something else?)
> > -Fernando
> >
> >
> 
> Yes those where IEEE floats, I needed the routine to decode values read 
> from zigbee devices called plugwise, they measure power usage very precise
> see here http://www.domoticaforum.eu/topic.asp?TOPIC_ID=1771
> 
> Regards,
> Ron_2nd
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list