12-05-2023 12:01 AM
Hi everyone,
I am trying to create 2 new arrays from one array on the basis of their value. I want to filter array values as less than and greater than 2. I have tried out a few things but its not working....The below is incomplete but I don't know what else to do,...
Solved! Go to Solution.
12-05-2023 01:08 AM - edited 12-05-2023 01:27 AM
You don't need a While Loop, but a For Loop to take each element from array, compare it and rebuild the array only with the filtered elements using a conditional indexing output tunnel:
12-05-2023 01:09 AM
Hi ms6,
@ms6 wrote:
I am trying to create 2 new arrays from one array on the basis of their value. I want to filter array values as less than and greater than 2. I have tried out a few things but its not working....
So you want to create one array with all values <2 and one array with all values >2?
What should happen with array elements ==2?
Suggestion:
Autoindexing is very basic LabVIEW stuff, as well as all the options of loop tunnels.
Did I recommend the LabVIEW Training resources before?