Datasheet
www.ti.com
6.9.1 Command Line Interface Tab
Kit Operation
A scripting language controls the TAS1020B on the USB-MODEVM from the LabView™-based PC
software. The main program controls, described previously, only write a script which is then transferred to
an interpreter that sends the appropriate data to the correct USB endpoint. Because this system is
script-based, provisions are made in this tab for the user to view the scripting commands created as the
controls are manipulated, as well as load and execute other scripts that have been written and saved (see
Figure 15 ). This design allows the software to be used as a test tool, or to provide troubleshooting
information in the event that the user encounters a problem with this EVM.
Figure 15. 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 is displayed in
the Command History Data array control. When executing several commands, the Command History
Data control only shows the results of the last command. To see the results after every executed
command, use the logging function described below.
The File menu (Figure 16 ) provides some options for working with scripts. The first option, Open
Command File..., loads a command file script into the command buffer. This script is then 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.
22 TLV320DAC32EVM and TLV320DAC32EVM-PDK SLAU201 – November 2006
Submit Documentation Feedback