1241
VB and the development of wizards / Re: off the shelf auto zero script issue
« on: June 02, 2019, 03:08:42 AM »
had a quick look to the code.
here it is asking for a Offset:
Offset is written with capital O
here this value is used:
offset is written with small o
correct this, copy the complete code into VB Scripter window and use ||> key to step through and see where (witch line) the
code goes wrong.
here it is asking for a Offset:
Code: [Select]
REM Request Material Thickness offset
Offset = InputBox("Enter Material Thickness offset Hint: To probe from the Spoilboard surface, enter the nominal thickness of the material. Enter '0' or leave blank if probing from the material surface", "Material Offset", "")
Offset is written with capital O
here this value is used:
Code: [Select]
Call SetDro (2, PlateThickness - offset) 'set the Z axis DRO to whatever is set as plate thickness less the offset value
offset is written with small o
correct this, copy the complete code into VB Scripter window and use ||> key to step through and see where (witch line) the
code goes wrong.