From 3f489c7e51b85fc72ff5614e097cac6ac4cfb059 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sat, 13 Jul 2024 23:37:54 -0400 Subject: improved doc string --- qolab/hardware/i_server/i800.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'qolab') diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py index 1d9b08a..0f2a8e0 100644 --- a/qolab/hardware/i_server/i800.py +++ b/qolab/hardware/i_server/i800.py @@ -17,6 +17,14 @@ logger = logging.getLogger("qolab.hardware.i_server.i800") class I800(BasicInstrument): """Newport i800 series controller, should work with similar Omega controllers + Parameters + ---------- + host : str + hostname or IP of the controller unit + the factory preset is '192.168.1.200' (default) + port : int + socket port (1000 i: default) which accept HTTP POST requests + Example ------- @@ -28,10 +36,6 @@ class I800(BasicInstrument): TTL_SEATABLES = 600 # Time To Live for user seatables, i.e. SetPoints, Gains, etc def __init__(self, *args, host="192.168.1.200", port=1000, **kwds): - """ - host - default hostname or IP of the controller unit (192.168.1.200) is factory default - port - socket port (1000 by default) which accept HTTP POST requests - """ BasicInstrument.__init__(self, *args, **kwds) self.host = host self.port = port -- cgit v1.2.3