Texas Instruments TLV320AIC3007EVM-K TV Converter Box User Manual


 
4.14CommandLineInterfaceTab
TLV320AIC3007EVMSoftware
www.ti.com
AsimplescriptinglanguagecontrolstheTAS1020ontheUSB-MODEVMfromtheLabView™-basedPC
software.Themainprogramcontrols,describedpreviously,donothingmorethanwriteascriptwhichis
thenhandedofftoaninterpreterthatsendstheappropriatedatatothecorrectUSBendpoint.Because
thissystemisscriptbased,provisionismadeinthistabfortheusertoviewthescriptingcommands
createdasthecontrolsaremanipulated,aswellasloadandexecuteotherscriptsthathavebeenwritten
andsaved(seeFigure29).Thisdesignallowsthesoftwaretobeusedasaquicktesttoolortohelp
providetroubleshootinginformationintherareeventthattheuserencountersproblemwiththisEVM.
Figure29.CommandLineInterfaceTab
Ascriptisloadedintothecommandbuffer,eitherbyoperatingthecontrolsontheothertabsorbyloading
ascriptfile.Whenexecuted,thereturnpacketsofdatawhichresultfromeachcommandaredisplayedin
theReadDataarraycontrol.Whenexecutingseveralcommands,theReadDatacontrolshowsonlythe
resultsofthelastcommand.Toseetheresultsaftereveryexecutedcommand,usetheloggingfunction
describedinthefollowingtext.
TheFilemenu(Figure30)providessomeoptionsforworkingwithscripts.Thefirstoption,Open
CommandFile...,loadsacommandfilescriptintothecommandbuffer.Thisscriptthencanbeexecuted
bypressingtheExecuteCommandBufferbutton.
ThesecondoptionisLogScriptandResults...,whichopensafilesavedialogbox.Choosealocationfora
logfiletobewrittenusingthisfilesavedialog.WhentheExecuteCommandBufferbuttonispressed,the
scriptruns,andthescriptalongwithresultingdatareadbackduringthescript,issavedtothefile
specified.Thelogfileisastandardtextfilethatcanbeopenedwithanytexteditorandlooksmuchlike
thesourcescriptfile,butwiththeadditionalinformationoftheresultofeachscriptcommandexecuted.
ThethirdmenuitemisasubmenuofRecentlyOpenedFiles.Thisissimplyalistofscriptfilesthathave
previouslybeenopened,allowingfastaccesstocommonlyusedscriptfiles.ThefinalmenuitemisExit,
whichterminatestheTLV320AIC3007EVMsoftware.
30TLV320AIC3007EVM-KSLAU286June2009
SubmitDocumentationFeedback