Hy asdkamps,
The vision development module brings Classifiers with it. But it works on images and all of the classifiers there have to be trained. A k-mens could be done with customer classifiers, but I think it´s less work for 1D arrays to programm it without the vision development module.
I assume the 1D array is a vector in n-dimensional space and the distance functino D is euclidic distance?
Maybe the following paper is also of use, there k-means is used in LabVIEW.
http://edt.missouri.edu/Summer2005/Thesis/PogulaS-072105-T2944/research.pdf#search=%22%22k-means%22%20labview%22
Peter Griese
NI