LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Exceed 32,000 in Numric Indicator

Solved!
Go to solution

I have an error when i run this program, It works well but when the number is more than 32,000 it turns into negative number i don't know why
can anyone help?

0 Kudos
Message 1 of 3
(2,153 Views)
Solution
Accepted by topic author El-Awny

Bool to 01 returns i16 value. The maximum value is 32768.

For correct values convert i16 into ext

 

ext.png

Message 2 of 3
(2,146 Views)

Do you really need extended?  How big could this number get?  Using double should be just fine.

 

And since it looks like you are just adding integers, all of your wires should be blue instead of orange.  (blue=integer, orange=floating point).  Try converting to I32 or even I64 which gets you ~ =/- 2 billion and ~ =/- 1e19, respectively.

 

 

0 Kudos
Message 3 of 3
(2,131 Views)