FAQs for PRACTICE


The embedded tools company

Search FAQs



PDF document ( 18KB / 10-Oct-2019 )


Using macros inside PRACTICE dialogs

Ref: 0466
Is it possible to use PRACTICE macros inside dialogs?

Yes. You should add the character "&" at the beginning of thr dialog block, otherwise macros won't be expanded inside that block.

DIALOG.view
(
&
...
)


WinPrint doesn't print the whole content of a TRACE32 window

Ref: 0459
WinPrint doesn't print the whole content of a TRACE32 window (e.g. FPU.view) to a file, I only get a part of the window printed.

If the window you want to print is bigger that the screen, then you will get only the upper part of it using WinPrint.
To get the whole window, you should use WinPRT and WINPAN instead.
Example:
PRINTER.FILE fpu.txt /APPEND ; fpu.txt should be empty
WINPOS ,,180. 40. ,,, MYWIN FPU
WINPAN 0. -999.
SCREEN.WAIT ; necessary to update the screen after WINPAN if executing within a PRACTICE script
WINPRT MYWIN ; print first part
WINPAN 0 40. ; scroll down
SCREEN.WAIT ; update screen
WINPRT MYWIN ; print second part





Copyright © 2019 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 10-Oct-2019