Terry, Terry, Terry.....

Are you trying holding out a baited hook to see if I'll bite?

HIYA DAVE,So when I do a Code"G31 X10" and the probe never stops when it hits the switch(led comes on) it is the programmer fault(;-). When I do a Code"G31 X10" and it does not make the move untill 3 OTHER commands have processed and THEN the G31 show up and is processed, THAT is the programmers fault?
I almost forgot my personal favorite. I a probe cycle with the proper wait states so the entire Cycle will work on this computer. Run it on the computer next to it and it fails by jumping over sections of code. The wait state timing was off.
I'm not going to take that bait.

You offer up some fragments of your past experiences and ask me if those are "the programmer's fault". I will not attempt to answer that actual question as presented - as it can not be reasonably addressed with only the information provided.
You report that have not had success in making probing work from scripts. Your have experienced what you have experienced.
My point was that your experience does not prove that probing will always be unreliable if done from a script.
You are essentially asserting that you have not made it work reliably, therefore it can not be made to work. You have then stated this as an incontrovertible fact in various posts. I know your motivation is to help Mach users - and I admire that - you do a good job of it. I am simply noting, that for this particular topic, the assertion made is not true. The assertion that probing from scripts can not be reliable made has been dis-proven by multiple "proof by example" reports - my myself and others, that probing CAN be done reliably from within scripts.
For this specific topic, I felt that readers deserved to know that there are others with different results who do not draw the same conclusion re "impossibility".
Yea I know semaphores. Dang Dave this is 2011 the Control program has to do something on its own like keeping track of its threads. (;-)
(;-)
I don't think I made any comments about what I would ***like*** to see mach include for programming support. I have a long list of those.... pragmatically mach, is what it is at any point in time.
I have 5 years worth of error and crash data that says otherwise. I have probably over a million (literally) probe cycles in gcode without failure.Can't say the same thing about the macro side.
OK, you have 5 years of problems with scripts and probing.
You have no problems when using G-Code.
That is your experience - it does not prove that probing is ***always unreliable*** if done from a script.
OK, now then I will shift a bit here and say this:
I tried very hard to start my post by saying that I was NOT trying to start a flame war. I meant that.
Yet as I write this post I am seeing other responses, some of which are asserting that I said things I did not actually write in my post. That is how flame wars start and grow - I have no interest in participating in the way the thread seems headed, nor do I want to be fanning the flames.
All I tried to do was
1) point out that not everyone has the same successful / unsuccessful experience when doing probing from scripts.
2) ask that those stating something as a fact to please consider not stating personal experiences as a proven fact.
There is no need for us all to create a raging argument - there is no personal challenge involved in this topic - and I certainly didn't intend anyone feel challenged by what I wrote.
Different people have had, and will continue to have, different experiences, with different aspects of Mach's features.
Dave