Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: 01sporty on December 12, 2006, 07:35:09 PM
-
Hi All,
First post so I hope I'm in the right spot.
I'm in the rudimentary stages of setting up a G100 and wanted to write a few (what I thought would be) "simple" macros to control the outputs.
I first went into config/ports & pins/output signals and enabled output 1, 2, 3, and 4. I set 1,2, and 3 active low, which on the G100, activates the LED's so I have 3 LED's on and 1 off.
I went to Notepad and put in the single line: ActivateSignal(OUTPUT1). I tried 2, 3 and 4 as well. I saved it as M101.m1s.
Needless to say, when run in Mach3, the G100 was unimpressed. It sat there unblinking. What am I missing??
Thanks,
Walt
-
I thought this macro was too simple for even me to get wrong.
I had it in the wrong directory.
I'll just slink away now............
-
No problem! Nice to see that you fixed it 8)