Skip to content

Commit

Permalink
Merge pull request #492 from micro-manager/NIDAQ_b2
Browse files Browse the repository at this point in the history
NIDAQ: add revert code missed in previous two commits.
  • Loading branch information
nicost authored Sep 10, 2024
2 parents 715c15f + c624f04 commit 8f64d18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DeviceAdapters/NIDAQ/NIDigitalOutputPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ int DigitalOutputPort::Initialize()
if (GetHub()->StartDOBlankingAndOrSequence(tmpNiPort, portWidth_, true, false, 0, false, tmpTriggerTerminal) == DEVICE_OK)
supportsBlankingAndSequencing_ = true;
GetHub()->StopDOBlankingAndSequence(portWidth_);
if (!supportsBlankingAndSequencing_)
{
portWidth_ = oldPortWidth;
}
}

CPropertyAction* pAct;
Expand Down

0 comments on commit 8f64d18

Please sign in to comment.