From bd61fa67bdce9098dfa86771c2b3a447efcc35ea Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 26 May 2025 18:00:40 +0200 Subject: [PATCH] docstrings for terminals updated --- src/pyhoff/devices.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pyhoff/devices.py b/src/pyhoff/devices.py index 513b99c..a5aeba5 100644 --- a/src/pyhoff/devices.py +++ b/src/pyhoff/devices.py @@ -224,7 +224,7 @@ class KL3054(AnalogInputTerminal): channel: The channel number to read from. Returns: - The current value. + The current value in mA. """ return self.read_normalized(channel) * 16.0 + 4.0 @@ -244,7 +244,7 @@ class KL3042(AnalogInputTerminal): channel: The channel number to read from. Returns: - The current value. + The current value in mA. """ return self.read_normalized(channel) * 20.0 @@ -311,7 +311,7 @@ class KL4002(AnalogOutputTerminal): Args: channel: The channel number to set. - value: The voltage value to set. + value: The voltage value to set in V. Returns: True if the write operation succeeded. @@ -348,7 +348,7 @@ class KL4132(AnalogOutputTerminal): Args: channel: The channel number to set. - value: The voltage value to set. + value: The voltage value to set in V. Returns: True if the write operation succeeded. @@ -369,7 +369,7 @@ class KL4004(AnalogOutputTerminal): Args: channel: The channel number to set. - value: The voltage value to set. + value: The voltage value to set in V. Returns: True if the write operation succeeded.