hi nodochau, i have never used gaging on a lathe, but maybe i can help ...
if you can show more details about your procedure, maybe i will have an idea ( maybe a quick video and share it, so to see how it works and why you need to set up the variable, etc )
maybe is possible to set the value from code : V1 = whatever_default_value ? i don't know ... kindly