|
@@ -108,14 +108,14 @@ namespace OTSModelSharp
|
|
|
|
|
|
var pSEMCtrl = m_pMsrThread.GetSEMController();
|
|
|
|
|
|
- if (!pSEMCtrl.IsConnected())
|
|
|
- {
|
|
|
- if (!pSEMCtrl.Connect())
|
|
|
- {
|
|
|
- log.Error("SetSEMDataMrs: can't connect SEM.");
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
+ //if (!pSEMCtrl.IsConnected())
|
|
|
+ //{
|
|
|
+ // if (!pSEMCtrl.Connect())
|
|
|
+ // {
|
|
|
+ // log.Error("SetSEMDataMrs: can't connect SEM.");
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
|
|
|
pSEMCtrl.SetMagnification(dMag);
|
|
|
pSEMCtrl.SetWorkingDistance(dWorkDis);
|
|
@@ -252,14 +252,14 @@ namespace OTSModelSharp
|
|
|
|
|
|
|
|
|
// get SEM controller
|
|
|
- if (!pSEMController.IsConnected())
|
|
|
- {
|
|
|
- if (!pSEMController.Connect())
|
|
|
- {
|
|
|
- log.Error("SetBSEParam: can't connect SEM.");
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
+ //if (!pSEMController.IsConnected())
|
|
|
+ //{
|
|
|
+ // if (!pSEMController.Connect())
|
|
|
+ // {
|
|
|
+ // log.Error("SetBSEParam: can't connect SEM.");
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
|
|
|
// get dwell time
|
|
|
OTS_IMAGE_SCANSPEED_OPTIONS nDwellTime = pImgScanParam.GetScanImageSpeed();
|
|
@@ -464,14 +464,14 @@ namespace OTSModelSharp
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (!pSEMController.IsConnected())
|
|
|
- {
|
|
|
- if (!pSEMController.Connect())
|
|
|
- {
|
|
|
- log.Error("MoveSEMToPoint: can't connect SEM.");
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
+ //if (!pSEMController.IsConnected())
|
|
|
+ //{
|
|
|
+ // if (!pSEMController.Connect())
|
|
|
+ // {
|
|
|
+ // log.Error("MoveSEMToPoint: can't connect SEM.");
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
log.Info("Begin to move SEM stage to " + a_SEMpt.X + "," + a_SEMpt.Y);
|
|
|
|
|
|
// move SEM to the position (rotation 0)
|