public void SetSenSe(MeasType command, string channel) { HandlerError.ClearErrors(); try { WriteCommand(MeasureType.SetSenSe(command) + " (@" + channel + ")"); } catch (Exception e) { HandlerError.ErrorOccurred = true; HandlerError.ErrorMsg = "Data Adquisition Agilent 34970A. " + e.Message; throw new Exception(HandlerError.ErrorMsg); } }
public void SetSenSe(MeasType command) { HandlerError.ClearErrors(); try { WriteCommand(MeasureType.SetSenSe(command)); } catch (Exception e) { HandlerError.ErrorOccurred = true; HandlerError.ErrorMsg = "Data Adquisition Agilent 34401A. " + e.Message; throw new Exception(HandlerError.ErrorMsg); } }