/// <summary>
 ///     Sets the voltage value in V indicated by the parameter
 /// </summary>
 /// <param name="voltage">Source voltage value</param>
 public void SetSupplyVoltage(double voltage)
 {
     try
     {
         _deviceExchanger.SendDataWithOutReturn(
             "VOLT " + Convert.ToString(voltage, CultureInfo.CurrentCulture).Replace(",", ".") +
             ";");
     }
     catch (N5746AException n5746AException)
     {
         throw new N5746AException("Failed to set supply voltage " + voltage + "V: " +
                                   n5746AException.Message);
     }
 }
 /// <summary>
 ///     Resets signal generator
 /// </summary>
 public void Reset()
 {
     try
     {
         _deviceExchanger.SendDataWithOutReturn("*RST;");
     }
     catch (Smb100AException smb100AException)
     {
         throw new Smb100AException("Failed to reset the signal generator: " +
                                    smb100AException.Message);
     }
 }