From 99e490f9ff5a5c1872a6b683e594944c283f2c47 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 30 Jul 2019 12:22:08 +0100 Subject: [PATCH] coredevice/suservo: Slightly reword get_adc[_mu]() docstring for clarity This hopefully suggests a bit better that the value is the last one fetched by the servo (i.e. needs the servo active to update), rather than somehow requesting a new sample to be taken. --- artiq/coredevice/suservo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/coredevice/suservo.py b/artiq/coredevice/suservo.py index 28feba4ec..8855fd2ef 100644 --- a/artiq/coredevice/suservo.py +++ b/artiq/coredevice/suservo.py @@ -191,7 +191,7 @@ class SUServo: @kernel def get_adc_mu(self, adc): - """Get an ADC reading (IIR filter input X0) in machine units. + """Get the latest ADC reading (IIR filter input X0) in machine units. This method does not advance the timeline but consumes all slack. @@ -225,7 +225,7 @@ class SUServo: @kernel def get_adc(self, channel): - """Get an ADC reading (IIR filter input X0). + """Get the latest ADC reading (IIR filter input X0). This method does not advance the timeline but consumes all slack.