From 5b8691f7f571a7ae76dc5dcade435a9b715313f8 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Wed, 4 Mar 2015 16:17:54 +0100 Subject: [PATCH] thorlabs_tcube: fix driver spelling issues --- artiq/devices/thorlabs_tcube/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/devices/thorlabs_tcube/driver.py b/artiq/devices/thorlabs_tcube/driver.py index 889dc9c9f..83e2f07e0 100644 --- a/artiq/devices/thorlabs_tcube/driver.py +++ b/artiq/devices/thorlabs_tcube/driver.py @@ -298,7 +298,7 @@ class Tcube: class Tpz(Tcube): def __init__(self, serial_dev): Tcube.__init__(self, serial_dev) - self.voltage_limit = self.get_tpz_iosettings()[0].amount + self.voltage_limit = self.get_tpz_io_settings()[0].amount def handle_message(self, msg): msg_id = msg.id @@ -1325,7 +1325,7 @@ class TpzSim: def get_position_control_mode(self): return self.control_mode - def set_outputvolts(self, voltage): + def set_output_volts(self, voltage): self.voltage = voltage def get_output_volts(self):