Esempio n. 1
0
 public void ProcessResponseError09Test()
 {
     mvm             = new GrblTool();
     mvm.VersionGrbl = "0.9";
     mvm.ProcessErrorResponse(err09);
     Assert.AreEqual("The number value suffix of a G-code word is missing in the G-code block, or when configuring a $Nx=line or $x=val Grbl setting and the x is not a number value.", mvm.ErrorMessage);
 }
Esempio n. 2
0
 public void ProcessResponseError09IDTest()
 {
     mvm             = new GrblTool();
     mvm.VersionGrbl = "0.9";
     mvm.ProcessErrorResponse(err09ID);
     Assert.AreEqual("A G-code word was repeated in the block.", mvm.ErrorMessage);
 }
Esempio n. 3
0
 public void ProcessResponseError11Test()
 {
     mvm             = new GrblTool();
     mvm.VersionGrbl = "1.1";
     mvm.ProcessErrorResponse(err11);
     Assert.AreEqual("Laser mode requires PWM output.", mvm.ErrorMessage);
 }