12-12-2008 09:01 AM
I have some arrays of 2D point locations stored in local variables. For diagnostic purposes, I would like to be able to select one (any) of these current local variables and plot them. I can do this one at a time by indexing the array, and adding a 255 to the z value of each array coordinate pair and then passing them all indexed to an intensity graph. Setting a time delay lets me "look" at the relative positions of array points as they are plotted. I know none of you have had problems with row,col x,y reversals and the like, but I need something to help me visualize these interactions. Stepping through the simultaneous plot of two of these arrays would let me see which points relate to others as I work on the arrays. Rather than having to "program" each time I wanted to have the point locations display, I would rather choose them from a list from some little sub vi that I could run any time I wanted...How might one go about that? Or, is there a better way.
Basically, how do you populate an enumeration control with the list of local variables?
Thanks.
Solved! Go to Solution.
12-12-2008 10:21 AM
Hummer1
I believe there's a property node for an enumeration control that you can use to set the entries in it. You might want to post to the LabVIEW forum - they'll probably be able to help you more!
Greg Stoll
Vision R&D
National Instruments
12-15-2008 09:16 AM
You can't change the labels for an enum during runtime. However, you can use a pull down list (right next to enum) that will do exactly what you want. Just use the property "Labels" to set all the items for the control.
Bruce