Induction machine stator fault on-line diagnosis based on LabVIEW environment