Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }