I am hoping someone can point me in a good direction. I am trying to create a DRO for my Mach4 screenset that will show my current offset. Whether it is running in the machine coordinates or a work offset. I am new to Mach and I find that I keep forgetting how the offsets work in Mach. This would just be an easy reminder for myself.
I have created the DRO, and am having trouble getting it to show anything. I read somewhere that I could use the following Pound Var to show the current offset:
local CurrentOffset = mc.mcCntlGetPoundVar (inst, 4014)
I tried putting it in both the "On Modify Script", "On Update Script", and putting it in my screen load script as a function.
I cannot get anything to work.
Can and will someone please help me out?
Thanks