A VI Based Tool for Inverter fed Induction Motor Diagnostic