In a case where an indicator may not change very often, is it faster to
just keep updating the indicator with unchanged data, or check the data
and update it only when it chages? I know the style guide says to do
the later, but it seems like much more code is invloved (at least a
shift register for each indicator, or something like the attached vi).
Intuatively, it just doesn't seem like checking the data through everyt
loop would be faster than replacing 37.2 with 37.2. Perhaps it's more
important to do the data check with strings than it is with numbers?
On a similar note, the attached vi is something I use to check if data
has changed (in this case a DBL). Is this vi as fast and
efficient as a shift register? It certainly is more convienent and less
messy.
(the attached vi may look familiar to some, it was extracted from a vi in the OpenG toolset).
Richard