Skip to content
Snippets Groups Projects
Commit 6390739f authored by Mauro Trovo's avatar Mauro Trovo :headphones:
Browse files

waist correct

parent d098833d
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,8 @@ def cambio_lambdaECO(new_wavelength = 13.2):
# 5 applico se non e' andato in time out
if attesa and master_proxy.command_inout('State') == PyTango.DevState.ON:
# master_proxy.command_inout('ApplyAll')
print('tutto ok ed avrebbe applcato')
master_proxy.command_inout('ApplyAll')
# print('tutto ok ed avrebbe applcato')
#cambio_lambdaECO(12.2)
\ No newline at end of file
#cambio_lambdaECO(12.2)
......@@ -2109,7 +2109,7 @@ class EEHGMaster(Device):
self.error_stream('failed to read waist 1')
self.set_state(tango.DevState.ALARM)
self.set_status('Alarm, failed to read waist 1')
self._waist_s1 = valore
self._waist_s1 = valore * 2.0 # assegnamo il doppio del valore letto dalla ccd (rif. EA)
else:
self.set_state(tango.DevState.ALARM)
......@@ -2126,8 +2126,7 @@ class EEHGMaster(Device):
self.error_stream('failed to read waist 2')
self.set_state(tango.DevState.ALARM)
self.set_status('Alarm, failed to read waist 2')
self._waist_s2 = valore
self._waist_s2 = valore * 2.0
else:
self.set_state(tango.DevState.ALARM)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment