11-19-2014 01:15 PM
I need to delete the matching elements in an array.
for example if my array looks like this
A 1
A 2
A 7
B 2
B 2
B 4
C 5
C 7
C 7
I need to be able to delete one of the matches.
Thank you
11-19-2014 01:24 PM
OpenG has a Filter 1D array function, which accepts a scalar or an array of elements to remove.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-19-2014 01:27 PM
I dont have OpenG downloaded, i was wanting to find a way without it
11-19-2014 01:56 PM
What have you tried?
A FOR loop with a shift register containing the found values and a Search 1D Array should get you at least half way there.
11-19-2014 02:55 PM
@rmarks12 wrote:
I dont have OpenG downloaded, i was wanting to find a way without it
Is there a reason you want to re-invent the wheel? You may have a legitamate reason for not wanting to use OpenG which is why I'm asking.
But in my opinion no LabVIEW developer should be without OpenG. Even if you don't want to use OpenG you can open the source and see how it can be done.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord