aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 23:23:47 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 23:23:47 -0500
commit82ae4d4c87b2a3692f2f9927028326d251da1da5 (patch)
treeb592f546a05f6fd2ce9f59e53eabfff4dd5e619f /examples
parent56e341a9812840c4c511de110fb405ba596df1a9 (diff)
downloadqolab-82ae4d4c87b2a3692f2f9927028326d251da1da5.tar.gz
qolab-82ae4d4c87b2a3692f2f9927028326d251da1da5.zip
using set
Diffstat (limited to 'examples')
-rw-r--r--examples/lock_eit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index e0d8cc2..a20d984 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -304,13 +304,13 @@ async def main():
apparatus.runStatus = False
error_signal_response_to_eit_detuning = BasicInstrument(device_nickname='.'.join([app_nickname, 'error_signal_response_to_eit_detuning']), tsdb_ingester=tsdb_ingester)
- error_signal_response_to_eit_detuning.deviceProperties = ['conversion_factor', 'unit']
+ error_signal_response_to_eit_detuning.deviceProperties = {'conversion_factor', 'unit'}
error_signal_response_to_eit_detuning.conversion_factor = None
error_signal_response_to_eit_detuning.unit = 'V_per_Hz'
ai['error_signal_response_to_eit_detuning']=error_signal_response_to_eit_detuning
B_control_voltage_to_eit_detuning = BasicInstrument(device_nickname='.'.join([app_nickname, 'B_control_voltage_to_eit_detuning']), tsdb_ingester=tsdb_ingester)
- B_control_voltage_to_eit_detuning.deviceProperties = ['conversion_factor', 'unit']
+ B_control_voltage_to_eit_detuning.deviceProperties = {'conversion_factor', 'unit'}
B_control_voltage_to_eit_detuning.conversion_factor = None
B_control_voltage_to_eit_detuning.unit = 'Hz_per_V'
ai['B_control_voltage_to_eit_detuning'] = B_control_voltage_to_eit_detuning