THE MAIN WINDOW..............................................................................................................................................4
THE COMMANDEDITOR........................................................................................................................................7
RADIO GROUP.............................................................................................................................................8
Serial Command...............................................................................................................................................................10
SYSTEM CONFIGURATION....................................................................................................................................13
HOST COM SETTINGS...........................................................................................................................................14
UPDATING THE FIRMWARE..................................................................................................................................17
DOWNLOADING THE CONFIGURATION................................................................................................................18
UPLOADING THE CONFIGURATION......................................................................................................................19
APPENDIX E–XML DRIVER FILE FORMAT EXAMPLE............................................................................................34
APPENDIX F –DEFAULT.SCH................................................................................................................................35
APPENDIX G –TROUBLESHOOTING GUIDE...........................................................................................................36
3
Introduction
Typicallyin installations thatutilize mechanicalswitch panels forA/Vcontrol,installers andusers runinto difficultiesin settinguptheseswitch panels. Thesedifficulties arisefromhave tophysicallychange theswitch labels,andhavingtointerpretdifferingdepthsoffunctionalityie. Abuttonmayhave multiple functions basedonthe currentmode. TheTekTouchPadovercomesthese difficulties byprovidingprogrammable buttons thatmaybepaged via anLCDtouchscreen,so thateach buttonhas a discrete function,and nointerpretationis needed. In ordertoprovidea means ofsettinguptheTekTouchPadforeach specificuse,aconfigurationutilityisprovided. TheTekTouchPadConfiguration utilityprovides a simplifiedmeans ofdefiningandconfiguringyourTekTouchPadforuse. This manualwilltake youthroughthesteps necessaryto create a buttonpage definitionand subsequent loadinginto theactualdevice for use. Thequickstartsectiongives a minimalprocessfordefiningaquicksetupifnocustomcoloraspectsare required.
Operational Discussion
TheTekTouchPadfirmware consists oftwo modules, thebootloaderand main graphics,process,andcommunications codeblock. Thebootloader andmaincodeblockare typically loaded at thefinalassemblysite. Withouta panelconfigurationloaded, theunitwillgenerate adefaultpanelconfigurationforoperationalverification priorto finalsetup. Whentheunitis firstpowered up,itexecutesthebootloadercode forapproximately10seconds as indicated bya LEDflashingonthePCBat abouta halfsecond interval. Oncethetime is expired,theunitprogresses intothemaincode block forexecutingtheLCD/Touch panelreducingtheLEDblink rate to about1 second. Thescreen willproceedto preload the configuredpagesprior todisplayingthelogo screen. This is shown by a progress indicatoronthe screen priorto logodisplay. Ifnologo is loadedinto theconfiguration space, theunitwillproceeddirectlyto thefirstdefined buttonpage. Movingtodifferentdefined pages is accomplished via thestatic paging buttons locatedat thebottomoftheLCDscreen. Ifnofurtherpages are defined, nofurtheraction willoccurfromtouchingthepagingbutton. Defined buttonserialcommandsare sentoutthrough theserialcommunications channelat the defined operationalcommunications settings,seeCommand Editor. An interactive protocolisalso supportedto allowfor issuing touchpad commands via theserialport,and queryingtouchpad status information,see AppendixC,TouchPadInteractive Protocol.
The Main Window
TheMain Windowis the accesspoint forthemajorityoftheoperations oftheconfigurationutility. Itis organizedinto 4 pages of8 buttons muchlike theactualTekTouchPad. Thisorganization allows for viewingallthedefined buttons onone screen alleviatingtheneedto tabto otherpages to verifywhathas beendone. The definitions ofresourcesand file operations are accessedvia themain menu operations,“File” and “Resources”,while communications andglobalsetup parameters are foundin the“options”menu. The“Help” functionallows for accessofthis documentand links to furtherinformation. The“Page 1 Scheme –Page 4 Schemeselections allowfor theoverallpage appearance, specificallydefiningbackgroundcolor,static
4
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
button,and defaultbutton colorifnototherwise defined within thebutton. Thedefaultscheme issuppliedwith thesoftware,and is defined in AppendixD. This scheme should notbemodified,and a newschemecreatedand selectedifdiffering globalschemeparametersaredesired.
FileMenuOptions
NewProject–Resets allcurrentconfiguration data to defaultstateand creates an
emptyproject.
Open Project–Allows foropeningasavedTekTouchPad projectfile.Save Projectas –Allows for savinga defined TekTouchPadprojectfile or to a new
commanddefinitions to beutilizedin theSerialCommand dialogoftheCommandEditor,seeCommandEditor.
ImportProject–Allows for importing a projectthathasbeenarchived,ExportProject-
MainStartupWindow
5
Resources MenuOptions
Color Schemes –Allows for modifyingorcreatingnewcolor scheme formats.
Assignsa uniqueIDto the scheme andstoresitawaywith a sch extension.
Bitmaps –Allows forimportingbitmapsinto thesystem. Takes a.bmp file and tags it
with a uniqueIDandadds a tkb extension.
Fonts –Allows for importingfonts into thesystem. Takes a .bin file and tags itwith a
uniqueIDandadds atkfextension.
Options MenuOptions
Host ComSettings –Sets thecurrentconnectioncommunications settings.PanelSystem Settings –Allows forsettingtheglobalTekTouchPadsystemsettings.ResetTouchPadConfig–Resets a customTouchPadbuttonconfiguration to
internaldefault.
ResetTouchPadSplash–Resets thedefined splashscreen to nosplashscreen.ResetTouchPad–Causes a TouchPadresetto occur.StatusView–Provides a reportofbuiltin testresults frompanelself-test.Path Settings –Setsthelocations ofthevarious TekTouchPadfiles.
HelpMenuOptions
Contents–Produces this document.About –Displays thecurrentversion and copyrightdata.
ButtonContext MenuOptions
Right clickingonone oftheprogrammable buttons onthemain panelcreates a contextmenu:
Copy–Copies allconfiguration data pertainingtotheclickedbuttontotheclipboard.Paste–Pastes allconfigurationdata contained in theclipboard to the selected
Clear–Resets thebutton to its default“Undefined”state.Whenclearedthis button
willnotbeshown.
Page Title
Atthetopofthescreen a page title canbeadded. Addinga title willshrinkthebuttons and shiftthem
down. Clickingon“PageTitle” displays thePage Title
dialogto enter thetextand color scheme. The colorschemeneeds to bedifferentfromthebackground.
6
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
The CommandEditor
Clickingonanyconfigurable buttononthemain windowwilllaunchtheCommandEditor.TheCommand Editor is themain windowfor buttondefinition,and includes manyfacets ofbuttoncharacterandoperation described below.
ButtonID
This is theIDdefined to thebuttonand indicates thepage and buttonnumberofthespecific button. This valueis assigned bythesystem,and cannotbechanged.
ButtonLabel
In order to enable a buttonfordisplay itmust have aname otherthan “Undefined”.TheButtonLabelentryis what willappear onthetouch screen buttonwhen configured. Thislabelmaycontain upto twolines ofdata ofvaryinglengths dependingonfontsize. Ifthelengthsare toolong,thecharacters willbetruncated ontheactualbutton. Ifitis desiredto disable thebutton,return thevalueto “Undefined”or Right-Clickto select Clear. Ifitisdesiredto nothave anytextappear ona buttonas in thecaseofa bitmap button,simplyclearthefield.Use CtrlEntertocreate asecondline.
7
CommandEditor Window
Type
Thetypeofabuttondefines thebuttonoperationalmode and canbe;Toggle,Radio, orMomentary. TheToggle typebuttonwilltoggle on and offwith subsequent pushes. TheRadio buttonusuallybelongs to a group ofbuttons,and when itis pressed,allotherbuttons ofthesame groupare released. TheMomentarybuttonis onlyactive when itis pressed,and releasesautomaticallyafterthetouch is removed.
RadioGroup
TheRadio Group defines thegroup numberassociated with a Radio typebuttonandidentifieswhich buttonsbelongto thesamemutuallyexclusive group. Allothertypebuttonsdefaultto a0 groupnumber.
Scheme
Thescheme ofthebutton definesthebuttons appearance suchas normaland selectedcoloringalongwith fontinformation. Schemes are defined through theResources/ColorSchemes menu optionofthemain window. Theparticular defined scheme is then selected for this buttonthrough this window.Schemes createfiles thatare keptin theprojectdirectoryand end in .sch. These files canbecopiedto otherprojectdirectories tobeused.
Bitmap
TheBitmapselectionis used to select a bitmapfor thefaceofa button. This bitmapwillnotchange when thebuttonis selected or deselected so itis suggestedthat theschemeedge colors besignificantlydifferentbetween selectedand normalso thata pressedconditionis easily identifiable. Bitmaps areadded to thesystem through theResources/Bitmaps menuoptionofthemainwindow,seeAddingBitmaps. Theparticular defined bitmapis then selected for thisbuttonthrough this windowitem. Thesource bitmapsshould bedefined as95x6024bitbmpfiles priorto import. Ifitisdesirednotto have thebuttonlabeloverlaythebitmapduringoperation,clearalltextin thebuttonlabelentryfield.
ControlGroup
TheControlGroupdefines a setofmutuallyexclusive buttonsasa collectionofcontrolsto beresetbya single command.This is independent oftheRadio Group number,anddefines a “block” ofbuttons which may span severalpages.Itis possible to overlap ControlGroupsand Radio Groups.
Repeat
TheRepeatcheckboxinsertsthecommandsforrepeatinga sequenceofcommands inthePress Command Script. Checkingthis boxgenerates anotherdialogallowingtheentryofthetimeintervalin 10ms incrementsbetween repetitions. The commandsfollowingtheRepeatinstruction are repeated attherate defined.
8
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
ASCII
TheASCIIcheckboxallows commands to bedisplayedinASCIIformat. Un-checking this boxdefaults to aHexformatdisplay.
Released–thebuttonassumes a releasedstate without executingassigned
commands
Flashing–thebuttongoes into a flashingstate untilanothercommand is
receivedor executed.
This functionis primarilyused to reflectactions takendirectlyonexternaldevices byusers andprovideappropriate feedback as to the currentstate ofthecontrolleddevice. As anexample, ifthematch pattern were set to“HDMI3”andaction set to “Pressed”,thetouch pad willlistenonthecommunications linefor a serialstringsequencecontaining“HDMI3”. Ifdetected,thetouch pad would then placethebuttonassociatedwith thefeedback pattern ina pressedvisualstate.
Eachdefined feedbackstring-command pairis insertedinto theFeedbackListoftheCommand Editorwindow. Right clickingin theFeedbackListareaoftheCommandEditor windowalso provides a contextmenu for feedbackcommands,the menu itemsare:
Add–generatesfeedbackdialogforaddingfeedbackcommands into the
Feedback List
Edit–generates feedbackdialogforeditingfeedbackcommands in the
Feedback List
Delete –deletestheselectedfeedback commandin theFeedback List
Double clickingonanyfeedback command in the FeedbackListgenerates thefeedback dialogforeditingthefeedback itemselected.
9
CommandList
This listcontainsthecommandswhich maybeassociatedwith a buttonpress orabuttonrelease. Theyconsistof:
These commands maybe insertedinto thepress or release command script windows byeitherdraggingand droppingtheminto theirrespective lists,or by leftor rightmousedouble clicks onthem.Theleftmouse double clickwillinsertthecommand into thepress script listwhile therightmouse double clickwillinsertthecommand into therelease script list.Eachofthese commandswillbediscussed infurtherdetailbelow.
SerialCommand
TheSerialCommand assigns theserialtransmitstringto a buttonpress or release. Oncethecommandis selectedbyeitherdouble clickingor dragand drop,theSerialCommanddialogis displayed.Thedata maybeentered byeithertypingcharactersdirectlyinto theSerialCommand fieldor bydouble clickingonanitem in theCommand List. To usethecommand listyoumustfirstselecttheOpen DriverTemplate fromtheFile menu option.Data is entered in ASCIIcharacterformatorhexformat byprecedingthehexvalues bya backslasheg.\0D. Carriage return
and/orlinefeed maybeindicated by“\r”and “\n”also. To applytheentereddata totherespective buttoncommand,clickon“OK”which returns to theCommand Editor
dialog.
Oncea command is selected,theName ofthecommand is displayed.This name isalso displayedontheCommand Editor dialog after selectingthecommand andhoveringover thecommand.
10
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Delay
TheDelaycommand causes a delayofn * 10ms tooccurwhenever executedin thescript list. Oncethecommand is set eitherbydouble clickingor drag anddrop,anotherdialogpops upallowingfortheentryof thedelayparameter. Toapply thedelayto thelist,
clickon“OK”which returns controlto theCommand
Editor dialog.
ButtonPress
TheButtonCommand allows fordefininga buttonpressorbutton release ofanydefined button. Oncethe command is seteitherbydouble clickingor dragand drop,anotherdialogpops up allowingfortheentryofthebuttoncommand parameters. ThePageNo. defineswhich page thebuttonresides and theButtonNo. defineswhich buttononthepage to press orrelease. ThePress orRelease selections definetheactiontotakeonthe identifiedbutton. To applythecommandto thelist,clickon“OK”which returns controlto theCommandEditordialog.
Lamp Command
TheLamp Command allows for definingthevisualaspect changes ofa buttonwhen pressed or released. Once thecommandis set eitherbydouble clickingor draganddrop,anotherdialogpops upallowingfortheentryofmutuallyexclusive lampcommand parameters:
This optioncauses a buttonto flashat 1 secondintervals betweenits onand offstates.
Color
TheColor optionallows for settingthebuttonfacetoa userselectable color.
Allcommands have the“Applyto All”optionwhich willapplytheaction to alldefinedbuttons. To applytheLamp Command to thelist,clickon“OK”which returns controlto theCommandEditordialog.
GotoPage
TheGoto Page provides a command toswitch displaypagesprogrammatically. Oncethecommand is set eitherbydoubleclickingordragand drop,anotherdialogpops upallowingfor theentryofthebuttoncommand parameters. ThePage No.defines which page toswitch while thePress orRelease options determinewhichphaseofthebuttonactionto execute thepage switch on. To applytheGoto Command to thelist,clickon“OK”which returnscontrolto theCommand Editor dialog.
Output
Currentuseoftheoutput allows fora logic outputtocontrolarelayor otherdevice. Theoutputcanbesetto Open or Closed.Tocreate a pulse place theClosed status in thePress sideand theOpen statusin therelease.
12
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
SystemConfiguration
TheSystem Configurationis accessedbymenu item “Options”sub-item “PanelSystemSettings”locatedatthetopofthemain window. These settings are used to configure the
TekTouchPadstartupoperations.
SplashScreen
TheSplashor Logo Screen variableallows for selection ofa Splashor Logo bitmapfileto useas theSplashorLogo screen. This bitmap should bein a 240 x400,24bitpixelformatwith noAntialiasingonTextto displayproperly. If“None”is selected, there willbenodisplayofanySplashor Logo screen during thestartupprocess. Use theBrowse buttonto locate thebitmapfile ifithas notbeenimportedvia the“Resources”“Bitmaps”optionpreviously.
SplashTimeout
TheSplashScreen or Logo Timeoutvaluedescribes theamount oftime in seconds thattheSplashor Logo screenis displayedpriorto display ofthebuttonpanel. This valuemaybeanynumberofwhole seconds.
ScreenTimeout
TheScreen Timeout defines theamountoftimeofnon-use priortoplacingthedisplayinto a sleep mode. This feature is suppliedin order to prevent“burn-in” ofimages onto
13
the LCDscreen. Thisvalueis delineated in wholeminutes,and defaultsto5 although amoretypicalvaluewouldbearound30minutes.
Passcode
ThePasscodevalueisa fourdigitnumberthat defines a uniquepasscode for thisdevice, and is typicallyusedforqualifyingcommandorload accessto theunit.
TekLink –Future
Invert Screen
When theTekTouchPad is mounted ona wall, its viewingangle is invertedcausingcolors tobewashedout.To solve this issueyoucanmounttheTekTouchPadupsidedown and select InvertScreen.
OperationalCommunications
TheOperationalCommunications variables definewhatthecommunications configuration should befor theTekTouchPadto controltheexternaldevice. This is typicallyset upfor 9600baud,noparity,8 databits,and 1 stopbit. Anyconfigurationmaybedefined fromthese entries and programmedtotake effectat thenextTekTouchPadstartup.When this is changedfrom 9600baud,itis necessaryto aloschange thebaudin theHost Com Settingsthenexttime youconnectto theTekTouchPad.Itis bestto leave a note with theTekTouchPadtoremindyouor thenextpersonthatthisTekTouchPadis setto adifferentbaudrate.
LoadCommunications
TheLoadCommunications variables definewhattheROMload communicationsisfortheTekTouchPad. This is typicallyset upfor115200, noparity,8 data bits,and 1stopbitin orderto decreaseloadingtimesfortheunit.
HostCom Settings
TheHost Com Settings windowprovides ameans ofmanuallysettingtheoperationaland load serialportrates. Loadingbitmaps and ROMupdates into thetouch pad cantake a longtimeiftheunitis set fortheoperationalrate of9600baud. Theload rate,which is usuallymuchfaster,provides a means ofloadingupdates and configurations quickly,and then returningtheunittotheoperationalrate. Thedefaultsforthetouch pad is 9600,none,8,1 fortheoperationalconfigurationand 115,200,none,8,1 fortheload configuration. Theload rate is transmittedtothetouchpad at operationalspeedpriorto transitioningto load parameters. Iftheload fails,thetouchpad willautomaticallytransitionback tothe operationalrate after15seconds.
14
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Creating Schemes
Creatingcolor schemesis one ofthepowerfulfeaturesoftheTekTouchPadand is accessedbyselection ofthemenuitems “Resources”sub-item“Color Schemes”. Thedefaultscheme loadedas shown givesa startingplacefornewschemecreation. AScheme canbeeditedandsavedtoa newfile name. AnyScheme file within theprojectdirectorywillautomaticallyload into theproject.Any otherexistentscheme maybeloadedusingthe“Scheme File” selection at thebottomofthedialog. Thescheme creationdialogallows for two views,thebuttonview(default)and thepanelview. Thebuttonviewdisplaywhatthebuttonwould look likein both pressed andnotpressed states. Thepanelviewdisplays whata complete panelof8 buttons would looklike displayed ontheTekTouchPad. When a scheme element is selected forediting,a color dialogappearsallowingforselectionofa color or definitionofa customcolor. Eachofthescheme elementsis described below:
Note:TheTekTouchPad utilizes 16bitRGB565 color definition,and translates between the24bitand 16bitorientation. This mayresultin theactualdisplayedcolor potentiallybeingofffromtheoriginallyselected color. Itis bestto test thecreatedcolors ona single buttonoftheactualunitpriortofullpaneldefinitions.
page mayhave a different color ifso desired. The backgroundcolor is onlyused forpage schemesselectedfromthemainwindow.
NormalFace–Defines thebuttonfacecolor in an offstate.Selected Face –Definesthebuttonfacecolor ina pressedstate.NormalText–Definesthecolor used for thenormalfacetextcolor inanoff
state.
Selected Text–Defines thecolorusedfortheselected pressedbuttonface textDisabled–Defines thecolor used fora disabledbuttonShadowEdge–Definesthecolor used forin anoffstate shadowededge. This
edge is usuallythebottomedge ofa non-pressed button,and is darkerthan theshineupperedge.
ShineEdge –Defines the color used for in anoffstate buttonshiningedge. This
edge is usuallythetopedge ofa non-pressed button,and is a lightershadeoftheshadowedge color.
Set ShadowEdge –Defines thecolor used for a selected pressed button
shadowededge. This edge is typicallythetopedge ofa selected button,and is a
15
darker shadeoftheshine bottomedge color. This color maybethesameas theShineEdge color innon-bitmaptypebuttons.
SetShineEdge –Defines thecolor used fora selected pressed buttonshining
edge. This edge is typicallythebottomedge ofaselected button,and is a lightershadeoftheshadowtopedge color. This color maybethesame as theShadowEdge color in non-bitmaptypebuttons.
Onceallthedesiredcolors have beenselected,thedefined scheme maybesavedby clickingthe“Save” button, and enteringa newfile name,or savinginto anexistingfile name. Whena schemeis saved,itis allocateda uniqueIDnumberattachedto thename. This allows for determiningdifferingschemes basedonanoriginalscheme ofthesame name. The“Update IDbuttonis anadvancedoption,and is used forcorrecting schemeswith duplicated IDs,seeAppendixG-TroubleshootingGuide.
Adding Bitmaps
TheBitmapSelection dialogmaybeaccessedviathemenu items “Resources”sub-item“Bitmaps”. Thislaunches a dialogforimportingexistentbitmaps forusein theTekTouchPadsystem. Ifthebitmapdesiredis locatedin theProgramData/TEKVOX/TekTouchPad/Bitmaps directory,itwillshowupin theselection listfor import. Bitmaps are then importedbyselecting a bitmapintheselection list,andclicking“Add”onthelower list. Thisaction willassign a uniqueIDnumberto thebitmapfile name allowingforversions ofthesame bitmap.
Anyimportedbitmaps mayalso beremovedbyselectinganimportedbitmapin thelower list
and clicking“Delete”. Bitmaps outsideoftheprogram data directorymaybeselected byusing the“Browse” buttonto select them. Oncea bitmapis selected,itis displayedina sidewindow
as showin theFigure. Selectingan importedbitmapwillalso displayin thesidewindow. Bitmaps forbuttons maybecreatedthroughanypaint programand should have a95x60,24bitcolorbmpformat.
16
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
AddingFonts
TheFont Selectiondialogmaybeaccessedviathemenu items “Resources” sub-item“Fonts”. Thislaunches a dialogfor importingexistentfonts forusein theTekTouchPadsystem. Ifthefontdesired is locatedin theProgramData/TEKVOX/TekTouchPad/Fonts directory,itwillshowupin theselection listforimport. Fonts are thenimportedbyselecting thedesiredfontin theupperlist,and clicking“Add”onthelower list.This action willassign a uniqueIDnumberto thefontfile name allowingforversions ofthesame font. Anyimportedfonts mayalso beremovedbyselecting animportedfontin thelistand
buttonto select them. Refer to AppendixBfor the listofsystem suppliedfonts,and methods to importadditionalfonts.
Updating the Firmware
Occasionallythere is aneedtoupgradethemain firmware oftheunit.Before startingthe
process getthelatestfirmware byselecting“GetUpdates”in theOptionmenu. Youmusthave
aninternetconnection.
Before sendingthenewfirmware itis bestto make certain youhave thecorrect serialportsettingsandwire connections made bygettingtheROMversion bypressingthe“Get Version”button.IftheROMversion is notreturned and theTime Outmessage is displayed,youneedto checkforthecorrectCom Portand connections.From thePCtheRS-232cable requiresa NullFemale to Female cable.Ifyouarenotcertain theROMin theTekTouchPadis notthelatest,go aheadand updatedtheROMbypressing“ROMUpdate”.
When usinga USBto serial,itis necessaryto determinethecorrectCom port.This canbefoundin Device Managerunderports.
17
To load newfirmwareclickonthe“ROMUpdate”buttonlocatedonthebottom ofthemain panel.Aload progressdialogwillappear givingthenumberofblocksloaded.Typically400 blocks are requiredfor a fullROMupdate.Oncetheload is completed,theprogresswindowdisappears,and theTekTouchPadresets.
Downloading the Configuration
Oncealltheschemes,bitmaps,fonts,and button definitions have beencompleted,theprojectmaythen be sentto theTekTouchPad.Before sendingtheprojectitis bestto make certain youhave thecorrect serialportsettings and wireconnections made bygettingtheROMversionbypressingthe“GetVersion”button.IftheROMversion is notreturned and theTimeOutmessage is displayed,youneedto check forthecorrectCom Portand connections.FromthePCtheRS-232 cable requires a NullFemale to Female cable.Ifyouare notcertain theROMin theTekTouchPadis notthelatest,go aheadand updatedtheROMbypressing“ROMUpdate”.
To load theprojectinto theTekTouchPad,clickon the“SendConfig”buttonon thelower main screen.Ifcommunications iscorrect,theDownloadSetup dialogis displayed.This dialogallows for theselection oftheitems youneedto send to theTekTouchPad.BydefaulttheConfigurationData and SplashScreen(Logo page)are selected. These are theonlytwo youneedunless youare addingbitmaps and fonts.Ifthesplashscreen is alreadyloaded, theSplashScreenselection canbedeselectedwhich speeds uptheloadingprocess. Awarningdialogwillthen come uppriorto actuallychanging TekTouchPadconfiguration. Clickon“OK”tostartthedownload.
While loadingtheloadprocess popup is displayedshowingtheblockssentto theTekTouchPad.
18
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Uploading the Configuration
On occasion,itbecomesnecessaryto recover project files fromtheTekTouchPad. Thesystemprovides this feature usingthe“GetConfig”feature. Clickingthis buttondisplays a file locationdialogforcreatingthefolderwhere to placethe retrievedfiles.Another“GetConfig” dialogisdisplayedpromptingtheuserfor thetypeofdataitemsto retrieve.Oncethedesireditems are selected,click
directory. Anyfiles uploaded which are duplicates of existingfiles,suchas bitmapfiles,are appendedwith acharacterA-Z untiltheconflictis resolved. This sameprocess is followedfor theFont and Splash/Logofiles.
Pressingthe“Save” buttoncreates a newprojectwith
theretrievedconfiguration script.
Notes:
TheSplashScreen is notloaded into thenewprojectand willneedto be manuallyloaded by
selectingitfrom the“PanelSystem Settings”in theOption menu.Awarningmessage is
Thetouchscreenis pre-calibratedbyTEKVOXprior to shipping. Occasionally,however,itmaybecome necessaryto recalibrate thetouch module iftouch accuracyhas become degradedortheunitis loaded with aninvertedproject. This is accomplished byresettingtheunitwhile keepinga constanttouch pressureonthescreenforcingtheunitinto calibrationmode. Followthescreen instructions on completingthecalibrationprocess.
Notes:
Itis usuallypreferable to touch thecalibrationpoints with a stylus smaller than thecalibrationpoints toachieve thebestaccuracy.
To resettheunit,toggle power to thesystem,or ifthatis impractical,send the“~~R” command
to theunitvia serialportto initiatea resetcommand,seeAppendixD.
19
ButtonConfigurationStrategies
In workingtowards a newscreen layout,there are some strategies thatcanbetakento helpwith thebuttonpage creation. Thefirststepis todrawoutwhatbuttons areneeded. Secondly,workonbuttongroupings,are some buttons dependentontheoperationofothers. Thirdly,identifywhatthebutton operationalcharacteristics are;toggle, momentary,orradio typegrouped buttons. After identifyingthebuttongroupings,itshould bedecided howthelargestbuttongroup should beoriented. Willthelargestgroupingfitonone page,or spread acrossseveralpages, occupyingspecific rows. Common commands mayberepeated onone rowofeach page foravailabilitysuchas thevolume control. Otherapproaches mayconfinespecificfunctionalityoneach page eg. sourceselection onone page,controlcommandsonthesecondpage,andpossiblylighting controls onthethirdpage.
TheScheme definitionsforeachbuttonorgroupofbuttons should be suchthatcontrastbetween thefacecolor and thetextcolor is highestfor ease ofidentification. This mayrequiredifferenttextcolors forselected and non-selected buttons toimprove readabilityacross buttonstates.
20
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Usingbitmaps forbutton images takes a slightlydifferentapproach. After savingthedesired
which then enters theCommand Editor. Selectthebitmapfromthebitmapselection boxontheCommand Editordialog. Remove anytextfor the ButtonLabelentryto preventoverwritingonthebitmapasshown below. Oncetherestofthebuttonfunctionalityis defined, click onthe“OK”buttonto return to themain screen which should nowhold thenewbitmapbuttonimage. Rememberto chooseschemes with borderedges thatwilldifferentiate between pressed andnotpressed sincethebitmaps willremain constant between thetwo states.
21
BitmapButtons
BitmapButtonwith Selected Border
22
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Quick Start Guide
Thefollowingis a simple procedure to startworkingwith theTekTouchPad.
Updatingfirmware
1.Before startingtheprocess getthelatestfirmware byselecting“Get Updates”in theOption menu.Youmusthave an internetconnection.
3.Open the“HostComSetting”in theOption menu andselect thecorrectcomport
4.Checkforconnectionbypressingthe“Get Version”button.IftheROMversion is not returnedand theTimeOutmessageis displayed,youneedto checkforthecorrectCom Portandconnections.FromthePCtheRS-232 cablerequires aNullFemale to Female cable.
5.To load newfirmware clickonthe“ROMUpdate”buttonlocatedonthebottomofthemain panel.Aload progress dialogwillappear givingthenumberofblocks loaded. Typically400 blocks are required for a fullROMupdate.Once theload is completed,theprogresswindowdisappears,and theTekTouchPadresets.
Creatingandloadinga touchpanelconfiguration
1.ConnecttheTekTouchPadto a power source and hostcomputer via thesuppliedinterfacecableanda Female toFemale nulladaptor.
6.Clickonbutton1 ofpage 1.Awindowshouldappear as shown as below,with thedefaultschemeloaded,and thecurrentbuttonlabelset to“undefined”.
CommandEditorScreen
24
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
7.Clickinto the“ButtonLabel”box,and replace “undefined” with thedesiredlabelnomenclature,in this case “TEST”.Typicallywith thedefaultfont,youmayenter upto 9charactersperline. Use thecarriagereturntoenter asecondlineifdesired.
8.Double clickonthe“SerialCommand” optionlocated in theleftwindow. Anewwindowwillappear allowingforASCIIcommand data entryand select thecommand youwantthebuttontosendwhen pressed.Youcanalso enteryourown commands.
10.Nowselect the“SendConfig” buttontosend thedefined data to the TekTouchPad. Anotherwindowwillappear listingthedependencies requiredforthis configuration. Thereshould notbeanylistingssincewe are notdefininganycustombitmapsorfonts.
11.Make sure only “Configuration Data”is
selected,and then click the“OK”button. Again click“OK”onthewarning,and the
unitshould load very quickly. Onceloaded, theunitwillreset,and theconfiguration justdefined should appearwith onlyone buttonenabledas show.
26
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Appearance ofConfigured TekTouchPad
27
InterconnectDiagram
Model
TekTouchPad(78034)
LCD
a-Si color TFT LCD,Normallywhite type
Screen Size
3.0 inchWQVGA
DisplayFormat
240*RGB*400Stripetype
Backlight
White LED
ViewingDirection
12O’clock
ViewingArea
1.5”x2”
VoltageRange
12-24Volts
Temperatureand humidity
0-60 ℃(Temperature),0-95%RH
Size
W:2.77in /H:4.28in /D:.73Weight
0.2 lbs /1.00lbs Package
AppendixA–Specifications
28
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Appendix B –Breakout Cable
29
AppendixC–Importing Fonts
ThesuppliedTekTouchPadsystem includes basic fontstousein buttonlabelingincluding:
Occasionallythere is a needto add to thebasiclibraryoffonts. In orderto accomplishthis,anexternalutility,theGraphics Resource Converter,provided byMicrochip willberequired. This externalutilitymaybeobtained fromtheTEKVOXsoftware download page. Launch theconverter application and clickonthe“AddFonts”button. Fromthefileselection window,navigate totheC:\Windows\Fonts directory,andchoose fromtheavailable fonts. Once atruetypefontis selected,anotherwindowappears allowingselection offontsize and otherattributes. Make theappropriate selections and click “OK”.This willreturn tothemain screen fromwhich younowclickonthe“Convert”button. This willaskfor a file name and type. Navigate to the“ProgramData\TEKVOX\TekTouchPad\Fonts”directory,select “Binary(*.bin)”fromthe
30
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
“Save as Type”options,and typein anappropriate name fortheconverted font. Finally,click“Save” to completetheconversion,a “ConvertedSuccessfully”message should
appear confirmingtheoperation. Theconvertedfontshould nowbeavailable for importinto thesystemvia “Resources/Fonts”menu options,seeAddingFonts.
GraphicsResourceConverter
Selection SubFont
31
AppendixD–Interactive Touch Pad Protocol
GeneralCommandsDescription
~~V<CR>Gives theVersion ofthefirmware,returns:Vs.s,h.h<CR><LF> where s.sis thefirmware version andh.his thehardware version.
Occasionallywhen schemes or bitmaps are copiedinto theprogramdatadirectory,IDcollisions mayoccur,anda warningsuchas belowmayappear.
Ifboth schemes are utilized,then sayyes to keep theduplication, butwe willhave to fixthis later. To correcttheproblem,decidewhich scheme is lessusedand editthatscheme. Afterloadingtheschemeintotheeditor,save itagain, and when asked toupdate theID,sayyes. Theprojects thatusethis scheme willneedto be updatedto usethis newID’d scheme, else theywillusetheotherduplicate IDschemenotoriginallyintended fortheproject.
Resources –Bitmaps Errors:
When selectinga bitmapfromthe“BitmaptoAdd”listtheerroroccurs:
Orwhen selecting a bitmapfromthe“Browse” listtheerroroccurs:
36
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
This indicates abad .bmp format,and thefile should be replaced.
CommandEditorErrors:
When clicking“OK”onCommandEditor:
This errorindicatesthata specialhexcharacterwas added to a label,but was aninvalid hex charactereg./oDinstead of\0D.
When clicking“OK”onDelaysubcommand dialog:
Or
This indicates thataninvalid numeric ortoolarge a numeric was enteredfor thedelayvalue.
37
This errorindicates thata scheme forthebuttonwas notselected. Select “default”ifnoparticular scheme is desired.
This erroroccurs when a page numberenteredfalls beyond thedefined page numbers 1-4. Correctthenumbertofallwithin thelegalrange.
This erroroccurs when thebuttonnumberenteredfalls outofthedefinedbuttonrange 1-8. Enteravalid buttonnumberwithin thedefinedrange.
38
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
System ConfigurationErrors:
This errorindicates thataninvalid numeric was enteredinto thetimeoutorpasscodeboxes.
This errorindicates thatthedefault.schfile expectedis notpresentin the system. Usually,this means thattheIDassignedto this scheme differs fromthedefaultusedin a project. Thebestwayto fixthis is tofindtheoriginalprojectdefaultscheme,rename it,andreassign this newschemetotheoccurrences ofthedefaultin theproject.
39
This error indicates thata specific bitmapselected for a projectis nolongeravailable. Findtheappropriate bitmap,re-importit,ifnecessary,andthen re-assign ittothespecific button(s)asrequired.
This errorindicates thata specific fontselectedfora projectis nolongeravailable. Findtheappropriate font,re-importit,ifnecessary,and then re-assign itto thespecific scheme(s)asrequired.
This error indicates thattheexpectedsplash/logofile was notfound. Re-importthefile and re-assigntoprojectusingSystem Configuration.
40
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
This errorindicates thattherequestedportis alreadyin usebysome otherapplication. SelectanotherportutilizingtheHost ComSettings menuoption.
This errorindicates thatthesystem was notableto communicate with theunit. Checkcablingand HostComSettingsto makesure theoperationalratesaresetcorrectly.
This errorindicatesthattheoperationalrate negotiations passed,buttheload rate transactionsfailed. This is usuallycausedbya load rate com settings mismatch. Make sure theLoadersettingsin theHostComSettingsis setto 115200 baud,noparity,8databits,and1stopbit.
41
This errorindicatesthattheattemptto taketheTekTouchPadbackto operationalsettings fromload settings failed. TheTekTouchPadwillautomaticallyresetthese values backto operationalsettings within 10seconds ofload stall,so justwaitingthis periodwillallowfor restartingthisprocess.
Help –Contents Errors:
This error indicates thatthehelp pdffile was notlocated. This file should resided in theC:\ProgramData\TEKVOX\TekTouchPad\Documents directory. Ifnotthere, tryre-installingsoftware.
ROMUpdate Errors:
Thefirmware file was not foundin theC:\ProgramData\TEKVOX\TekTouchPaddirectory. Tryre-downloadingdrivers.
42
TekTouchPadConfigurationUser’s Guide
TEKVOX,Inc.
www.TEKVOX.com
Some AdditionalErrors:
Error:Could notread file fromdisk.
This erroris usuallycaused by permissions notgrantedto user. Checkuserpermissions onProgramData/TEKVOX/TekTouchPaddirectory.
Improperoperationalresponsefromunit:
This erroris causedbya handshakingproblem between thehostand theTekTouchPad. Makesure COMsettings are correct,and cablingis solid. Iftryingto load from operationalcode, trytoload frombootloadercode as described intheROMUpdate section.
Upload failure with:
Thiserror is causedbya non-response fromthe TekTouchPadwhen transitioningto theloadrate. Make suretheload rateis correctin theHostCOMSettings.
43
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.