LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with inserting 0 when value of boolean array is 0

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

0 Kudos
Message 11 of 13
(672 Views)

 Hi, I think I found a way to realize the range-differences.

I will upload my VI tomorrow.

0 Kudos
Message 12 of 13
(667 Views)


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?

0 Kudos
Message 13 of 13
(662 Views)