07-11-2013 05:17 AM
Hi,
I am relatively new to Labview. I would like to initialise my string control (i.e. input given by the user) to null since I am using this value for comparison later on. In a nutshell, I am implementing a password protected menu.
Thanks
07-11-2013 08:54 AM
Local Variables are faster than property nodes, (and I would also assume invoke nodes.)
However, for initializing controls at the beginning of a program, the time difference would be unnoticeable to a user unless you were dealing with thousands of controls.
Using property nodes could give you benefits in that they provide an error in and out that would allow you to sequence the execution of the nodes. You could also use the nodes without them implicitly being linked to a control. Then you could use an array of control references fed to the node in a For Loop to minimize the amount of block diagram real estate is used to initialize the controls.