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: 

Last value from tunnel

Solved!
Go to solution

Hi,

Am I doing something wrong?

TomSAVU_0-1691162901869.png

 

0 Kudos
Message 1 of 8
(4,847 Views)

No.  Nothing is wrong.  Look at ALL the items in that array.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 8
(4,841 Views)

And is more....

TomSAVU_0-1691164373501.png

 

0 Kudos
Message 3 of 8
(4,820 Views)
Solution
Accepted by topic author TomSAVU

As has been said, you need to resize the array container (or add a scrollbar) to see the last value. (container size != array size!)

 

altenbach_0-1691164686086.png

 

 

As you can easily see, you get the last value. Agreed?

 

0 Kudos
Message 4 of 8
(4,814 Views)

Seems I am tired ... thanks a lot!

0 Kudos
Message 5 of 8
(4,807 Views)

Do you want the last element of the array ? 

The code is doing exactly that. 

 

There is a fifth element that repeats the first element of the array.

 

LVNinja_0-1691164814429.png

 

0 Kudos
Message 6 of 8
(4,805 Views)

@TomSAVU wrote:

And is more....


Please explain in a complete sentence what you perceive is the problem. Details!!!

 

(and please (please!!!) don't attach a new VI with the same name as a completely different older VI attached earlier!!!)

0 Kudos
Message 7 of 8
(4,804 Views)
Solution
Accepted by topic author TomSAVU

Now it's clear, thanks a lot, I didn't see there are more than four elements in the array.

0 Kudos
Message 8 of 8
(4,788 Views)