Use an initialized shift register to reset the initial value of a shift register each time a VI runs.
Complete the following steps to initialize a shift register.
Use a loop with an uninitialized shift register so that each time the VI runs, the initial input of the shift register is the last value from the previous execution. Leave the input to the left shift register terminal unwired for an uninitialized shift register to preserve state information between subsequent executions of a VI.