05-23-2008 10:50 AM
05-23-2008 11:44 AM
05-30-2008 10:50 AM
Is there a way to disable a control on a top level usinig a sub VI?
I have numerous controls of which many will be used in automation. I do not want the user to have access to these controls unless they put it in manual mode (password protection). What I would like to do is make a sub VI that can disable all controls I send to it (I send an array of enums).
Any suggestions?
05-30-2008 11:19 AM - edited 05-30-2008 11:21 AM


05-30-2008 11:21 AM
05-30-2008 11:25 AM
05-30-2008 11:25 AM
One more follow up question.
Is there a way to disable one specific element in an array but not the rest. As I said earlier in the thread I have an array of clusters with value and variable name. I would only want one element disabled but not the rest.
05-30-2008 11:35 AM
05-30-2008 11:38 AM - edited 05-30-2008 11:39 AM
No, I don't believe that you can disable just specific items in the array. Is the array supposed to change size as the program runs? If not, I'd suggest you go with a cluster of clusters, and disable specific cluster controls. You do this by referencing the Controls[] property of the main cluster, and then using index array to get the specific cluster reference needed to disable the control.


05-30-2008 01:27 PM