Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: smnv on January 16, 2012, 09:25:17 AM
-
I have tested Mach2, spent few days and can not resolve one problem.
Why function IsActive(Input1) always return 0 (false) even if really is active and led of Input1 is ON in Diagnostic window?
Anyone know any another way how check value (true or false) of some pin number in Mach2?
-
One way is to use the VB script editor. Maybe you already are.
Code
a = IsActive(input1)
print a
My machine returns the correct state.
-
delete Mach2, install Mach3, there are no problem.
-
Hi, I am having the same issue ... IsActive(Input1) always return 0 (false) even if really is active and led of Input1 is ON. I am using Mach3 and the breakout board is Mach3 USB Motion Card AKZ250 from http://leafboy77.com/. Any opinion or suggestion will be really great.