Hi,
You can build a vi that asks for a vi name (in memory). Then the vi can get
all controls on this (not running) vi, and select which one is a cluster.
Then get all the controls inside the cluster, and change the names.
In order:
Open a VI Ref to the desired VI (not running).
Get the VI's front panel ref
Get all control refs on the front panel
Get some properties of each control, to select the cluster, e.g. control
name
Get the selected control ref
Change the property Label>Text
Close all the opened references!
You can add functionality to automatically save the vi, or copy the vi to a
new name. You can also use Selection list in stead of all controls on the
front panel.
Regards,
Wiebe.
"Sunny"
wrote in message
news:50650000000800000073
750000-1042324653000@exchange.ni.com...
> I have an array of strings and i want to use these strings as names
> for cluster items. This
> functionality is only used for developping VI's.
> By default LabVIEW creates clusters with the entries called 'name'. I
> want to create such clusters without
> manually modifying the cluster control show on the frontpanel.
> Is there any solution or workaround to this?
>
> Regards,
> Sunny