Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: jevs on August 28, 2019, 09:23:42 PM

Title: Can someone define mc.mcMpgSetEnable ?
Post by: jevs on August 28, 2019, 09:23:42 PM
I could not find anything in the API manual to disable and enable the MPG, so I was going to do it by setting the axis to -1.

However, by dumb luck I noticed mc.mcMPGSetEnable in the editor. Hovering will give you the usual parameters, but not actually what it does of course. However I cannot find this in the API manual either.

So, does it do what I think it will do and enable/disable the MPG from working? I have coded this to the deadman (pendant enable) switch to see if it works this way, but I am still finishing the code for the pendant and have not tested it yet.

At the very least this thread may show up with an answer for the next person that searches until it gets in the API manual..

Thanks