SLAU915 May 2024 ULC1001
The GUI register read/write operations can be recorded in a script file, stored, and replayed as needed. Saving and running a recorded script is similar to saving and loading a configuration file, as described in Section 3.3.5.2. However, a script recording has the benefit of saving the exact sequences of GUI button clicks and setting changes.
The Script Recording Window is launched from the Script Menu, as shown in Figure 4-24, or by the shortcut in the Tools Bar. The Python Recording Window flashes green, as shown in Figure 4-25, when the Start Recording button is pressed. The window turns white when Stop Recording button is pressed.
A Script can be saved as shown in Figure 4-26 and a script can be re-opened and run as shown in Figure 4-27. Some commands require a wait time for the system to initialize or be put into active mode. Inserting the Python Time library and using wait commands is possible.