To Pause Command File Execution - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

Command files requiring parameters must have those parameters supplied by the
calling command file as part of the call. Failure to supply the parameters causes an
error and a halt of the calling command file.
Example
The first command file (named "cmdfile1") calls the second (named "cmdfile2")
and then executes a single instruction after control returns.
cmdfile1:
cmdfile2
display memory
cmdfile2:
load configuration democfg
load demo

To pause command file execution

• To pause execution of a command file until the SIGINT (<CTRL>c) signal is
received, use the wait command.
• To pause execution of a command file for a specific amount of time, use the wait
<time> command, where <time> is in seconds.
• To pause execution of a command file until a trace trigger has been found and the
trace buffer is filled, use the wait measurement_complete command.
You may want to add a delay to a command file under certain conditions. For
example, you may want to execute a command file up to a certain point, have it
display a screen, and then pause while you examine the output on the screen.
Place wait measurement_complete in your command file following a trace
command to ensure that the trace completes before command file execution
continues. This ensures that subsequent trace display or trace copy commands use
the new trace states, not states from a previous trace.
Chapter 3: Using the Emulator/Analyzer Interface
Creating and Executing Command Files
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents