Datasheet

Table Of Contents
PICkit™ Serial Analyzer User’s Guide
DS51647C-page 36 © 2009 Microchip Technology Inc.
4.8 SCRIPT EXECUTE
The Script Execute window is shown in Figure 4-10. Once scripts are created using the
Script Builder, they can be assigned to buttons in the Script Execute window. This
makes a convenient window to execute multiple scripts either individually or iteratively.
Script executing will be logged in the Transactions window. The Script Execute window
is opened by selecting Communications > Script > Script Execute
from the menu bar.
FIGURE 4-10: I
2
C™ SCRIPT EXECUTE
4.8.1 Assignable Buttons
User created scripts will be displayed in the central I
2
C Scripts column. To assign a
script to a button, click on the script name and drag it to the desired Assignable Buttons
in the right column. The script will be executed once each time the button is clicked.
The Assignable Buttons can be cleared by clicking on the Clear Buttons button.
4.8.2 Iteration
Scripts can be executed a user-defined number of times at a specified interval of time.
Figure 4-11 shows an example. A script named Read_Memory has been assigned to
the Iteration button in the left column. The number of iterations are entered in the
Iterations box and the delay in millisecond in the Delay box. A summary of the iterations
is displayed in the left column. The macro is executed when the Iteration button is
clicked.