Skip to content

Commit fb830a0

Browse files
committed
Reset line states of all event channels on acquisition stop
1 parent cc87bfc commit fb830a0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,6 +1796,16 @@ void ProcessorGraph::stopAcquisition()
17961796
}
17971797

17981798
allClear = p->stopAcquisition();
1799+
1800+
// Reset line states of all event channels
1801+
for (auto& eventChan : p->eventChannels)
1802+
{
1803+
for (int bit = 0; bit < 64; bit++)
1804+
{
1805+
eventChan->setLineState (bit, false);
1806+
}
1807+
}
1808+
p->ttlLineStates.fill (false);
17991809
}
18001810
}
18011811
}

0 commit comments

Comments
 (0)