Skip to content

Commit 41cad15

Browse files
Fixed Power calibration in SCanlab driver
1 parent 73aec18 commit 41cad15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Drivers/ScanLab/Implementation/libmcdriver_scanlab_rtccontext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ void CRTCContext::writePower(double dPowerInPercent, bool bOIEPIDControlFlag)
872872
uint32_t nFullPeriodInBits = nHalfPeriodInBits * 2;
873873
uint32_t nPulseLength = (uint32_t)round((double)nFullPeriodInBits * dClippedPowerFactor);
874874

875-
std::cout << "laser pulse modulation: half period " << nHalfPeriodInBits << " bits, pulse length " << nPulseLength << " bits, factor " << dClippedPowerFactor << std::endl;
875+
//std::cout << "laser pulse modulation: half period " << nHalfPeriodInBits << " bits, pulse length " << nPulseLength << " bits, factor " << dClippedPowerFactor << std::endl;
876876

877877
m_pScanLabSDK->n_set_laser_pulses(m_CardNo, nHalfPeriodInBits, nPulseLength);
878878
break;

0 commit comments

Comments
 (0)