LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Last array element

Solved!
Go to solution

Hi

 

In run mod, when I add elements in array, I want to see the last element of array automatically.

How can I do this.(without using vertical scrollbar.)

0 Kudos
Message 1 of 5
(7,227 Views)

Set the Index Values property to a value such that you see the index you want.  If you have more than one visible element you'll probably need to use Number of Columns and Number of Rows and some math to figure out which index you want in the top left.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 5
(7,223 Views)

Check Delete from array, if index is unwired it's automatically the last element selected, and the output Deleted portion is thus the last element.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 5
(7,216 Views)
Solution
Accepted by ömer

Untitled.png

In a thousand words or less.  You use property nodes to programatically access objects properties.

(Yes you have to run it twice to see the result I didn't set a default value)


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(7,215 Views)

Tanks for your answer.

Your example was very illustrative for me.

 

My problem was solved.

 

Thanks.........

0 Kudos
Message 5 of 5
(7,161 Views)