Hello Guest it is March 23, 2023, 01:02:09 AM

Author Topic: Mach4 Timer Script  (Read 2433 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

  • *
  •  5,626 5,626
  • Precision Chaos
    • View Profile
Re: Mach4 Timer Script
« Reply #10 on: May 03, 2019, 06:48:52 PM »

value, rc = mc.mcCntlGetPoundVar(
      number mInst,
      number param)
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Mach4 Timer Script
« Reply #11 on: May 04, 2019, 08:10:29 AM »
Thank you for the method. They return null in a button script for me. Apparently the time variables are not implemented yet.
From poppabear.
Re: Mach4 Timer Script
« Reply #12 on: May 04, 2019, 03:35:21 PM »
Hi Tony,
I think that list of poppabears is out of date.

May I suggest opening the register diagnostic and pinning it to the top.
Observe the range including the timer variables. They are populated and change as time passes. This is the latest build of
Mach4 but these variables have been enacted for several years at least.

My wife left with my best friend...
     and I miss him!
Re: Mach4 Timer Script
« Reply #13 on: May 05, 2019, 08:28:38 AM »

Hi Craig,

Thank you again. The Time # variables are there and are represented correctly. I must not have coded my test correctly. I will work on some timers and post my results hopefully this week.