Rather than use a global I would prefer to place all the parameters as constants on 
one block diagram.  You can bundle them and output from the VI as a single cluster; 
then you can Unbundle by Name which makes the using code very readable.  If you need 
to change a parameter you can simply type in the new value and you don't have to 
remember to Make Current Values Default.

You stated you would never write to the global programmatically.  Using this technique 
it would be impossible to write the parameter values programmatically, so it would be 
immediately clear to anyone else who looked at your code that the parameters were not 
being written programmatically.

Allen Weekley


                
---------------------------------
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.

Reply via email to