02-09-2022 09:39 AM
Hi.
I'm really new to labview and have come across this problem. I will attach a picture below for reference. I want to take the second columns 5th last numbers and input them into the 1D array. But I can't seem to solve it for some reason. The numbers specified are (36, 42.25, 49, 56.25, 64). I've used index array but that only works on the first 5 numbers as you can see. How do I go about this ?
Solved! Go to Solution.
02-09-2022 09:44 AM
Hi,
Basically just follow your mindflow :
Select second column
Reverse array
Select 5 first values
Reverse array
And done
02-09-2022 10:28 AM
(Since you are new to LabVIEW, let me quickly mention that we don't do well with front panel pictures. We prefer actual VIs. Since you are truncating the bottom of the 2D array, we can't even tell if these are the last rows).
From the array size, you can uniquely define the starting point of the array subset.
Here is one possibility, but there are many. (Try to find at least 3 ways to do it, a good exercise!)
02-09-2022 12:48 PM
Sorry! I had no idea, thank you very much for your kind help. And I will actually try it myself. I appreciate the effort you put down to help me. I will repay you by taking your tips about trying to create other ways to do it also.
02-09-2022 12:49 PM
This was a really smart solution. Thank you for your help, I might go with this solution because it felt easy to understand.