08-25-2014 08:26 PM - edited 08-25-2014 08:28 PM
@rolfk wrote:
What is obfuscating in using terminals whenever possible and eventually local variables if unavoidable?
Nothing, but burying references in subVIs so deep that your main reason for using them is you don't want to pass data up through the terminals is.
08-25-2014 09:15 PM - edited 08-25-2014 09:19 PM
@GregFreeman wrote:
@rolfk wrote:
What is obfuscating in using terminals whenever possible and eventually local variables if unavoidable?
Nothing, but burying references in subVIs so deep that your main reason for using them is you don't want to pass data up through the terminals is.
I agree! Using UI refences for doing things to the UI outside of the actual GUI VI (except smaller helper functions that encapsulate common functionality but never over many subVI levels deep) is always an indication that one is doing something fundamentally wrong.
But the benchmark was correctly showing the terminal and local variable to be by far the top performing solutions. So anyone who is a bit performance wary will hopefully think several times now before using value properties (or shared variables).
08-26-2014 06:21 AM
rolfk wrote: So anyone who is a bit performance wary will hopefully think several times now before using value properties (or shared variables).
I sure hope so. You are talking about one of my major pet peeves.