08-28-2014 02:42 AM
Hi GerdW
Please see the attched 2011 vi. The example numbers are on the frnot page.
Thanks
Hong
08-28-2014 02:49 AM - edited 08-28-2014 02:55 AM
Hi Hong,
what's the rule to convert your 4-byte numbers to those decimal (?) numbers?
How to go from B100.0000 to "1"? And from C31F.0000 to 57d/39h? How to go from 56FE.3A00 to 26607d/67EFh?
Do you have a manual describing that conversion?
Using the logic in your VI you would need an input like F7F0.F6FE to get 14607d. How does that fit with D0C7.2000 in your example?
08-28-2014 03:15 AM
Hi GerdW
The hex number is return value from a 485 device. The dicimal number is diplay on ther software that coming wiht the device.
I do not have manul for the conversion.
Thanks
Hong
08-28-2014 03:56 AM
08-28-2014 07:08 AM
Hong.Zhang@agresearch.co.nz wrote:
The hex number is return value from a 485 device.
What is this device? Do you have a link to a manual that should describe what the data means? Because none of your conversions make any sense.