11-20-2007 03:31 PM
Hi,
I converted the VI.
Unfortunately something doesnt seem to be right with the first voltage and current.
For example the the first values of the first row: HEX EF00 = Dec 61184 divided by HEX 0800 = 2048 resulting in 61184/2048 = 29,875 but the VI shows 21,72.
So I tried the division with the double values and the right result was given. I also found the mistake: In the VI HEX 0B00 gives Dec 2816. Can you imagine why ?
Karl-Heinz
11-20-2007 04:32 PM
Hi, I think I found a way to realize the range-differences.
I will upload my VI tomorrow.
11-20-2007 05:14 PM
suppi wrote:
For example the the first values of the first row: HEX EF00 = Dec 61184 divided by HEX 0800 = 2048 resulting in 61184/2048 = 29,875 but the VI shows 21,72.
So I tried the division with the double values and the right result was given. I also found the mistake: In the VI HEX 0B00 gives Dec 2816. Can you imagine why ?
You have a typo: One is x0800 (=2048) the other is x0B00 (=2816). 😄
What do you need to do with the "range(u8)"?? Multiply all values?