A LabVIEW based virtual instrument for on-line induction motor condition monitoring