Skip to content

Commit 06fa078

Browse files
committed
Avoid error messages when connection tables compiled before connected terminals feature added are used.
1 parent 6503e9b commit 06fa078

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labscript_devices/NI_DAQmx/blacs_tabs.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def initialise_GUI(self):
6666

6767
clock_terminal = properties['clock_terminal']
6868
clock_mirror_terminal = properties['clock_mirror_terminal']
69-
connected_terminals = properties['connected_terminals']
69+
# get to avoid error on older connection tables
70+
connected_terminals = properties.get('connected_terminals', None)
7071
static_AO = properties['static_AO']
7172
static_DO = properties['static_DO']
7273
clock_limit = properties['clock_limit']

0 commit comments

Comments
 (0)