From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,147 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,140 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,125 Views)