From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-11-2007 08:22 PM
04-11-2007 09:00 PM - edited 04-11-2007 09:00 PM
The way I've done this is to hide the label and show the caption on the front panel. Then write the 1st column (label string) to a property node that writes the caption value. (Actually caption.text value)
Tom
Message Edited by Tom Haggerty on 04-11-2007 10:04 PM
04-12-2007 03:01 PM
04-13-2007 08:09 PM
04-16-2007 06:38 AM
I worked on a simple solution for about an hour this morning but could not get it to work! I think the solution may not be so simple. I'm sorry but I have a lot of other work to do today so if no one else has an answer I can look into it again tomorrow. The problem is going from a single element to a cluster to an array. The element in the cluster in the array is the one that needs the caption changed. So it may need to be done after the array is built in a seperate for loop or sub vi.
Tom
04-16-2007 12:44 PM
Thanks Tom,
I appreciate your response...will try out your suggestion(loop or subVI)...but feel it will be the same result after the enable index (at least for the loop).
04-17-2007 07:06 AM
I have a working model that you can start from. I have a question -- I tried to simulate kind of what you were doing and I had to set the size of my cluster in the array to cluster to 5 -- Do you have a fixed array that you are building into a cluster? If not, --- if the array is always a different size, I think the array to cluster will not work. Any way, I created the cluster indicator and had to change all the booleans visible items inside from label to caption. I had to do each one. Then I ran this vi and all the captions changed on the cluster to what was written in string. So this basically does what you want!
Tom
04-24-2007 10:23 AM
Thanks Tom,
I have set the cluster size to max as they are of different size. The example you provided works perfectly.
Thanks again for the help!
SE
04-24-2007 12:37 PM
Excellent -- Glad I could help!
Tom
04-24-2007 01:52 PM