ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing an array element

Labview 5.1 - I have a front panel with a simple 1D array indicator
with only one element shown at a time. How can I programmatically
select which array element is shown in that indicator? I know there
are attributes available for the selection start and size, but I
haven't found out how to actually show the selection. Maybe there's an
better way than using attributes?
0 Kudos
Message 1 of 3
(3,099 Views)
Use the attribute "Index Values" ,the control for this is a 1D array.
Set index zero of the control to the index of the indicator to display .

Kevin
Mike Buess wrote:

> Labview 5.1 - I have a front panel with a simple 1D array indicator
> with only one element shown at a time. How can I programmatically
> select which array element is shown in that indicator? I know there
> are attributes available for the selection start and size, but I
> haven't found out how to actually show the selection. Maybe there's an
> better way than using attributes?
0 Kudos
Message 2 of 3
(3,099 Views)
Thanks... that does exactly what I want.

"Kevin B. Kent" wrote:

>Use the attribute "Index Values" ,the control for this is a 1D array.
>Set index zero of the control to the index of the indicator to display .
>
> Kevin
>Mike Buess wrote:
>
>> Labview 5.1 - I have a front panel with a simple 1D array indicator
>> with only one element shown at a time. How can I programmatically
>> select which array element is shown in that indicator? I know there
>> are attributes available for the selection start and size, but I
>> haven't found out how to actually show the selection. Maybe there's an
>> better way than using attributes?
0 Kudos
Message 3 of 3
(3,099 Views)