04-13-2017 05:43 AM
Hi Everybody,
I would like to delete some index from array. for example, in figure, 0, 3,6 and 9 index number (array 2) are delete from array 1. How can I do it.
thank you
04-13-2017 05:46 AM
Hi 1085,
there's a DeleteFromArray function - just use it!
(Hint: start deleting with the highest index.)
It's a nice exercise to learn usage of FOR loops, autoindexing and shift registers.
You should be able to solve this after taking the GettingStarted section in the header of the LabVIEW board!
04-13-2017 05:52 AM
Thank you for reply. How is deleting started with the highest index. Can you send me example.
04-13-2017 06:11 AM
04-13-2017
12:21 PM
- last edited on
04-16-2025
10:40 PM
by
Content Cleaner
Yes there is also the OpenG option which has a delete elements from array, which allows you to specify an array of indexes to delete. It will sort them and remove duplicates so that the delete goes from highest to lowest.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord