LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to eliminate elements in a 1D array

Solved!
Go to solution

I want to know how to remove elements from 1D array. Let say 1D array has 30 elements. I want to keep initial 10 and get rid of remaining 20 elements. 

 

How can I do that. See attached image for more clarification

 

Thanks

 

JK

 

length array.jpg

0 Kudos
Message 1 of 3
(1,273 Views)
Solution
Accepted by topic author josephkirmani

Have a look at the LabVIEW Array functions. There's a delete from array or an array subset that you can use for your purposes.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 3
(1,249 Views)
Solution
Accepted by topic author josephkirmani

In  this case, I would use Array Subset.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3
(1,246 Views)