Finished refactoring keithley 580