Skip to content

Commit cc87bfc

Browse files
committed
Reset TTL Monitor states on acquisition start
1 parent cd4a515 commit cc87bfc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Source/Processors/Editors/StreamSelector.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,20 @@ DelayMonitor* StreamSelectorTable::getDelayMonitor (const DataStream* stream)
449449

450450
void StreamSelectorTable::startAcquisition()
451451
{
452+
// Reset TTL Monitor states
453+
for (auto stream : streams)
454+
{
455+
TTLMonitor* ttlMonitor = getTTLMonitor (stream);
456+
457+
if (ttlMonitor != nullptr)
458+
{
459+
for (int bit = 0; bit < 8; ++bit)
460+
{
461+
ttlMonitor->setState (bit, false);
462+
}
463+
}
464+
}
465+
452466
startTimer (20);
453467
}
454468

0 commit comments

Comments
 (0)