08-25-2006 05:18 PM
08-25-2006 05:28 PM
08-28-2006 04:49 PM
08-29-2006 10:03 AM
Thank you Thaison V,
Your note provided the missing link. I tried what you described and it works!
I do have a question however, my property node that is related to the Global front panel (in the chain) is set to "Controls[]" and outputs an array of references for the entire front panel controls/indicators. I do have some non-string objects that I don't want to reference. Is there an easy way to make the output array just the string indicators? Or is there an easy way to match the reference numbers to the string indicators I'm interested in changing? I'm not sure how to find the proper index, except to do one at a time and note the position in the reference array (of all controls/indicators) and handle the ones I desire to change in a case loop. Is this the best or only approach?
As to why I'm doing this programatically - ( I'm new to globals so this may be completely the wrong approach - I don't know). What I have is a front panel with a mix of string indicators, boolean lights, and some buttons. I have a need to change the front panel from a variety of sub vi's so I made the front panel global. In my application I need to invert the text and text background colors based on a button the user selects, but only on the string indicators. This is actually a day/night mode feature on an in-vehicle PDA application. During the day I have Black text on a white background (which works great during the day) but is too bright at night (even with dimming the PDA through hardware). So I need to switch to White text on a black background at night (when the user hits the day/night mode button). If there is a better way to reference a front panel indicator from a variety of sub vi's, I'm open to a better suggestions.
What you provided me in your note however allowed me the final puzzle piece to make this work the way I envisioned. Thanks again for your help.
08-30-2006 07:42 PM