07-14-2009 10:05 AM
Can you give us a typical string and the value you expect from it?
You possibly also need to worry about byte order (big vs little endian).
07-14-2009 10:22 AM
Hi,
This is the data read from the buffer but displayed as Hex '0103 0427 D241 C1A1 7E'. I'm currently using:
1) a 'String to Byte Array' then
2) push it through a 'To Double Precision Float' then
3) go through two 'Array Subset' to pull the data that I wanted (which is really 27D2 and 41C1) then
4) convert each array to cluster and extract each element, after that
5) need to calculate/convert the data that I wanted to a float.
41C1 is the high word and 27D2 is the low word.
Suppose to use the high and low word to get the SIGN, EXPONENT and MANTISSA and use those to calculate the float which in this case should be 24.14444351.
I know this is really a very long process but I have not figured out the easy way yet.
07-14-2009 10:51 AM - edited 07-14-2009 10:52 AM
Try this:
07-14-2009 11:45 AM