Mining and mineral processing laboratory automation