From 38c6878d498da26e3608b0cb347ce46f4f80ef68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Fri, 9 Nov 2018 13:32:05 +0100 Subject: [PATCH] urukul: mention min/max attenuation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Jördens --- artiq/coredevice/urukul.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/urukul.py b/artiq/coredevice/urukul.py index 6605d852b..59b528e62 100644 --- a/artiq/coredevice/urukul.py +++ b/artiq/coredevice/urukul.py @@ -300,7 +300,8 @@ class CPLD: :param channel: Attenuator channel (0-3). :param att: Attenuation setting in dB. Higher value is more - attenuation. + attenuation. Minimum attenuation is 0*dB, maximum attenuation is + 31.5*dB. """ self.set_att_mu(channel, 255 - int32(round(att*8)))