
NXP Semiconductors
UM11379
UJA116xA evaluation boards
6.4.6 Working with the script editor
Selecting tab 'Script editor' opens a tool for creating, executing, loading and saving
command sequences ('scripts') used for reading from or writing to registers. RGB LED
) can also be included in such scripts.
Figure 37. Script editor window
The commands available for the UJA116xA-EVB are listed in
be typed directly into the 'Commands' window, or constructed step-by-step using the
selector tools in the left column. A script can also be loaded from a file.
Once a script is complete, it can be saved to a file and/or executed once by clicking on
the corresponding button
(
and/
or⏵).
Help text is displayed when the mouse pointer is
hovered above these buttons.
Script execution is logged in the 'Results' window.
If the infinity option (∞) is selected when the script is executed, it runs continuously in
a loop.
The⏵button
changes to
✋
when a script is running. Execution continues until
halted by clicking the
✋
icon. The ∞ option should not be used when the script includes a
PAUSE command. If this happens by accident, it may be necessary to abort the FlexGUI
application with the help of Windows Task Manager.
Command
Parameter 1
Parameter 2
Parameter 3
Parameter 4
Purpose
SET_REG
device name
register group
register name
value
write to a register
GET_REG
device name
register group
register name
n/a
read from a register
SET_DPIN
device name
MCU pin name
pin value
n/a
control RGB LED
PAUSE
message text
n/a
n/a
n/a
wait for user
//
comment text
n/a
n/a
n/a
comment
Table 19. Syntax for script editor commands
[1]
The PAUSE command should not be used when the auto-repeat option (∞) has been selected.
UM11379
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 1 — 23 April 2021
42 / 56