1
VB and the development of wizards / SetParam() strange behaviour
« on: June 26, 2015, 04:32:05 AM »
Hello,
I want change the XRefPer parameter by VB script and I use SetParam("XRefPer",10).
When I execute the macro the value in the "Homing/Limits" table change to target value but the real axis speed don't change.
The speed change only if I load the "Homing/Limits" window, I press OK and from now the value is operative.
In other words the SetParam function change the value in the Homing table but the value became operative only if I call the windows and press OK button.
What can I do to have the speed changing operative directly from VB macro ?
Thanks for help.
I want change the XRefPer parameter by VB script and I use SetParam("XRefPer",10).
When I execute the macro the value in the "Homing/Limits" table change to target value but the real axis speed don't change.
The speed change only if I load the "Homing/Limits" window, I press OK and from now the value is operative.
In other words the SetParam function change the value in the Homing table but the value became operative only if I call the windows and press OK button.
What can I do to have the speed changing operative directly from VB macro ?
Thanks for help.