Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: machiner on June 12, 2015, 09:03:00 AM

Title: how many times does screen load run on startup ?
Post by: machiner on June 12, 2015, 09:03:00 AM
i started with the 'stock'  mach4 mill
i put this line of code into the top of the startup screen load script just before the two functions

local x  = mc.mcGetInstance();
wx.wxMessageBox('screen load instance was '..tostring(x))

it always 'pops up'  6 times, instance 0 to 5 . .
whats up with that ! ?
Title: Re: how many times does screen load run on startup ?
Post by: poppabear on June 12, 2015, 09:11:08 AM
Currently, (even though not functional yet), Mach4 can run 6 instances.
So, perhaps it is looping through the 6 possible instances, even though only instance 0 is currently supported.

Scott
Title: Re: how many times does screen load run on startup ?
Post by: machiner on June 12, 2015, 10:14:56 AM
thanks again, man