|
@@ -359,7 +359,7 @@ void OxfordControllerWrapper::ControllerThreadFunction()
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- Thread::Sleep(1000);
|
|
|
+ Thread::Sleep(500);
|
|
|
|
|
|
m_endControllerEvent->Set();
|
|
|
}
|
|
@@ -1116,6 +1116,7 @@ bool OxfordControllerWrapper::StartXrayCollecting(const long a_nAcTimeMillisecon
|
|
|
auto edsSettings = GetEdsSpectrumSettings();
|
|
|
|
|
|
edsSettings->EdSettings->AcquisitionTime = TimeSpan::FromMilliseconds(a_nAcTimeMilliseconds);
|
|
|
+ edsSettings->EdSettings->ProcessTime = 4;
|
|
|
|
|
|
auto spectrum = edsController->StartAcquisition(edsSettings);
|
|
|
|
|
@@ -1147,6 +1148,8 @@ void OxfordControllerWrapper::XraySpectrumProcess(OINA::Extender::Data::Ed::IEd
|
|
|
|
|
|
// Use the autoIdSettings to define elements that are known or elements that you want to exclude. They also list elements that cannot be identified
|
|
|
IAutoIdSettings^ autoIdSettings = ProcessingFactory::CreateAutoIdSettings();
|
|
|
+
|
|
|
+
|
|
|
EdSpectrumProcessing->IdentifyElements(spectrum, autoIdSettings);
|
|
|
|
|
|
ISEMQuantSettings^ settings = ProcessingFactory::CreateSEMQuantSettings();
|
|
@@ -1262,6 +1265,9 @@ void OxfordControllerWrapper::OnXrayAcquisitionFinished(Object^ sender, OINA::Ex
|
|
|
|
|
|
// Use the autoIdSettings to define elements that are known or elements that you want to exclude. They also list elements that cannot be identified
|
|
|
IAutoIdSettings^ autoIdSettings = ProcessingFactory::CreateAutoIdSettings();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
EdSpectrumProcessing->IdentifyElements(e->Value, autoIdSettings);
|
|
|
|
|
|
ISEMQuantSettings^ settings = ProcessingFactory::CreateSEMQuantSettings();
|