Skip to content

Commit 1b7ca5a

Browse files
committed
Properly allow the BLACSTab to find child digital outputs.
1 parent 7c74fd6 commit 1b7ca5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

labscript_devices/PrawnDO/blacs_tabs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ def initialise_GUI(self):
2929
self.supports_remote_value_check(True)
3030
self.supports_smart_programming(True)
3131

32+
33+
def get_child_from_connection_table(self, parent_device_name, port):
34+
# all child direct outputs are actually connected to the internal device _PrawnDigitalOutputs
35+
# so we must look under that device for the port
36+
return self.connection_table.find_child(f'{self.device_name:s}__pod', port)
37+
3238

3339
def initialise_workers(self):
3440
self.create_worker(

0 commit comments

Comments
 (0)