From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
The main issue I have with pulling down the shift register to get previous values is that it is not expandable at run time and has to be done while developing.
Now if the SR had an array, that can be resized at run time.
A particular pet-peave of mine is expanding the SR that holds the state of a state machine to determine what the last state was. That is a sign that the states and the transitions were not fully thought out. Maybe even violates the idea of a state all together.