07-12-2013 01:31 PM
07-12-2013 03:59 PM - edited 07-12-2013 04:00 PM
@JÞB wrote:
I wonder what's the purpose of the nearby inner FOR loop. It just updates the same locals twice with the values of their own associated controls, nanoseconds apart. Short circuit!
(What's up with that "write value of control to it's own local variable" stuff. Seen that several time in the last few days. Must be some literal translation of text based code.....)
07-26-2013 06:12 PM
The title should tell you more than enough...Local variables and clusters
08-08-2013 05:09 AM
I beleve this one is trying to collect them all.
locals to jump between stap in frames ( that is not requird if wire's were used ) ( and a nice rb in the deal to )
using locals that are next to the unused icon, a race condition that can be prevented by just using a wire.
he is almost there. he is going te get them all.
03-03-2014 08:53 AM
03-03-2014 10:26 AM
@Ray.R wrote:
A fine example spotted by Altenbach: (seen here)
Correct link to source is here. Also being discussed in the RG thread here.
03-03-2014 02:36 PM
03-07-2014 07:21 AM
03-08-2014 09:40 AM
I recently was tested on my LabVIEW skills or lack of it at an interview.
The solution to the problem required use of a local variable.
It was the first question.
I failed the question and the interview.
03-08-2014 09:52 AM
@nyc_(is_out_of_here) wrote:
I recently was tested on my LabVIEW skills or lack of it at an interview.
The solution to the problem required use of a local variable.
It was the first question.
I failed the question and the interview.
Well, that's why we have certification. Companies should rely on that instead of cooking up their own obstacle course. 😮
And yes, local variables have their purpose, mostly in UI related code. I use them all the time! 😄
Nothing "requires" the use of a local variable. There are always alternative solutions... 🙂 But local variables are sometimes the best solution (e.g. over the use of value properties).