LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting incorrect value from subtract

Hi, I am new to programming in LabView and getting an incorrect result to a very simple setup.

Basically, I am measuring a delay (just trying out the tick count function). But when I subtracted the second tick count to the first one, I get a very large seemingly constant number.

 

Your guidance will be very much appreciated. Thanks.

0 Kudos
Message 1 of 2
(2,360 Views)

It seems like I interchanged the subtrahend and minuend while using an unsigned 32-bit integer so it rolled over. 

0 Kudos
Message 2 of 2
(2,356 Views)