Skip to content

Commit f19f5f4

Browse files
committed
Fix issue where updated final values did not reflect most recent shot.
1 parent 03bce47 commit f19f5f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labscript_devices/Windfreak/blacs_workers.py

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def transition_to_buffered(self, device_name, h5file, initial_values, fresh):
134134
self.program_static_value(i,sub,data[sub+str(i)])
135135
# update smart cache to reflect programmed values
136136
self.smart_cache['STATIC_DATA'][f'channel {i:d}'][sub] = data[sub+str(i)]
137+
# update final values to reflect programmed values
138+
self.final_values[f'channel {i:d}'][sub] = data[sub+str(i)]
137139

138140
return self.final_values
139141

0 commit comments

Comments
 (0)