www.ti.com | TLV320AIC3107EVM Software |
4.14 Command Line Interface Tab
A simple scripting language controls the TAS1020 on the
Figure 30. Command Line Interface Tab
A script is loaded into the command buffer, either by operating the controls on the other tabs or by loading a script file. When executed, the return packets of data which result from each command are displayed in the Read Data array control. When executing several commands, the Read Data control shows only the results of the last command. To see the results after every executed command, use the logging function described in the following text.
The File menu (Figure 31) provides some options for working with scripts. The first option, Open Command File..., loads a command file script into the command buffer. This script then can be executed by pressing the Execute Command Buffer button.
The second option is Log Script and Results..., which opens a file save dialog box. Choose a location for a log file to be written using this file save dialog. When the Execute Command Buffer button is pressed, the script runs, and the script along with resulting data read back during the script, is saved to the file specified. The log file is a standard text file that can be opened with any text editor and looks much like the source script file, but with the additional information of the result of each script command executed.
The third menu item is a submenu of Recently Opened Files. This is simply a list of script files that have previously been opened, allowing fast access to commonly used script files. The final menu item is Exit, which terminates the TLV320AIC3107EVM software.
31 |
Submit Documentation Feedback