public void EnableOutput(InputType onOff) { HandlerError.ClearErrors(); try { WriteCommand(MeasureType.EnableOutput(onOff)); } catch (Exception e) { HandlerError.ErrorOccurred = true; HandlerError.ErrorMsg = "Enabled OutPut command Agilent Method. " + e.Message; throw new Exception(HandlerError.ErrorMsg); } }