Hello Geri,
if I understand your problem correct there is already a solution in SDR-Console:
go to the "LIME-SDR setting" and then to "Drive"
Here you can activate a "custom drive range" with a checkmark.
You can then set the minimum and maximum drive levels.
Here is the explanation from the help window in SDR-Console:
Drive
The default drive range of the LimeSDR is 73dB which is far more than required, also this makes it difficult to select the desired value. A custom range makes adjustments much easier. The exact values you select will depend on the amplifiers used between the LimeSDR and your antenna.
Maximum
When running the LimeSDR at maximum output the signal may suffer from Intermodulation distortion (IMD), so set the maximum value to -10dB or -15dB.
Minimum
Set the minimum value somewhere between 20dB and 30dB lower than the maximum.
I have set here my Lime-USB to min -40dB and max -10dB. For me a range of 30dB for setting the TX output power is fully sufficient and with the max of -10dB I cannot overdrive my PA and the output signal from the Lime is nice and clean.
Kind regards
Matthias
http://www.dd1us.de