|
@@ -252,14 +252,14 @@ namespace OTSController {
|
|
|
{
|
|
|
listXRayPointsTemp.push_back( a_vXRayPoints[i]);
|
|
|
|
|
|
-
|
|
|
+ if (!m_pBrukerImpl->GetXRayByPoints(listXRayPointsTemp, a_nXRayAQTime))// one point per time,or we cann't get the full element data. gsp 2020-11-30
|
|
|
+ {
|
|
|
+ LogErrorTrace(__FILE__, __LINE__, _T("GetXRayByPoints: failed to get element."));
|
|
|
+ }
|
|
|
+ listXRayPointsTemp.clear();
|
|
|
|
|
|
}
|
|
|
- if (!m_pBrukerImpl->GetXRayByPoints(listXRayPointsTemp, a_nXRayAQTime))// one point per time,or we cann't get the full element data. gsp 2020-11-30
|
|
|
- {
|
|
|
- LogErrorTrace(__FILE__, __LINE__, _T("GetXRayByPoints: failed to get element."));
|
|
|
- }
|
|
|
- listXRayPointsTemp.clear();
|
|
|
+
|
|
|
|
|
|
if (!m_pBrukerImpl->SetSEMExternalOff())
|
|
|
{
|