Home
Pokcet PC Programming Manual - ECE
Contents
1. ON Use Trace anton Please reler to the MSDN Help EMS Fas ipta n Mt Comping and Pe PC gua Part V Further Reference LeMbedded Visual To builtin Help HotheVB and eV have bli Hop scene Bom di menu un Mode alt a uchal meal san Pocket PC programming Looks 0 Chris Tacke and Timothy Bassen EMbakded Visual Basic Windows CE and a Nick Grattan and Marshall Brain Windows CE 2 0 Application Programming 6 eBooks VB and eVC for Windows CE are very similar 1o VB and VC for stop You can Gnd VI VC and MPC codd tom int cum 3 Web Sites Microso MSDN hip mada menitan e Bocke PC Developer Network Mipira puchapedh cum e Code ttv cades cum 1 Code Projet hiv aoderjeeteom a Funcliomke ip function comin sch Fas pda KO n
2. ENEE408G Multimedia Signal Processing Mobile Computing and Pocket PC Programming Manual Guan ing Su Min Wu K J Ray Liu Department of Electrical and Computer En University of Maryland at Col Contents Part LA Brief Introduction to Pocket PC 2 1 Compa iPAQ Pocket PC H3760 Seis 2 Part IL Microsoft Windows Platform SDK for Pocket PC 4 Part IIL Microsoft eMbedded Visual Basic 3 0 eVB s Part IV Microsoft eMbedded C 3 0 eVC Part V Further References n 2 Operating Pocket PC A metil document englaining how to operate and use the PAC can be found in the CD cour iPAQ package Under de dieci COMPAQ Doc you can nd a c med PPC PDF HSTUO pdf Yo can sat with reading this reference You can check out de ek How todo everything with yur Pocket PC al ani used she yx copie how to we Pocket 3 Micro Aetivesyne Mich Actives yne ian ineface frente Res and cotmnicting between Pocket PC and Destop PC M you kuwe your owa PC su can creste a Pannen between these two devices Every file unr the Desktop PC fade Pocket PC My Documents and the Pocket PC elder My Document wili be synchronized yOu ane The gue above shows the Most ActiveSyne Window You carafe files by cicing e iore bution A window ta ta similar to PC File Baper Window Wl pop up Far mr details abut Micra ActiveSync plese refer ta the bine mendoned document PPC PDF EST pdf scan Fas pda KK E
3. 6 pot e Pata av Ts under adir directory Righ click WAVE on be esoareView tap and chose Import Sele ali wave hile Delete the IDR WAVE ight chick each IOI WAVE and coe Properties A Cutam Resource Properties dialog box wil oP up scan ration pda KK Moe Comping id Po PC gua Change the ext in the D lobos into e text in the File name edit ban For example il we impor le A war and we wil obserte eng reA wan ia the ile name edit bua Change ts D ito A lt clos quotato mark We Ean check elo porting m the Kencur and Peep d Iterace Design 0 Double click isos 3100 AUDIOPROCPPC DIALOG on he Renee 2 Goro Delete the TODO Place dialog como here Dea a Stc Tet kwa Controls Toolbar and drop on be dialog box Righi click and choose Mogot Sel he Capt as Capstone Piano Abo drag and drop a buon Change ts with and eight To generste he wame size Torte ober buttons you 3 click the fst ton copy and paste several mer To aliga one bons or can use Layan Go eC ment bar and choose Ali Space Evenly and Make Same Sce The final aoutis sown the following iue scan Fas pta Noe Comptia and Pe PE Perm 5 Messager and Member Function We can se up Memager and Member fci hing Chaer Wizard We can use View gt Clars Wizard fom eVC IDE menu bar lo p Chick each ADC bor item in the Object 10 window and ik RN CLICKED nthe Menage window Au Adi Member Faction bos wil shaw up Click I
4. Wind memar D Apn wai hy usinga bai an fee ia de pa pena nen o ocn A Mere pets shar ice apel mg Camar ENG zwa pda KK a Noe Comping and Pe PE Pegang aight click on te log bas that we ae doing and eet the oscar or ciek View Clars Wizard tom the VC mena bar oe Ce The lowing dialog window wili pop up Wo Bima Lots werk on the Org buon fi Choose IDC Origin ia the Object ID window Double click AN CLICKED inthe Menger window An Adi Member Function dialog bwa wili pup up which shown in the following tx m c tie Origin baton There me two mare message we mal io ebd Rept The kame pede described above The Objet Dt corresponding Messages area near Mag Fonction image ebi WA PAT Toni Aga existing iles to our projet 0 Click on she File View tapin the Project Worapace Window You wil see that WCE Pocket PC 2002 MEC AppWizant har aly tommy secca sever le which can be cmq and run bough vitat any uc fusion To complete our project we red odo our owa coding scan Fas pac rae Ai existing Giles to bis poet ber are several module ad developed by previous UNG groups Here we tie thers ho save some developed ine Copy and paste he following ive fles 1o your cumen working directory BMP Manager epp BMPManager k DIP pp DIP and Plate lek Projet Addo Project Files rs the OVC mena a Atos ive les into his projet and ek OK Yo wil id that the File Vi becomes the flow igr
5. can ald more requ messages and member functions using Clans Wizard thick shown la the igre above Make sure he Projet insets irom Mese Maer nao ade PCV Obra 773 Pre Vi el pte Onl EVidenProePPCView C Jomo Oia WATER name IDC EINOPENFLE SAN CLICKED Kaa oa IXCETN PLAY Ua oins TESTENE TEN DECIR aa et up he menage and member factions of al BEA isted n the table above ty doe clicking Object Ia Gi double cling Mesages and i ding Member function in the Clara Wizard Window Ye Edit VdeoProcPPCDoc projet Click Project Auto Project Files eon the eVC menu bar You Wiles dialog box far sering nw files Add he Ges DIBSeroete ep 4 Put DiBSeonLite here gt we Pat aur own code here gt H We ada DIBSeciion ara member of DOC de Ficha y Adige rase le tai you map one be en EME Fas pa TK EJ Noe Comping and Po PC Peang dit VileorocPPC Vien tut sour wen include header here gt we scan Fas pac rn E scan Fas pac rae Mt Comping and Pe PE Penguin 6 at VideoPrvePPCVew cp M Put you wen include header fe bere 9 scan Fas pa rae an Pat your own cade T 3 scan Fas pac KK p Noe Comping and NAP gua ve Diabe
6. m mlie ee Zoom omi ato for capturing a sereen display 6 Gming device Exp the components shown ia the Toole Window we could ad more ponents fran Project 3 Reference and Componesa ia the eV menu bar scan Fas pda KA 7 2 Bui A Simple Program ntsc inspec piam gai under Vid Sida environament 4 Click File New Project hom the eV menu har nd choose Window CE far the Pocket PE Poet 0 Fruen the Yor Window desg or Corona ot and ane Label tote oem The layout shawn follows Ta the Properties Wind change the Name pope of the fonr Commendaatons o mri bn i I pose Change the Capon propery boe ConmandBatoer Flower G 8 respectively Change he Caption property ol Label Mulia Signal Processing eV To add an nage objecto the form choose Micra CE Image Carl 1 Irom Projet gt Components An Image on wil appear ca the Toolbar Drag it e lors Ads to eh and Wah properes to hti he Tom 4 Alter seing pepes type ie following codes in he Code Window Uer cee Peine fw meee Roba tow apne hung Yorn ear ser obs nr scan Fas pac ra n eae kupea he P nr tr The as buto is o terminating the program when we click the OX hut n the upper right side ofthe lam 0 Rute eer BU Arr BM fe er AMI be Save the project and iles by File gt Save Project Ar 0 Chick Rum 9 Esecute fom he eVIS menu bar and he resul wili be show ae pur You can ue our mouse lo chick te basse what ha
7. we wil design a dialog box at provides an interface between 2 li Properties Right click on each conto and choose Properties A Contrat Properties ios ox wili pop up wbich son la the following Ngure Uca Name m Tr Buon IDC EIN PAY Tus Lisi TDC HIST RATE 1 Site IDC SUDER PANEN 1 rm JC EDIT MANE 1 sui TC STATIC sw TTT 1 Tem under Eetended Ser 0 le the lider di Baw and Lit Box Right click the Slider baton and click Clan Wound Chek the Member Variables tap Double click IDC SLIDER FRAME INDEX an the Control IDs Box An Add Member Variable dilog box wl up ype v Slider Frane dnd e Member variable name edit box Choose Lear ini Category ht box and CSliderC the Variable mpe t bar Levi for the List Bo double chek IDC LIST RATE inthe Control Dr edit tun Type Li Kate in the Member variable name et box Chase Contos Category lt and Chita la the Variable type st bar For the Bt Bar double dick DC EDIT FRAME ia the Control De bar Type Sm Edi Frame in the Member arable name eto Choose Vale nthe Caegor ha baa nd Sin an Variable type st bas For the State lube click IDC STATIC show BITMAP in th Control ID edit bor Type nsw BMAP ia the Member arable name edit bos Choose Control ca the Category in box and Citi in Variable rype ha bor 4 Set Messages and Member Functions EGG Fas optar s Noe Comping and Pe PE Pegang We
8. Bap dies 3 tow at Lot Box Et Hos and Slider Control and le them and Y ow tosta tere display video periodic I Select WCE Packet PC 2002 MFC AppWiand ese on the Project 2 ey m oro PC on Prec name ct and select a Leon is olet Also check Crue new web OV Check Wi CE ARM and Wink 2 CE 26 oa the CPUs x Na Chick OK anda WCE Packer PC 2002 MEC AppWeond window wi pop up 0 WCE Packet PC 2002 MEC App Wizard D Choose Single documenf and check Documenti architecture par AS PES OK amat you uy ates ype by ler anon of MC Ap cas WEE ME user WEE a PE ME pti scan Fas pda oaa E Noe Comping and Po P Pegang 2 Check arie Menur om Contrat har rype and se ali festinet on the t pa Click Nex 5 APPWitand wili summarize the features alles af be new project you jast Get Cc OR to close the Ap Wizard Oa Menu Bar 1 Overview thi section we design the QUI fou application peram The ipune belone shows the IDE dia we wili use la work om hs demo projet Chek e Resource View tap nthe Poet Worbpace Window 2 Double click the Menubor nthe sou View tap and then double chick IDA MAINFRAME You wali we the menu bars follows la our application we do mt nsed any tem on theme bar This we ight elik an EA and choose Ca For Tonta we only keep About V leuPrePPC Which ca display copyright information such as our ae scan Fas pac ra s Moe Comping and Pe PC gua 4 Edit alg Box 1 Inti section
9. C wa bon member anto Aller seting up the rue member functions we can adi our own codes EME Fas pda KK s Mt Comping and Pua PC grag e Bait Audi rocPPCDI py Finch AA yr wea Gade al cn a yau my sone co ne we EA za pda TN s Sb Camp and ea PC Pegg AD Run your program an the real Pocket PC Device cause the emulator does not support eco f a speaker we should ety aue program an the real device Seleet the Pistlar as Pocket PC 2002 Wii WCE ARNI Debus Pocket PC 2002 Default Device which ta down ia te following scan Fas pac rae G Mt Comping and Pe PC gua 6 Toubkatosting ai Ce Hew to ape the pestem while e VC compiles a project aar imparting nee sal he Opt Window hawa esae se low At Tis is a problem wth he recep header VC wili generate rested heart to sate sme ane wes yo canqd Rs ret However when you adi ney Kes nous poet hene new es do nat have tte pretompilked benders VC cau Gin he poco benders and wili pul the message above To sole thi problem you can mishe elek on these epp Bex on the File View tap and choose de Seting or frm cVC mon hr hak Project gt Seung You wili see Projet Seong window On CICe s tap choose he Category as Prec Header and check Not Jag precompiled leaders Tor us new aperte les 01 Q When VE mcomgiles a program the Opa Window shows a message id Cannot nai fid Desc er
10. Part II Microsoft Windows Platform SDK for Pocket PC 1 Desktop WinCE Emulation The WinCE nuls can be executed fv Start 2 Programs 34086 gt Miras Window Plagorm SDR for Pocket PC 2 Dee Pocket PC Emulation You will wee avidos swa la te ichi gie below We can ue this emulator to sour spp caton without the physical device kcal ine o rogans m ema ter Ia om real device The entra owe disc lu desktop PC which i in Windows CE Tode SONS Pocket PO omulatinppaim 0 Tis directory ere the rot directory afa physical 2 Desktop Pocket PC 2002 Emulation Te device we we in his course rans on an operating system brown as Mie elt PE 2002 The coto for device Poche PC 2002 lama we wili eli most he ie You can fid this exert program under CV rna FileName CE Told Commer layman malate ee m Part III Microsoft embedded Visual Basic 3 0 Design Ruvironmeni and Programming 9 Integrate Development Environement IDE The Gipure below shows he eee Visual Basic eV IDE The eh pt Be Tob Window This wow eles several component for building opis ser race must aplictions The lower right partis he espere Window We can et the properties of each component sch asthe ei wb espion sad Background cor The upper pt pat the Project iplo Minor otic fors and nodules are i i ret The ide at shows he Form Window and be corresponding Cade Windows form 3 phi sce boum on Pocket PC Programmers can design the trace ty by cine nd agin
11. Project Digital Speech Processing Spectrum Analyzer Jn this demo project you wil design a spectrum analyzer and era bow tase and cond wave le and oto design 2 Menu Bar and Open File Window dialog bar toto dese dion ern and 4 tovto perform digi speech processing such as Fast Fourier Transform Ya Create a mew Project y File 3 New I Selest WCE Pochet PC 2002 MFC AppWiouni en an the Projets ap 2 Key ia ud PPCT on Project name cd to and select a Location Te this priest Alio check Create new workspace V Check ac WCE ARM Sd Nia VCE 188 oa the CPU bas Na Chick OK anda WCE Packer PC 2002 MEC AppWeond window wili pop up ONCE packet PC 2002 MPC App Wizard D Choose Single documenf and check Decument Vew arehikeetare impr Pe PES OK tae you my es ype by ck van of MC pu cas WEE ME Auer WCE Pek PFE pi scan Fas optar a Noe Coop and NP Pegang a Appi wali summarize the fetes and es af new poet you eee Chick OK to close the App Wizard e ratu Menu 1 Overview The follwing figure shows the IDE we wili sein thi demo poe Chick the Rear tap la be IDE 2 Design Mene Double click DR MAINFRAME under ear in the ReoareeView ap A dea menu wali stow up ne Edi Window a We do nsi need ES thun right click and ct it For Tov we nly reserve Ahont SpeechProc PPC We wili create two maia tms on the mena br One is File una te other Sper Lats work un File lit You tan chek the lisha
12. be ActiveX conta we can extend the ability ole bel Visual Hat by calling procedures taco The Windows CE API Application ramming Interac The Windows CE AP can be regarded subse ofthe m n Microso Wink APL Those API s ane a collection of dynam ik aie DLL containing many procedures used by Windows based desktop platforms With these DLLs we ean exuma the eV capability suchas displaying windows and op ming we nd teeing Pe ig Nh Windows CE platform SDK for Pocket PC provides a test ile Wines Wat ane peeline declarations fr many of he Was CE API procede Commonly wed in cMbedded Visual Basie applicatione To cal one fens we Soul ollow de syntax ISeope Declare FunetionlSub Function Lib Library File Name Alias Larry Function Name fiction Parameter Lo As Function Retr We can we the convenient APY Viewer owe oie Comat Dela or Type 1 Fo we ma an API Viewer ta Sart Prgms 408 gt Micrasoft bole Vnd Tools 9 Toole Sp Tet Viewer scan Fas pac KO Li Moe Comping and Po PC Pegang 2 From File Open oa the API Viewer meta bar select winceapi il kem the Choose e desired API Type an pich an iem in the Available em list bor ile ol the orm il and mt put tem la he General Declarations section Example CE Pocket PC Projet p Command onthe form Rename he Name o ean eines Fam on We ald new module by Prec Add Module We add the Playound APL poro leac ng Edda A Lg Bal
13. d Tap and Lefi as hehe forthe tet editor As shown in the following figire we nly set he RGB pan visible and the tot edio vise o STA RET Um m isin apn Se Then i op ia ci pte Pipe rc aa ast ni SuPvisibles a one or the Soft put Panel the formal name of ENG raria Up n The left figure below show the result er seeing Tet gt Open The rig 6 Winsoek TCPAP and InfraRed Communication Mobility ione of the most important characteristics al Pocket PC It podes the plement a tamali prograna for HTTP reri using Winsock corel 1 alie Micron Wines CE Winsock Control 10 sing Project gt Components the able below scan Fas pare u elo part M for HTTP Winsock Conert set upa conection between te vce I the connection succes established the cen and ever can ander dato cac lr ton Wc enda nd Wench Geta M he device wendo data to Pocket PC wll ugg the Wieck Datur Error Home Nex Ya cic any in ine eer The Err object contains he forti about the cor 4 Make sure the hu server is ooking and puta test ete ww oos The keli figure belove stows de program rac Aller quein we get the Tic the tuya Window about high igure below Ec 7 Windows CE APL 2 In addition to
14. e poe Alter ishing these settings we can play alarm wan by clicking the button ENG Pan optar n Part IV Microsoft eMbedded Visual C 3 0 e VC 1 Integrated Design Environment IDE eT IEEE El a Microso eMbalded Visual C eVC has almost be same appearance as she IDE of Tesouros and files used in your project The wind 10 the pts the Ei The ol under VC em bat Tools ure the me as cVB Piense refer w Section HIL etal salto some comm stems hl programmen may count Dena Peer De Pape Demo Poit De Pe EA pama Sr mem p ENG za optar 2 NC Demo Project Digital Image Processing Handheld Image Processor Ja hs demo project yo wil design a handel image proces and leam I hos to bands dialog based Application by Maro die Visual Ces 12 maw oil ental es baton on lo bos 5 sow ta sad a BMP iuframe and vtt sr BMP On ame e nd Vas o perm digita image processing 2 Create a mew projet by File gt New kime VC menu bae 1 Select WCE Pochet PC 2002 MFC App Wizard ese an the Project tap 2 Key n ImagefemePPC on Project name ei bow and select Location lee hit Role Alsa check Create new woapace Cni ac WCE AR and Wi VCE st aa the CPU ba 4 Click OK anda WCE Packer PC 2002 MEC Ap Ward window wili pop up CE Packet PC 2002 MEC App Wizard 1 Choose Dia
15. e We can do ou programa now Ties sp pli me pk ELANG Sp Ky ant ga sc ona Ne La scan Fas pta s Mt Comping and Pe PC gua ea InagefrocPPCDI I and functions here gt ve Ur TANI paar oua ade nl ctetu om put rane edes la Be wew scan an par EI Note Comping and Pe PC Prag Wati ImageProcPPCDIg epp EMS Fats optar Moe Comping and Po PC gua WAMA yur awn ende 9 DE ve J Mi yos own code here 2 SA maa Aa icy rend his ile dae with he image processing part d Bai yata de here ach cach element in fla gt scan Fas pda AK Mt Comping and Pa PC Pegg 09 Set Parme Remember ta add te follwing line ia Pla that this can be run under kun your program the Pocket PC Emulator Prepare a 2 it color BMP lead name arme BMP Tar this Nile ta e Porn za Pocket PC 2002 Wind WCE sg Debug nd Pocket PC ANZ ile hich shows za Slows Cite compile ion Elan then necs icon KP You ean alio ty it resi device hy choosing he lator as Wing WEE ARMJ Debug and Pocket PC 2002 dea device ANC Demo Praject 2 Digital Video Processing Video Player nts pat we wl design a video player and earn li bow to buit application wati single document by eV 2 how to put ROI da to DI Device Independen
16. egg SC Demo Projet Digital Audio Processing Digital Piano Ja tha demo project you wil deg a digital piano and eum I hot to mper exemal wa lije sime suse ad 2 how to Pam APL a Crate a New Projet by File 3 New 1 Select WCE Pachet PC 2002 MFC AppWizard ee the Projets tap 2 Key m AndinfmePPC on Project rame eb sad select Location this pola Alio check Create new workspace 5 Check ac WCE ARI md Wii WCE 488 oa the CPU bon 4 Chick OK anda WCE Packer PC 2002 MEC App Wizard window wili pop up eI WCE Pocket PC 2002 MEC App Wizard D Choose Dialog Hare and chek Next AS PE OK pra you ma es ype by ale ann of MC pd cas WEE ME user WCE Po PE ME pti scan Fas optar LI AM Comping and NAP Pegang 2 sate ali features and set tie za Audinin Chek Nen Cin Gis eal eg scan an para si Moe Comping and Pa PC Pegg 9 Apar wili cars the etre and es of new poet you ced Click OR wa chose he App Wan YA Edu Reware There are two ways to ead av files One way icto eal external wane file using the emos fcn The ober way la lompat wave Tes daring We corpi peri and a them as tera resources la tis project we apt the second 1 Remurce Viene To import wav leno di projet we should tat kum the esaet Viv whi thw below lur lisent New Resource Right click on the Ande PPC renye falder and choose ser scan Fas pac re amp Mb Comping a Po PC Pegang This we rete WAVE mune
17. g the component othe Tool Wind la the Farm Winans We can pat the coder respond to events and components nthe Cade Window eich can be opened by double clicking component or seling othe mena bar View 3 Code 5 Remote Too Thor ate several fl ol der Tib gt Remote Tools I Windows CE Por Manager Configuration The gar belowe shows the Configure Platform Manager We use is manager bil tal cmeron between desktop and Pocket PC Afer ting the een we ean excite he eV cso Pocket PC scan Fats pa ra s Noe Captain P Prag Cose Pachet PC Dela Device ar Packet PC 2002 Default Device by double chen tem Another window called Device Properties sha tei igure below wl pop up Tee ate ce dierent waya to bud omeen The fst trat component iso Acne Sy analy vers well Ifa ry dhe TEPP and PPP transport 2 Windows CE Cuma Manager Ate st is he Control Manager in which we san add ActiveX Cntr alloc By icing the device and selecting Control Add New Control ons mena bar we tan easily add contu 6 Windows CE Remote Fil Viewer Alter setting tbe Windows CE Platforme Manager Configuration we ean ue Wades CE Remote File Viewer 10 vie impart and export Gs athe Reto Ica bjs a upton ontel hum er Sistem plein ee stern miaka reed cero omic eo eek Cena wae capodanno PC Un Wo 2 Clan Pen wn cml re ante tor eanl scan Fas pac KK P Moe Comping id Po PC gua Toga PE o Pc PC ea Tones es you can we he a Same ses
18. log Based nd press Net ac PESOS ara you uy es ype by ler ann of MC Apa cas WEE ME tur WCE a PPE pti scan Fas pter gt Noe Comping and Pe PE Pegang 2 Set tile ap DnagefrocPPC and disable other check kom Then click New 6 Check Yes ple and Ara shared DLL Chek We 4 Chick Finish mt ta seting scan Fas pac rae E Moe Comping and Pe PC gag 5 App Wise il summarize the eames and es af new penjeet you rated Chek DK to close the App Wien ees Dialog Box 1 Overview The following figure shows the IDE that we wil use in bis demo jezi Click he ResoureeVew tap inthe Projet Workspace Wanda open the Dale des You wili see 1DD IMAGEPROCPPC DIALOG Cek t nd you wili see another dialog bar wih ext TODO Place dialog controle here howe isthe ii Window We wili design our owa GUI on dis dialog box The al window to the ht of hs ig b the Caras Toba which provides contol component We wil ie tobat ada conto Bib Diag Box Drag and drop wo buttons rom Cone tbe om ofthe dialog box As te wi and heat af his dislag bo Also ck te TODO Place dal coo here and delete it a 1 2 Maly the properes Bron ad Baton in the Push Button Properties lig bos by ngh ccn each ban and chosing he Propet m Capi m d Casin We ned wa pat be messages of contrals in a Merine Map We tan we Cats Wizard w help we There tee waye 1o ope Classica window You
19. ose hem We en ue Clinard rom View 3 Gaurd eVC IDE wa edit the messages la Windows Sy E Make etie Clas name ee 19 CSprechProcPPCView Double ck ID FILE OPEN inthe Object IDs box nd COMMAND in the Messages bar ARA Member Fusco bas wili sho up Pros OK a E Repeat the same roca lor other ve objects whose Objet ID we ID FILE SAVE ID FILE Sarecord n ID FILE SopRecon 1D SPECTRUM WAVEFORM and D SPECTRUM FFT respectively Now we icy set op the GU and message I s meto move ta programming pan at SpeehrePPC Vi 0 Before we do any further programing we adi some existing ces ois project om Project 3 Addi Projecr Filetin the C IDE add he le Pr Pl ewer ewe spectrum pp peciam Make sure hey sc already pate working dic Pes Mor tas 2 D figures es lewa at Concemed wi reading an watag wav i zn lex spectra plement th Fast Fourier Transform lg Al sering yu can check thn eso the File View tip esp die ae pe by Anes Ken scan Fas pta si Moe Camping and Pa PC Pg at SpeehProcPPC Vie cg Modi SiechrocPPCVie cp by loving te table below Put vou clle heer file here gt scan Fas pac TK Noe Campi and Pe PC Peang scan Fas pda KA E Noe Comping sad NAA PC gu Ma you owa codes open fie gt scan Fas par Moe Comping sa Pa PC gu ue pat yone coder hereto deal vi the
20. ppens Tideri emulator corse e mouse emulates the benno s scan Fas ipta Distribute eMbelded Visual Basie Application Step 1 Make th project by File gt Make projeemame sb Then use he Application Jes Wizard by Font Remote Fone SApplicaticn tll Wizard Sip Enter the ful path the bee Basic Project EBP i Sup 3 ter the pat to the compila MB Basic Application file V Step Enter the directory in whi ali up files wili be reste tp Select the processons you would like to support To support iPAQ H3760 the Step 6 Sele any atonal ActiveX controls references that you want onal Step 7 Specify any aditional data ies Step 8 Provide the formation about de dei installation directory under Progra es application name dsp and company mane Step 9 ii cresting the saison rogram 4 Instali the Software Program in Pocket PC 4 Ga to be ouput directory seti Step in previous Seton Go down tothe CDI malo directory and click e Sep ese 0 You wil ease fora temporary directory to stane files Spes a dissetory and aa AdRemave Programs Window wili popup Follow the stone fish ihe poe e o He sanyo EME Fas pda AK w Mt Comping and Po PC gua 5 Add More Components w A Project ious pak i EVB We wil ove functions inland by baton to 9 Coene a new Pocket PC projet From Projet 9 Componentr check the Pocket Set both Widh and Height of nage and Tet s 2400 an
21. r chesiting link eae ara cr einge hk ATi i becas the ere cently runing under the debug mode Therefore yo need to terminate hs program before yani soc is sow tht even if yu click OK itn to chose i programa and it appean an jour scree is program stl ning i ma memor ur he kac PC 2002 OS Be aware Gi att happens badi on emulator and real sevice You need uo termite his proram ing the following poses Sup Chick Sar Seting a Seng window will show up scan Fas optar Noe Comptia and Pe PE Pegang t2 Choose Memory oa che Sten tap ol the Sings Window Another Sup Chick on the Rumpin Programs tap and we wili see 3 ang Program Lin Chek on the exciting rogram ere and prs te Sip but 6 Q How can taser Gmpomlenpan les emut AE We need to handle WCE emulate and Pocket PC 2002 emit differently 1 For WinCE elo you can dcl accens and cogy pae let ia Elide CE Taoliwee 30S Packet PO combat palm 00 Ti folder athe roo directory of WinCE emulator 2 For Pocket PC 2002 emulator we should use Wands CE remote File i The lt way la already menwa in ecto 3 We can apen de viewer from the Tol n the VE mana dh You can directly run is viewer by double clicking itin the folder CAroram File Window CE TeolA Corr Plaman bee e You wili are he File Viewer as flows You ca impordenpon iles by king the vo yellow aos or the File ea bae Not Onee you restart she Pocket PC 2002 emulator Iris ca
22. reaction for his em gt ve Apa your codeshare ta dani with the reaction for his em gt van Fas pac ra s Note Comping and NAP gra ety coder lere ba deal ih te reaction far dhis tee gt pat you codes hara ta dea with the reaction far this iem gt scan za pda TK s Noe Comping and Pe PE Peang Chapa Window esse fellow he solution section IV ta dea with the ies lewa epp Plath epp and ecran egy Ran your program on the multa Select be harm a Pocket PC 2012 Wits WCE 286 Debs and Packet PC 2003 mation which i shown inthe gue below Compile your program by ES and runt by a ee mue oo asawelua You wili ase the GUI on the emut ee xij You ean select a wave le by Pile gt Open Ta observe the waveform you can click peciam gt Waveform To ses the FFT chek Spertum gt PF ES Fas para s Wavelona FA You can stan o oda sound elip by clicking File REC mari and tp by File gt REC map Yes caa view the waela and FFT afi corde sand Aa yaa aa save cana wave fle tough File gt Seve 4 Madi You ean end your project by aiding more anos under the Spectra ain men em and sting diferent show spectrum mpe vale and the corresponding eatin la CSpeecrecViews OnDra A weka ference and codes mal america cipes an be band om pc scan Fas pta Mt Comping and Po PC P
23. se you soul expor fies to emul again 4 Q Hew can convert char to Lcd scan Fas optar 0 WinCE uses Unicode by whieh cah character ta spent by 2 bytes The sist way a conven chart Unicode a oae the T elon or tang to conven fname to Unicode yau ca ipl use Tl Mlenamein To declare Unicode array you souls use TCHAR 2 You aho ia comen sting uve ANSI character and Unde by cing ritos Comer a muli byte ANSI string to wide character sing wemomba Conver a wide character tring o mate sting Qr How can I detect he events of adore con batons suchas navigation ats onte Pocket PC rat panel ampe using WA KEYDOWN Chek View gt Class Wizani om eV menu hy pening El Code 0 Q How can debug programs prompt window to print out data using printf or cut There are several waya ENG Fan optar n 1 Use the Messages uncia Eg Mesayelont T Cannot Open fles L MBOK 2 Us th VC Dagar ar In the Ea Window ight chek the ine whee you want toset a redit and chek Invert Remove Bree Run the debugger by Bal Start Derug rom the VC mona bar Yon wili secede ota wanaume sa Gi Excite your program The Debugger wili stop t the beakpol you set You ccs Ie varies and objects om e batiom afe VC IDE shown below The left window ithe Voies window and the gon fe Watch Window Yo can ahd variables ta you we stereo in the Watch Wide la his example we add Nandanpl
24. te deal Onterot gt ve iat your own code bere 3 scan Fas pda AK Mt Captain Pe Pog ve Wu your own code here 2500 atl Meat your own cade here 2 50 Wi your own code here ve scan Fas pta a Moe Comping and NAA PC gung Pay your code here gt scan Fas par AM Comping and Pe PC gung When compiling sume eo messaesOnpocompil header may sw up Please kun your program on he emulator The eVC IDE select the Pf as PocketPC 2002 Wie WCE e Deb ers us HE 2 Compe you program by clicking IB and run u by clicking You wili wee an interface how tet figure below Chek the Open YUV uton and an Open File Widow wili pop up Let s select ane YUV Tie Clik the Play baton to play a video or drag Slider to ay position 1o randomly Ses ths veo Abo you can change the value in the Rate lt box o slow dien pue Anko panaros pa c as zx wi O Run your program on the Pocket PC You can to compile amd nun his program in the wal device From the eVCIDE Choose Patoma as Pocke PC 2002 nda WCE ARMI Deb and Pocket PC 2002 Default Device Then chek the comp and eee buto Enjoy your new pocket video player param miez Da ptr tai Posket PC Ya wr dut ho mie af ee Stic npg and Pas ea ki 4 0VC Dama
25. tetang and Men en Properties dolog box wili pop p which 5 show in ie folowing igre Change 1D into IDR MAIN FILE Caption eto ee means dt yo can ps AP and P ta ace ts a Caption ID iato IS FILE scan Fas pac rae Noe Comping and Pe PE Pegang So kar we have deni created the File main mentem We need to ald our sub weee Open File Save File Record Start nd Record Sip under hs main menu fem Lets wari om the Lin kem Open File Ria cc the hd rectangular above the File menu em and choose Propertie You wili we ante dalag box Shown below Maly D a ID FILE OPEN and Capon sa 4 Open Make the he te tens by the same procedures Set 10 Capon or Save Fle Record Start and Record Stop as ID FILE SAVE Sav ID FILE SarRerrd REC Sat and ID FILE Stpkecand REC Sp nespectively We nib te design af he iat main mona m pest the same procedures deseribed above to create Spectrum main menu ite Sif pope cong oti baling gee For the functionality of ploting waveform and FFT we me to dd two subitems tine this Sper ie Double chek he dashed cing bas ite howe Spectrum bc Mena em Properties og box wili pop up You can este two new suites whose ID are 1D SPECTRUM WAVEFORM and ID SPECTRUM FFT respec Caption suf and FFT rape Pally the mea Se he Foo Sige 9 Set Mense scan an optar gt Mt Comping and Pe PC gua Aer ting pth menu bar vete to add messages nd their corresponding eat it asera chek tb
Download Pdf Manuals
Related Search
Related Contents
幸せであるのは、簡単だ。 難しいのは、簡単であることだ。 Séparateur galvanique passif SINEAX TI 816 Mode d`emploi DeLOCK Card Reader IDE 44pin female to Compact Flash horizontal OvisLink H4-USB2 「日輪ロロp RT Installation and User`s Guide BLUE RELAY 4 CH - Led Driver VIVA EVO ELR96 Earth Leakage Relay User'S Guide Comptexpert, mode d`emploi Copyright © All rights reserved.
Failed to retrieve file