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: 

See the last array value in a loop

Solved!
Go to solution

Im doing a test VI and to "simulate" sensors im using ULx to have a 2D array and I want to read this data in 4 1D array but I dont want to see all the cells. What I want to see is how each 1D array takes the first value of the respective row and after a delay the next value.

ADaniel01_0-1671607768743.png

ADaniel01_1-1671607980779.png

ADaniel01_2-1671608090114.png

 

And what I tried to but I dont know how to do it or if it possible it to start again from the first value when the arrays reach the last one, so I dont see 0's.

 

Thanks.

 

0 Kudos
Message 1 of 2
(519 Views)
Solution
Accepted by topic author A.Daniel01

You get a 2D array that you convert to 4 1D arrays, do you want to step through these arrays to show each value?

If so, just connect your 1D arrays to a for loop and it'll step through each. Add a Wait if inside you want to see them update.

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(501 Views)