LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arithmetic & Comparison VI's - How to reset the SUM(X) function?

During program execution, how to reset Sum(x) to zero, and start to sum again?

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

Hi LBohot,

 

Are you using the Time Domain Math express VI?  If so, this VI does not have the functionality to reset a running sum.  I wrote a basic example demonstrating the functionality you mentioned.  The random number block is where the

sum value would be input and pressing the reset button will reset the shift register value to 0.  I hope this helps!

 

Regards,

Andy K.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,518 Views)