Synchronous machine testing using microcomputer-based instrumentation