Hello
Guest
it is
April 18, 2025, 04:02:49 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
messages in macro only showing during step through, not run
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: messages in macro only showing during step through, not run (Read 4963 times)
0 Members and 1 Guest are viewing this topic.
moorea21
228
messages in macro only showing during step through, not run
«
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
Logged
BR549
6,965
Re: messages in macro only showing during step through, not run
«
Reply #1 on:
May 01, 2015, 03:18:18 PM »
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
Logged
moorea21
228
Re: messages in macro only showing during step through, not run
«
Reply #2 on:
May 01, 2015, 03:28:43 PM »
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...
Logged
BR549
6,965
Re: messages in macro only showing during step through, not run
«
Reply #3 on:
May 01, 2015, 03:30:49 PM »
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
Logged
moorea21
228
Re: messages in macro only showing during step through, not run
«
Reply #4 on:
May 01, 2015, 03:40:03 PM »
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
«
Last Edit: May 01, 2015, 03:42:13 PM by moorea21
»
Logged
moorea21
228
Re: messages in macro only showing during step through, not run
«
Reply #5 on:
May 01, 2015, 03:43:22 PM »
Unless of course this is just something that only happens via the code window, and not when Gcode or MDI calls it?
Logged
BR549
6,965
Re: messages in macro only showing during step through, not run
«
Reply #6 on:
May 01, 2015, 05:30:53 PM »
Here it runs the same using the editor (run), MDI or Gcode file.
(;-) TP
Logged
Print
Pages:
1
Go Up
« previous
next »