Hello Guest it is May 19, 2019, 05:23:54 PM

Author Topic: Messaging is wrong  (Read 472 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,492 2,492
    • View Profile
    • DD Metal Products Ltd
Messaging is wrong
« on: April 18, 2018, 02:27:54 PM »
The message box on screen, i think its called "Error" and is a label, displays the wrong message - is this affected by the "Look ahead" option setting??

It displays commented lines/section headers in the code file.

The message is usually one message ahead :)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,242 1,242
    • View Profile
Re: Messaging is wrong
« Reply #1 on: April 20, 2018, 03:41:24 AM »
the message box has real low priority. so for example

this macro code:

message "message 1"
message "message 2"
message "message 3"
message "message 4"
message "message 5"
message "message 6"
message "message 7"

will maybe Show two or three of the Messages


this macro code:

message "message 1"
Sleep(200)
message "message 2"
Sleep(200)
message "message 3"
Sleep(200)
message "message 4"
Sleep(200)
message "message 5"
Sleep(200)
message "message 6"
Sleep(200)
message "message 7"

will Show all of them and all will be reported in the history file.
even if there are other codelines between (if they have low excecution time)



anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,492 2,492
    • View Profile
    • DD Metal Products Ltd
Re: Messaging is wrong
« Reply #2 on: April 20, 2018, 03:48:19 AM »
ok thanks
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives