LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog Rings in arrays

I am building an array of Dialog Rings. Is there a way to put
programmatically text-values in those Rings (LV5.1.1)? I can only read and
write integers to the array.

Thanks.
0 Kudos
Message 1 of 6
(3,137 Views)
Create an attribute node (by right clicking on the control) and then select "Strings[]" for the attribute.
0 Kudos
Message 2 of 6
(3,137 Views)
Select "Strings[]" is not possible when the Dialig Rings are in an array, is
it?



"Dennis Knutson" schreef in bericht
news:506500000005000000E0380000-993342863000@exchange.ni.com...
> Create an attribute node (by right clicking on the control) and then
> select "Strings[]" for the attribute.
0 Kudos
Message 3 of 6
(3,137 Views)
> Select "Strings[]" is not possible when the Dialig Rings are in an array, is
> it?
>

It is possible by right clicking on the ring within the array on the front
panel. If you click on the terminal or on the array control, you will get
a property node for the array, not for the ring.

This will work fine as long as you want the same string in each element
of the array. If not, you will need to switch from an array of rings to
a cluster of rings. Determine how many rings you need to display. On
the diagram, use the array to cluster converter for reading and writing.
You will end up using arrays on the diagram because they are easy to
index, but you will use a cluster for display so that you have greater
control over the display of the rings.

Gr
eg McKaskle
0 Kudos
Message 5 of 6
(3,137 Views)
Thanks! Just right click the Ring WITHIN the array.

"Greg McKaskle" schreef in bericht
news:3B66261E.2414FA85@austin.rr.com...
> > Select "Strings[]" is not possible when the Dialig Rings are in an
array, is
> > it?
> >
>
> It is possible by right clicking on the ring within the array on the front
> panel. If you click on the terminal or on the array control, you will get
> a property node for the array, not for the ring.
>
> This will work fine as long as you want the same string in each element
> of the array. If not, you will need to switch from an array of rings to
> a cluster of rings. Determine how many rings you need to display. On
> the diagram, use the array to cluster converter for reading and writing.
> Yo
u will end up using arrays on the diagram because they are easy to
> index, but you will use a cluster for display so that you have greater
> control over the display of the rings.
>
> Greg McKaskle
0 Kudos
Message 6 of 6
(3,137 Views)
Hello,

Unfortunately, there is no way (to my knowledge) to manipulate the properties of controls within an array with LabVIEW 5.1. With LabVIEW 6, however, you can use a new features called "Control References" to modify the properties of items within an array. The upgrade to LabVIEW 6 is only $395 for registered LabVIEW users...you can learn more about all the great new features of LabVIEW 6 at www.ni.com/labview.

Good luck with your application, and have a pleasant day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 4 of 6
(3,137 Views)