Skip to content

Commit 99bf3d5

Browse files
committed
Fix error in software gating.
1 parent 20c139f commit 99bf3d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labscript_devices/Windfreak/labscript_devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def generate_code(self, hdf5_file):
133133
static_table[f'freq{connection}'] = dds.frequency.raw_output
134134
static_table[f'amp{connection}'] = dds.amplitude.raw_output
135135
static_table[f'phase{connection}'] = dds.phase.raw_output
136-
static_table[f'gate{connection}'] = self.enabled_chans[connection]
136+
static_table[f'gate{connection}'] = connection in self.enabled_chans
137137

138138
grp = self.init_device_group(hdf5_file)
139139
grp.create_dataset('STATIC_DATA',compression=config.compression,data=static_table)

0 commit comments

Comments
 (0)