Skip to content

Commit 8fa68dd

Browse files
committed
Virtual Device DigitalOutputs contain full name of connection
1 parent fa8b3de commit 8fa68dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

blacs/plugins/virtual_device/virtual_device_tab.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def create_widgets(self, blacs_tablist, AOs, DOs, DDSs):
2222
for DO in self._DOs.keys():
2323
if self._DOs[DO] is None:
2424
self._DOs[DO] = self._blacs_tablist[DO[0]].get_channel(DO[1]).create_widget(inverted=DO[2])
25+
orig_label = self._DOs[DO].text().split('\n')
26+
self._DOs[DO].setText('%s\n%s'%(DO[0]+'.'+orig_label[0], orig_label[1]))
2527
self._DOs[DO].last_DO = None
2628

2729
dds_widgets = []

0 commit comments

Comments
 (0)