03-26-2020 12:30 AM
It's easy to cut a specific part from 1D array.. using the delete from array function or subset array.
But how can I Cut from 2D array!!
for example the hatched part of the attached photo
Solved! Go to Solution.
03-26-2020 12:50 AM
Array Subset will work with 2D arrays.
You'll need to set the row index, number of rows, column index and number of columns.
For the example you give, that might be something like "225, 15, 0, 2". If you leave any unwired, you'll get all of that thing (so you could also in the example above just wire "225, 15" and leave the column index/length unwired.
03-26-2020 01:19 AM - edited 03-26-2020 01:22 AM
It still not possible for me,
I have attached my code and the data file.
I would like to cut for example 100 value from the output file and write it in anew output file.
can you check !!
03-26-2020 01:31 AM
Well, in your VI I see the 2D array just before the Write Delimited Spreadsheet call, but there's no Array Subset connected to that wire.
If you'd like to write a second file with a subset, you can branch that wire, connect it to the Array Subset function, and wire the appropriate values.
Something like this, maybe?
03-26-2020 01:42 AM
thank you,
But I already solve the problem as the attached