Having calibrated my four tool corexy I would like to report the offsets it has found.
I currently echo the variables by calling a macro
echo "Camera X",global.CameraX, " Y", global.CameraY, " Z",global.CameraZ
echo "T0Offset X",global.T0OffsetX," Y", global.T0OffsetY," Z",global.T0OffsetZ
echo "T1Offset X",global.T1OffsetX," Y", global.T1OffsetY," Z",global.T1OffsetZ
echo "T2Offset X",global.T2OffsetX," Y", global.T2OffsetY," Z",global.T2OffsetZ
echo "T3Offset X",global.T3OffsetX," Y", global.T3OffsetY," Z",global.T3OffsetZ
This results in the console
03/01/2024, 10:13:40 M98 P"0:/macros/Calibration/Report Offsets.g"
Camera X 6.577 Y 96.720 Z 0
T0Offset X 0 Y 0 Z 0
T1Offset X 0.060 Y 2.200 Z 0
T2Offset X 0.220 Y 3.620 Z 0
T3Offset X -0.043 Y 0.120 Z 0
However not all the lines are always reported. Sometimes T2 and T3 lines are missing. Why could this be?
What I would really like to do is report the variables with a Message dialog and require the user to Ok the message to continue. Like using a M291. However I have not found a way of reporting variables and putting them on multiple lines using M291.
Any suggestions?