From 1923103ca0b7a9c7507f605a1c690e146b68b127 Mon Sep 17 00:00:00 2001 From: Quentin Chateiller <31767137+qcha41@users.noreply.github.com> Date: Wed, 4 Mar 2020 10:46:32 +0100 Subject: [PATCH] Update newport_SMC100.py --- autolab/drivers/newport_SMC100/newport_SMC100.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autolab/drivers/newport_SMC100/newport_SMC100.py b/autolab/drivers/newport_SMC100/newport_SMC100.py index b65166aa..5e8c447a 100644 --- a/autolab/drivers/newport_SMC100/newport_SMC100.py +++ b/autolab/drivers/newport_SMC100/newport_SMC100.py @@ -142,7 +142,7 @@ def get_acceleration(self): def get_driver_model(self): model = [] - model.append({'element':'variable','name':'position','type':str, + model.append({'element':'variable','name':'position','type':float, 'read':self.get_position,'write':self.set_position, 'help':'Initiates an absolute move.'}) return model