Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: rhtuttle on November 10, 2017, 03:28:24 PM
-
What is the proper script language to check if Mach4 is currently enabled?
TIA
RT
-
This is a small snippet from one of my scripts if it helps
if mc.mcSignalGetState (mc.mcSignalGetHandle (mInst, mc.OSIG_MACHINE_ENABLED)) == 1 then
DazTheGas
-
Thank you Daz.
I need to be more diligent. I looked at the signals and must have scanned too fast because I missed it. They're not alphabetical.
TYOGO
RT