UG-1635
Rev. 0 | Page 16 of 30
LOADING A SCRIPT FILE
The GUI allows the user to load a sequence of register
commands from a file. Within the GUI window, there are two
dropdown menus under the
Activity Log
section where the
user can select the script file and which section of the script to
run. Click a dropdown menu, choose the script by name, and then
click the dropdown menu again to load the selected script. The
Activity log displays the register writes issued from the script.
2141
9-
034
Figure 33. Script File Loading Dropdown Menus
The script file is located in the
ADIN1300
folder and is named
registers_scripts.json
21
41
9-
035
Figure 34. Script File Location
The register commands can be loaded with either the register
name or the register address, as shown in the simple examples
in the file. The commands are loaded sequentially. Create the
sequence of write commands using a text editor. Ensure that the
exact syntax is copied and match the register names with those
in the data sheet to prevent errors reported in the activity log.
Give the script a unique name. For when the
SftPd Down&Up
routine is selected, see the following example:
{
Name: SftPd Down&Up,
RegisterAccesses: [
{
MemoryMap : GEPhy,
RegisterName: SftPd,
Value: 1
},
{
MemoryMap : GEPhy,
RegisterName: SftPd,
Value: 0
},
]
},