Beispiel #1
0
        public async Task <CNCMessage> RelativeJogY(double Y, double F)
        {
            CNCMessage tmp = null;

            await Task.Run(() =>
            {
                CNCMessage message = Protokoll.GetRelativeJogByYMessage(Y, F);
                Interface.SendMessage(message);
                CNCMessage t = new CNCMessage()
                {
                    Message = "ok"
                };
                tmp = Interface.WaitReceiveMessage(100, t, 1000);
            });

            return(tmp);
        }