LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

silly question - large numbers

Solved!
Go to solution

im having an issue, simple really. im sure im being a bit stupid.

 

i am incrementing a large number to an indicator i/u64 but when it it gets to about 2 billion it goes negative.

 

im sure it should be a bit bigger than that.

 

 

if not, how can i get the indicator to increment into the tens of billions

 

regards

0 Kudos
Message 1 of 5
(2,790 Views)
Solution
Accepted by topic author slugger

Hi slugger,

 

such questions are answered best with an example VI of yours…

 

I64/U64 should allow a much larger range than ~2e+9 - infact in the order of 1e+19!

So it seems you used an I64 indicator but you still calculate using I32 values…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(2,784 Views)

im getting number of bytes written from tcpip write then via a shift register am adding on each loop.

 

im guessing the shift register is 132? or the addition?

 

hmmm just checked it

 

 

my addition was I32

 

many thanks

wouldnt have guessed that for a bit !!!!

 

many thanks

0 Kudos
Message 3 of 5
(2,765 Views)

If solved your issue, it would be nice to give him credit in the form of a marked solution.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 4 of 5
(2,743 Views)

done

 

 

ta

Message 5 of 5
(2,728 Views)