Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 6 of 24

PDT 7500 Series Product Reference Guide for Windows CE: Chapter 4 Terminal Features

Pages 41 to 48 of 190, from PDT 7500 Series Product Reference Guide for Windows CE

The original document is the PDF (2.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol PDT-7500, Symbol PDT-7540, Symbol PDT-7542 and Symbol PDT-7546

Page 41

Chapter 4 Terminal Features Chapter Contents Chapter Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 File System Directory Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Flash File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Platform Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Application Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Startup Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Run Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 RegMerge Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 RegMerge.dll. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Regmerge.exe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7 Copy Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8 Audio Event Aliasing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8

4-1

Page 42

PDT 7500 Series Product Reference Guide for Windows® CE

Introduction This chapter describes the File System Directory Structure on the PDT 7500 terminal.

File System Directory Structure Directories, databases, the registry, and files on Windows CE are collectively referred to as the Object Store. The Object Store is located in RAM, but is initially generated from the ROM image on the terminal. This means that any files the user loads onto most Windows CE terminals are stored in RAM. The PDT 7500 terminal also includes Flash File System folders that use non-volatile Flash memory to store files. Note: Any files copied to the Object Store are lost after a cold boot. On the PDT 7500 terminal, the following folders are located in the Object Store: ! ! ! ! ! !

Root folder My Documents Program Files Temp Windows folder Network Folder (when network re-director is included).

In addition to the folders in the Object Store, the PDT 7500 terminal contains up to three Flash File System folders. The Flash File System folders are named: ! ! !

4-2

Platform Application Data

Page 43

Terminal Features

Flash File System The Flash File System is divided into three different folders in order to isolate terminal specific files from application files. Files that exist in Flash File System folders are initially programmed via TCM Hex files. Any files that reside in the Flash File System are not lost after a cold boot. Similar to a desktop hard drive, the files are added or deleted and are persistent when the terminal is powered down. The primary benefit of storing a file in one of the Flash File System folders is not losing the file when the terminal is cold booted. The primary benefit of storing a file in the Object Store is speed. Generally, a file can be accessed faster from RAM than from ROM. Store files that need to be accessed from the Object Store (for faster access or some other reason) and preserved over a cold boot in the CopyToRAM folders in the Flash File System. Files stored in CopyToRAM folders are copied into the Windows folder of the terminal when the system is cold-booted.

Platform Folder The Platform folder is designed to hold all of the terminal specific files required by applications that run on the terminal. These include Windows CE operating system files and Symbol Value Add drivers and files. With the exception of software upgrades to specific drivers using files provided by Symbol, the application developer should never have to modify the Platform folder. The Platform folder is divided into a number of sub-folders, each containing specific types of files. These folders are as follows: !

!

!

!

!

Platform\CopyToRAM – The files in this folder are copied to the Windows folder after a cold boot. Use this folder for files that need to run in the Windows folder. Platform\System\Bin – This folder contains Operating System files (.exe and .dll files). Platform\System\Fonts - This folder contains Operating System font files. These files are copied to the Windows folder when the system is started. Platform\System\Regs - This folder contains Operating System registry settings. Refer to RegMerge Operation on page 4-6 for details on the operation of .reg files. Platform\System\Wav - This folder contains Operating System audio alias-ed .wav files. These files allow terminals without audio circuitry (such as the PDT 7500 terminal) to perform some other action when a System .wav file plays. These files are

4-3

Page 44

PDT 7500 Series Product Reference Guide for Windows® CE

! !

!

copied to the Windows folder when the system is started. Refer to Audio Event Aliasing on page 4-8 for details on the operation of Audio Aliasing. Platform\Symbol\Bin – This folder contains terminal specific drivers and executables. Platform\Symbol\Regs - This folder contains terminal specific driver registry settings. Refer to RegMerge Operation on page 4-6 for details on the operation of .reg files. Platform\Symbol\Wav – This folder may contain terminal specific audio alias-ed .wav files. These files allow terminals without audio circuitry (such as the PDT 7500 terminal) to perform some other action when a .wav file plays. These files are copied to the Windows folder when the system is started. Refer to Audio Event Aliasing on page 4-8 for details on the operation of Audio Aliasing.

Application Folder The Application folder is designed to store developer applications and optional system components. Files in this folder may be excluded from the terminal image. The entire Application folder is optional. If the Application folder is omitted, a very minimum system configuration is provided. This configuration includes: ! ! ! ! ! !

Symbol Shell with taskbar hidden No remote connectivity (Active-Sync, Platform Manager, Network re-director) No Visual Basic, IE 4.0 Web Browser support, Jscript, VB script, ADO No Sample applications, application .wav files, custom fonts No Virtual keyboard (PDT 7200 terminal) No printer support.

The terminal can be configured via the Application partition to provide a terminal configuration to fit the needs of the customer. For more detail on component customization, refer to Chapter 5, Terminal Configuration Options. Note: The application developer should modify the Application partition and not the Platform partition. The Application partition is divided into a number of sub-folders, each containing specific types of files. These folders are as follows: !

4-4

Application\System\Bin - This folder contains Operating System files (.exe and .dll files).

Page 45

Terminal Features

!

!

!

! !

!

!

!

!

Application\System\Wav - This folder may contain audio alias-ed .wav files required by application program. These files allow terminals without audio circuitry (such as the PDT 7500 terminal) to perform some other action when a .wav file should play. Refer to Audio Event Aliasing on page 4-8 for details on the operation of Audio Aliasing. These files are copied to Windows folder when the system is started. Application\System\Fonts - This folder contains Optional Operating System fonts. These files are copied to the Windows folder when the system is started. Application\System\Regs - This folder contains Optional Operating System .reg files. Refer to RegMerge Operation on page 4-6 for details on the operation of .reg files. Application\User\Bin - This folder contains optional Symbol developed executables. Application\User\Regs - This folder contains registry settings that control the user’s application. Refer to RegMerge Operation on page 4-6 for details on the operation of .reg files. Application\User\Wav - This folder may contain audio alias-ed .wav files required by application program. These files allow terminals without audio circuitry (such as the PDT 7500 terminal) to perform some other action when a .wav file should play. Refer to Audio Event Aliasing on page 4-8 for details on the operation of Audio Aliasing. These files are copied to Windows folder when the system is started. Application\User\Demo - This folder contains Symbol demonstration programs. The source code for each of the demonstration applications shipped on the terminal is available in the SDK. Application\CopyToRAM - Any files in this folder will be copied to the Windows folder after a cold boot. Use this folder for files that need to run in the Windows folder. Application\Startup - This folder contains applications (or .run files) that need to be launched at power-up. Refer to Startup Folder on page 4-6 for details.

The PDT 7500 terminal contains many sample applications when it is shipped. These sample applications are located in the Application\User\Demo folder. In many cases, demo programs are configured via the Registry. The .reg files to configure the demo programs are located in the Application\User\Regs folder. Some of the sample applications play .wav files. These are located in the Application\User\Wav folder. Optional System components required by demo programs must be stored in the Application\ System\ Bin folder. Components for Visual Basic, IE 4.0 Web Browser, and remote connectivity applications are stored in that folder.

Data The Data folder is empty when the terminal is shipped. It is available for any files that the operator may wish to store. Optionally, it can be removed. 4-5

Page 46

PDT 7500 Series Product Reference Guide for Windows® CE

Startup Folder The Startup folder is used to launch programs automatically when the terminal is started, either after a warm or cold boot. There are two ways to launch programs automatically: 1. Run any executable program stored in the Startup folder. 2. Run any .run file stored in the Startup folder. Refer to the Symbol Help Project file included with the SDK for more information on the Startup folder.

Run Files A .run file is a simple text file that contains the path to an application as well as the name of the application to run. In the Out of Box demo, the OTL menu program is launched via a .run file. The Otl.run file is stored in the Startup folder of the terminal and contains the text. It can also be used to pass command-line arguments to a program that accepts them. Refer to the Symbol Help Project file included with the SDK for more information on the Startup folder.

RegMerge Operation RegMerge.dll Regmerge.dll is a built-in driver that allows registry edits to be made to the Windows CE Registry. Regmerge.dll runs very early in the boot process and looks for registry files (.reg files) in certain Flash File System folders when it is cold booted. It then merges the registry changes that are in these files into the system registry located in RAM. Since the registry is re-created on every cold boot from the default ROM image provided by Symbol, it is impossible to make registry modifications persistent over cold boots without a driver like Regmerge.

4-6

Page 47

Terminal Features

Regmerge is configured to look in four specific locations for .reg files in the following order: \Platform\System\Regs, \Platform\Symbol\Regs, \Application\System\Regs, \Application\User\Regs Unlike the Search Path, Regmerge continues to look for .reg files in every Regs folder until all Regs folders are checked. This allows Regs folders later in the list to override Regs folders earlier in the list. With this mechanism, it is possible to override Registry changes made by the Platform partition Reg folders. Care should be taken when using Regmerge to make Registry changes. The SDK contains examples of .reg files. Note: Regmerge only merges the .reg files on cold boots. The merge process is skipped during a warm boot. In general, you should not have make modifications to registry values for drivers that are loaded before Regmerge. Sometimes during software development however, there is a need to modify these registry values. Since these early loading drivers read these keys before Regmerge gets a chance to change them, the unit must be warm booted after a cold boot. The warm boot does not re-initialize the registry, and the early loading driver reads the new registry values. Regmerge should not be used to modify built in driver registry values. The results are undefined. Two files in the same folder should not attempt to merge the same Registry value. The results are undefined.

Regmerge.exe Regmerge.exe is a utility that allows keys to be merged into the registry via .reg files without cold booting. Regmerge.exe accepts as a parameter a .reg file that will be merged into the registry at runtime. Locating the .reg file in one of the two Reg directories will also ensure the registry edits are merged on the next cold boot. RegMerge can only add or modify keys. It cannot delete keys.

4-7

Page 48

PDT 7500 Series Product Reference Guide for Windows® CE

Copy Path Files are copied to the Windows folder from the Flash File System in the following order: \Platform\System\Fonts\ \Platform\System\Wav\ \Platform\Symbol\Wav\ \Platform\CopyToRAM\ \Application\System\Fonts\ \Application\System\Wav\ \Application\CopyToRAM\ The system continues to copy files to the windows folder until all the above folders are copied. This allows folders later in the list to override folders earlier in the list. Care should be taken when copying files to the Windows folder from multiple places. The SDK contains examples of files copied to Windows.

Audio Event Aliasing The audio driver of the 7000 series terminals supports a feature called Event Aliasing. This feature allows a special .wav file to play. This .wav file replaces the sound normally produced when running a .wav file with other actions (such as LED flashing, vibrator activation, etc.). This feature allows applications that play .wav files to be portable between two devices, one that supports real audio and one that supports audio aliasing. Refer to the Symbol Help file for more information on Event Aliasing.

4-8