Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: moorea21 on May 01, 2015, 02:57:12 PM
-
Attached macro works fine using F7, on run (in VB window), most messages don't appear. If I un-comment the message on 2nd to last line, no messages appear except the last one.
Can I change this behaviour?
Thanks
-
When you use the Message function to write to the status line EACH new message will overwrite the next. SO if the messages are cascading ( one after the other) then you MAY only see the last message.
I will check the code, (;-) TP
-
Thanks. I didnt mention that each message has sleep 1000 after it, ie 1 second. Thought it would always hold it there for that long...
-
I checked your code and it runs as expected here. I see all of the posted messages one at a time until the end message "1"
That was running the Macro as a Mcode from the MDI line.
(;-) TP
-
Same here by MDI. But as run from vb editor window, I still get the last message only, about 'return to main program'. Hopefully (3rd attempt) I can attach my xml, is it okay to run it with that? Thanks
-
Unless of course this is just something that only happens via the code window, and not when Gcode or MDI calls it?
-
Here it runs the same using the editor (run), MDI or Gcode file.
(;-) TP