Skip to content

Commit fee48b1

Browse files
committed
Example plugin compile fix
1 parent ae19c89 commit fee48b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Examples/LPBFSystem/Laser/mcplugin_laser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,10 @@ __DECLARESTATE(exposure)
276276
}
277277

278278
auto pContext = pDriver->GetContext();
279-
auto pRecording = pContext->PrepareRecording(true);
279+
auto pRecording = pContext->PrepareRecording(true, true, true);
280280

281-
pRecording->AddChannel("x", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetXBacktransformed);
282-
pRecording->AddChannel("y", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetYBacktransformed);
281+
pRecording->AddChannel("x", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetX);
282+
pRecording->AddChannel("y", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetY);
283283
pRecording->AddChannel("power", LibMCDriver_ScanLab::eRTCChannelType::ChannelAnalogOut1);
284284

285285
pContext->SetStartList(1, 0);

Examples/LPBFSystem/UI/mc_userinterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ class CEvent_OnLoadHistoricJournal : public virtual CEvent {
689689

690690
uint64_t nLifetimeInMicroseconds = pJournal->GetJournalLifeTimeInMicroseconds();
691691

692-
auto pVariable = pJournal->RetrieveJournalVariableFromTimeInterval("main.jobinfo.countertest", 0, nLifetimeInMicroseconds);
692+
auto pVariable = pJournal->RetrieveJournalVariable ("main.jobinfo.countertest");
693693
double dValue = pVariable->ComputeDoubleSample(10000000);
694694

695695
pUIEnvironment->LogMessage("Double sample: " + std::to_string (dValue));

0 commit comments

Comments
 (0)