03-11-2008 01:22 AM
03-11-2008 02:28 AM
S.G1. wrote:
I may be getting a bit confused with the names 'Hex string, hex number, decimal string...' , i have a problem that goes like this...
If this is really an integer, it is definitely NOT close to zero! Where did you get that idea? Is this flattened data? What should be the representation?
S.G1. wrote:
Now im trying to find the decimal of the above string which according to me would be near to decimal 0.
03-17-2008 01:27 AM
Hi , I would like to confirm that it is a binary string of length 12 bit, and this is how it looks in hex format display.
I am attaching the vi so that you can get a clear picture
thankx
subhash
03-17-2008 03:58 AM
03-17-2008 07:05 AM
03-17-2008 07:25 AM
03-17-2008 09:42 AM
You really need to explain to us what you mean by "close to zero" and what you mean by "decimal". Are you possibly talking about a fixed point implementation?
S.G1. wrote:
The details that i know are that the ADC supplies the data which is shown in the above vi and it is 12 bit ADC, data is sent as two bytes . now i would like to represent it in the decimal format so that the corresponding 0v/gnd data shows a line which is near to zero and same case follows with the 5v data that should represent some decimal value.
03-18-2008 04:55 AM
Hi Gerd , thankx for helping me out , actually the data which the ADC gave is not in standard format, so i wasent able to figure out the type of format and was beating around the bush.
Thankx
Subhash
03-18-2008 04:55 AM
Hi alen , thankx for helping me out , actually the data which the ADC gave is not in standard format, so i wasent able to figure out the type of format and was beating around the bush.
Thankx
Subhash