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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing current and previous loops values


@Bob_Schor wrote:

Bob,

 

Her\his intention is probably to put the indicators in the loop, just like the control...

0 Kudos
Message 11 of 12
(411 Views)

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.

 

 

Spoiler

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.

 

But I digress...

 

 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 12
(411 Views)