public void MotionLogger(int m_IAxisNo) { string logText = string.Empty; uint homeResult = 0; AJINMOTION.AxmHomeGetResult(m_IAxisNo, ref homeResult); logText = TranslateHomeResult(homeResult); _log.Write(CmdLogType.prdt, $"Axis No. {m_IAxisNo} : {logText}"); }
public void AJINEXTEKLoad() { if (AJINLIBRARY.AxlOpen(7) != (uint)AXT_FUNC_RESULT.AXT_RT_SUCCESS) { msgBox.ShowDialog("Intialize Fail..!!", MsgBox.MsgType.Error, MsgBox.eBTNSTYLE.OK); return; } if (AJINMOTION.AxmMotLoadParaAll("") != (uint)AXT_FUNC_RESULT.AXT_RT_SUCCESS) { msgBox.ShowDialog("Mot File Not Found.", MsgBox.MsgType.Error, MsgBox.eBTNSTYLE.OK); return; } AJINMOTION.AxmInfoGetAxisCount(ref m_IAxisCounts); }