Jump to content
jorourke

Different Captions for Items in Array?

Recommended Posts

In my application, I have array of numbers.  In the array, each value has the caption visible.   Is it possible to programmatically change the caption names?  I would like to see Value0, Value1, Value2, etc.

 

John

post-676-0-87776900-1362488868.png

Share this post


Link to post
Share on other sites

This can't be done the way you described it.  Every item in an array has the same data for all properties, only the value can change based on each item.  That being said you can achieve the same look by creating an array of clusters, where the two items in the cluster is a string (with transparent borders) and a slider.  Then you can bundle the name and the value.

 

Attached is an example of what I'm saying save in 2011.

Array Signal Example.vi

Edited by hooovahh

Share this post


Link to post
Share on other sites

If you have a fixed length array, you can do what you want by having a cluster of numerics and use the cluster to array.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.