LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Calculation

Solved!
Go to solution

Hi!  I have two signals, represented as 16 bit doubles, let’s call them A and B.  These signals are read inside of a WHILE loop.  I would like to calculate An-An-1 and Bn-Bn-1, where An and Bn are the values of A and B at the nth iteration of the WHILE loop and An-1 and Bn-1 are the values of A and B during the n-1 iteration of the WHILE loop.  Looking for guidance.  Thanks!

0 Kudos
Message 1 of 3
(1,960 Views)
Solution
Accepted by cgs1960

Use two shift registers. Look at the help files or the online Getting Started tutorials for more information.

 

Lynn

Message 2 of 3
(1,955 Views)

Look at the Help for Shift Register or Feedback node.

Message 3 of 3
(1,954 Views)