4.13 Command Line Interface Tab - Texas Instruments TLV320AIC3109EVM-K User Manual

Table of Contents

Advertisement

www.ti.com

4.13 Command Line Interface Tab

A simple scripting language controls the TAS1020 on the USB-MODEVM from the LabVIEW™ based PC
software. The main program controls, described previously, do nothing more than write a script which is
then handed off to an interpreter that sends the appropriate data to the correct USB endpoint. Because
this system is script-based, provision is 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. The Command Line Interface tab is shown in
be used as a quick test tool or to help provide troubleshooting information in the rare event that the user
encounters problem with this EVM.
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 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 paragraphs.
The File menu depicted in
Command File..., loads a command file script into the command buffer. This script can then be executed
by pressing the Execute Command Buffer button.
The second option, Save Command File..., opens a save dialog box and then saves the text loaded in the
Command Buffer into a text file defined by the user.
The third 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, will be 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.
SLAU738 – September 2017
Submit Documentation Feedback
Figure 28. Command Line Interface Tab
Figure 29
provides some options for working with scripts. The first option, Open
Copyright © 2017, Texas Instruments Incorporated
TLV320AIC3109EVM Software
Figure
28. This design allows the software to
TLV320AIC3109EVM-K
31

Advertisement

Table of Contents
loading

Table of Contents