21
General Mach Discussion / Re: machine running irregular on button script
« on: December 14, 2010, 06:41:47 AM »
Hi TP and rrc1962,
Thanks for the reply.
I think I am encountering the problems TP describes.
The way the machine acts while running a VB script already gave me the feeling things are not in sync.
As a quick solution I will try writing results to an array while probing and write the array to a text-file when finshed.
But I think probing with .NC g-code will work better after all...
That means I have to learn how to write g-code subs, I guess.
Also writing to variables is new for me...
Of course I will do some searching myself, but is anybody willing to share an example??
Thanks again!
Rich
Thanks for the reply.
I think I am encountering the problems TP describes.
The way the machine acts while running a VB script already gave me the feeling things are not in sync.
As a quick solution I will try writing results to an array while probing and write the array to a text-file when finshed.
But I think probing with .NC g-code will work better after all...
That means I have to learn how to write g-code subs, I guess.
Also writing to variables is new for me...
Of course I will do some searching myself, but is anybody willing to share an example??
Thanks again!
Rich