Skip to content

Commit e682e80

Browse files
committed
Don't specify polarity when disconnecting
1 parent b5e19a9 commit e682e80

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

labscript_devices/NI_DAQmx/blacs_workers.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,7 @@ def set_connected_terminals_connected(self, connected):
178178
)
179179
else:
180180
for terminal_pair in self.connected_terminals:
181-
DAQmxDisconnectTerms(
182-
terminal_pair[0],
183-
terminal_pair[1],
184-
DAQmx_Val_DoNotInvertPolarity,
185-
)
181+
DAQmxDisconnectTerms(terminal_pair[0], terminal_pair[1])
186182

187183
def program_buffered_DO(self, DO_table):
188184
"""Create the DO task and program in the DO table for a shot. Return a

0 commit comments

Comments
 (0)