LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrays

Dear all,

I have the following problem: I have an array with some floating numbers. I want to check if the array contains two or more times a same value. In that case I want to delete the double values so that the array contains every value just one time. Can somebody give me some example code on this? Thanx in advance.
0 Kudos
Message 1 of 5
(3,002 Views)
The OpenG toolkit has just what you may be looking for. See http://openg.org/tiki/tiki-index.php?page=OpenG+Toolkit%3A+Array
Message 2 of 5
(3,002 Views)
If what you mean is to remove all duplicates then there is a good implementation of it included in the array part of the openG toolkit which you can download at http://prdownloads.sourceforge.net/opengtoolkit/array-6.0.1.1.zip?download

The toolkit has lots of other useful functions though so you might want to download the whole kit, in that case it's:

http://prdownloads.sourceforge.net/opengtoolkit/all_packages_ogtk-1.1.zip?download

Mads
Message 3 of 5
(3,002 Views)
Thanks a lot
0 Kudos
Message 4 of 5
(3,002 Views)
Thanks a lot
0 Kudos
Message 5 of 5
(3,002 Views)