VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2009-08-07 14:00:52

MIKEFITZ
Member
From: Chicopee, MA
Registered: 2009-06-18
Posts: 104

logger display

hello everyone. i was curious to know how, if possible, to make the logger in 6.1.2 display the name of the subroutine being used as it happens.

for example:
M98P83
logger would display:
Subroutine 83.

this might be one of those issues that im making more difficult than it needs to be, but if someone could clear me up on this subject i would really appreciate it. thanks in advance.


Mike
Hoppe Tool

Offline

#2 2009-08-07 17:53:44

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: logger display

In the control > Word/Address, under Register

P * with M98

add Variable 99999   (this will assign the value defined by P)

Add the macro MessageMacro
Override Value = 2 (will output a warning message to the logger)
Override Text =  Called Subroutine Number is: {#99999}
---- in the override text, you can pass a numerical value from a variable or a calculation if between { }

If you have in your program, M98P1234, you will get in the Logger, Called Subroutine Number is: 1234

In 6.2, we added Info > Call Stack
This new feature allows you to follow which subroutine is called, which line called it and which level of subroutines are you in.

Offline

#3 2009-08-07 18:10:31

MIKEFITZ
Member
From: Chicopee, MA
Registered: 2009-06-18
Posts: 104

Re: logger display

thanks serge! youre a great help!


Mike
Hoppe Tool

Offline

Board footer