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.

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
(2,504 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
(2,504 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
(2,504 Views)