Hi Gabi, I hope you don't mind but going to answer your PM here, it's threads like this that help others.
There are many probe macro's available that can easily be edited to what you want/posted. For starters take a look in your default macro folder(M31).
Check out A_Camera thread/macro's that can be found here....
viewtopic.php?f=9&t=538Also, you can purchase the 2017 screenset.....
http://www.thecncwoodworker.com/2017.html the macro's alone are well worth the 20 buc cost. There is also a Macro thread on the zone.
As far as the TextBox being strings...............
double Tbox1 = Convert.ToDouble(textBox1.Text)
double Tbox2 = Convert.ToDouble(textBox2.Text)
double Tbox3 = Convert.ToDouble(textBox3.Text)
Take a look at some of the probe macro/links I posted and any questions I will be happy to help.
Dan