07-09-2024 04:29 PM
Hi,
I encountered a strange behavior on some buttons(control) in an array and I just can't figure out how to resolve this. If you look at the picture I attached below, you can see some buttons are dimmed in the array. It looks like this whenever I open up the VI and no matter how I initialized the button while they are not dimmed, they always go back to dimmed if I reopen it. It doesn't affect the functionality, but it is super annoying and it looks very unprofessional. Thanks for your advice in advanced.
Solved! Go to Solution.
07-09-2024 04:40 PM
The number of elements in the array is tied to its "default value". If you want to set a new default value, you can select the control, then click edit >> make selected values default.
07-09-2024 04:44 PM
Those buttons are dimmed because those array elements are empty.
07-09-2024 04:47 PM
Thanks Greg for your suggestion. I did that for like 10 times, but it didn't work. 🙂
07-09-2024 04:48 PM
Hi Paul, your key phrase saved the day. "make sure it's on the array, not on one of the elements" Thank you!