/// <summary> /// Returns the current measured consumed value of the current consumption through the power circuit "+ 28V" /// </summary> /// <returns>Current measured current value</returns> public double GetCurrent() { try { return(_deviceExchanger.SendRequestDataDouble("MEAS:CURR?;")); } catch (N5746AException n5746AException) { throw new N5746AException( "Failed to fulfill the request for the current measured value of the current consumption: " + n5746AException.Message); } }
/// <summary> /// Sets the signal deviation according to the specified parameters /// </summary> /// <param name="mode">Pulse Duration</param> public void SetFmSelectMode(SelectMode mode) { try { _deviceExchanger.SendRequestDataDouble(":FM:MODE " + mode + ";"); } catch (Smb100AException smb100AException) { throw new Smb100AException("Failed to set signal deviation value to " + mode + ": " + smb100AException.Message); } }