Texas Instruments TLV320AIC3107EVM-K Network Card User Manual


 
4.14CommandLineInterfaceTab
www.ti.com
TLV320AIC3107EVMSoftware
AsimplescriptinglanguagecontrolstheTAS1020ontheUSB-MODEVMfromtheLabView™-basedPC
software.Themainprogramcontrols,describedpreviously,donothingmorethanwriteascriptwhichis
thenhandedofftoaninterpreterthatsendstheappropriatedatatothecorrectUSBendpoint.Because
thissystemisscriptbased,provisionismadeinthistabfortheusertoviewthescriptingcommands
createdasthecontrolsaremanipulated,aswellasloadandexecuteotherscriptsthathavebeenwritten
andsaved(seeFigure30).Thisdesignallowsthesoftwaretobeusedasaquicktesttoolortohelp
providetroubleshootinginformationintherareeventthattheuserencountersproblemwiththisEVM.
Figure30.CommandLineInterfaceTab
Ascriptisloadedintothecommandbuffer,eitherbyoperatingthecontrolsontheothertabsorbyloading
ascriptfile.Whenexecuted,thereturnpacketsofdatawhichresultfromeachcommandaredisplayedin
theReadDataarraycontrol.Whenexecutingseveralcommands,theReadDatacontrolshowsonlythe
resultsofthelastcommand.Toseetheresultsaftereveryexecutedcommand,usetheloggingfunction
describedinthefollowingtext.
TheFilemenu(Figure31)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,
whichterminatestheTLV320AIC3107EVMsoftware.
SLAU261November2008TLV320AIC3107EVM-K31
SubmitDocumentationFeedback