> If I want to open a file, analyse it, and then add, say a number of
> radiobuttons to the design. How do I do? The actual number of buttons is
> only available after analysing. Please help!
>
Sometimes you can pull this off using an array of controls. An array of
Booleans can be resized with an attribute node to display a 1D strip or
a 2D grid of buttons. If you need to have different names on each button,
then you will need to make that part of the data. Make it a 1D array of
clusters containing a string and a button. The string for each button can
now be different and is set as part of the data. If the color of each button
needs to be changable, that can be done too; just make it part of the data
using a color numeric or ramp.
If you really do want thes
e to be radio buttons, then make a VI that takes
in the old and new array of Booleans. Read the old array from the terminal,
and if something needs updating, write to a local variable. Anyway, this
may or may not work for what you are trying, but it is pretty flexible.
Greg McKaskle