// general movement, + axis-a incremental movement button: private void button1_Click(object sender, EventArgs e) { //FUTURE: not sure what this string command does //runCommand("i=0\r#A;MG i{N};i=i+1;WT10;JP#A,i<10;EN"); //take a single button click as moving 10000 units in a-axis movementType.runRelativeMoveCommand("A", movementVariables.Increment_unit, movementVariables.Speed_a); cur_abs_pos(abs_position); }