Hello Guest it is March 28, 2024, 05:25:25 AM

Author Topic: Check if Enabled  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Check if Enabled
« on: November 10, 2017, 03:28:24 PM »
What is the proper script language to check if Mach4 is currently enabled?

TIA

RT

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Check if Enabled
« Reply #1 on: November 10, 2017, 04:38:03 PM »
This is a small snippet from one of my scripts if it helps

Code: [Select]
if mc.mcSignalGetState (mc.mcSignalGetHandle (mInst, mc.OSIG_MACHINE_ENABLED)) == 1 then

DazTheGas
New For 2022 - Instagram: dazthegas
Re: Check if Enabled
« Reply #2 on: November 10, 2017, 05:47:12 PM »
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