Trace a Two-Sample History

A LabVIEW loop smooths a sensor voltage using a stacked shift register, which exposes values retained from multiple earlier iterations. Both left elements are initialized to 6 V. At the start of iteration ii, the upper element supplies UiU_i and the lower element supplies LiL_i.


Each iteration displays the three-sample mean


mi=xi+Ui+Li3m_i=\frac{x_i+U_i+L_i}{3}


and writes the current sample xix_i to the right element. On the next iteration, the upper element supplies that written sample, while the lower element supplies the preceding upper value.


A conceptual loop has upper and lower left shift-register elements and one right element receiving the current sample.


Complete the table with exact integers in volts. Record U and L at the start of each iteration, before its current sample is written.

Iteration iCurrent x (V)Incoming U (V)Incoming L (V)Displayed mean (V)
09
13
212
36

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Shift Registers Questions: