Abstract: A system and method for controlling an electromagnetic device is disclosed. The system includes provisions for diagnosing problems, sensing malfunctions, and monitoring faults that may occur within the system and the controlled electromagnetic device. The system provides various forms of feedback to a user. The system includes back-up operating systems in cases of failure.