diff options
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r-- | examples/lock_eit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index e6ba3a5..af3c894 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -359,13 +359,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.update({'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.update({'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 |