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 8 of 42

JANUS 2050 Vehicle-Mount Computer (4MB) User's Manual, pages 71 to 80

Pages 71 to 80 of 419

The original document is the PDF (2.0 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 Intermec J2050

Page 71

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg

AUTOEXEC.BAT File(continued) Command Line

Definition if not exist c:\fta.exe goto DOS_PROMPT e: fta.exe checkhost; exit

Runs the FTSERVER batch file if it is on drives C or D. FTSERVER runs FTA.EXE, which provides binary file transfer (BFT) on the JANUS device. If a host is trying to initiate a BFT session, FTA continues running; if not, FTA stops running.

%IM_APPLICATION% :DOS_PROMPT

After FTA terminates, %IM_APPLICATION% runs any application identified by the DOS environment variable IM_APPLICATION.

c:

Resets the JANUS device to drive C or D.

cls

Clears the screen.

CONFIG.SYS File The CONFIG.SYS file on your 4MB JANUS device should look like this one: Command Line

Definition

[menu] menuitem=sram, Load PCCard menuitem=ata, ATA PCCard menuitem=flash, Flash PCCard menuitem=io, I/O PCCard menuitem=no, No PCCard menucolor=15,0 menudefault=sram, 20

Creates the Startup menu.

shell=command.com /e:2000 /p

Increases the size of the environment space to 2000 bytes. This line is required for Auto-Loader.

device=d:\himem.sys /testmem:off dos=high

Loads the DOS extended memory manager, HIMEM.SYS. You must load HIMEM before you load device drivers.

device=d:\power.exe /low

Loads APM power management.

device=d:\sramdisk.sys 256 512 /e

Creates the 256K RAM drive E.

install=d:\card_sr.exe

Loads software required for the PC card drives.

3-8

Page 72

nuggJVMUUsing the JANUS 2050 Software

3

CONFIG.SYS File (continued) Command Line

Definition

[sram] device=d:\cs.exe /poll:1 device=d:\csalloc.exe d:\csalloc.ini device=mtsram.ext device=mtddrv.exe

Loads software required for PC cards. CSALLOC is a DOS program that scans the system for available memory, I/O port, and interrupt request queue (IRQ) resources.

[ata] device=d:\cs.exe /poll:1 device=d:\csalloc.exe d:\csalloc.ini device=\atadrv.exe /s:2 device=mtddrv.exe device=d:\cardid.exe

Loads software required for ATA cards.

[flash] device=d:\cs.exe /poll:1 device=d:\csalloc.exe d:\csalloc.ini device=d:\mti1.exe device=d:\mti2p.exe device=mtddrv.exe device=d:\ftl.exe

Loads software required for flash cards.

[io] device=d:\cs.exe /poll:1 device=d:\csalloc.exe d:\csalloc.ini device=mtsram.exe device=mtddrv.exe device=d:\cardid.exe

Loads software required for SRAM and I/O cards.

[no] [common] device=d:\interlnk.exe /drives:7 /noprinter /com:1 /auto

Loads Interlnk as a resident device driver only if Intersvr is executing on a host computer that is connected to the JANUS device. Do not remove. Auto-Loader uses this line.

buffers=10

Sets the amount of memory that DOS reserves for data transferred to and from a disk.

files=50

Sets the number of files that can be open at one time. You need this command for IRL support.

stacks=9,256

Sets the amount of memory that DOS reserves to process hardware interrupts.

3-9

Page 73

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg

MS-DOS Startup Menu The default JANUS startup menu is defined in the menu configuration block in the CONFIG.SYS file. It defines several different PC Card configurations that you can enable on your JANUS device. You can modify or disable the JANUS startup menu by removing or changing parameters in the menu configuration. Refer to any MS-DOS 6.2 manual for more information on setting up or changing the startup menu.

MS-DOS 6.2 Startup

1. SRAM PCCard 2. ATA PCCard 3. Flash PCCard 4. I/O PCCard 5. No PCCard Enter a choice:

F5=Bypass startup file

20X0A.002

Learning How to Change the Contents of Drive C Drive C contains the AUTOEXEC.BAT and CONFIG.SYS startup files, as well as software for the PC card drive. You can use the remaining space on drive C to store applications and data files. In general, drive C should contain files that you often read or execute, but do not often write to or replace. Drive C is a 512K ROM drive implemented in flash memory. It is upgradeable, but has limited write capability. You can use DOS commands to read from drive C, but you cannot use DOS commands to write to drive C. To write to drive C, you must use one of these special utilities: •

Auto-Loader

•

MakeDisk and PutDisk

•

Binary file transfer (BFT)

These utilities let you create an image file that contains an “image” or “snapshot” of all the files you want on drive C. Then you use the utilities to load the image file to drive C. Once you load the image file to drive C, the image file becomes transparent. For example, when you use the DOS DIR command for a directory listing on drive C, all you see are the individual files that were contained in the image file. You cannot directly add, edit, or delete individual files on drive C. Instead, you must replace the entire image.

3-10

Page 74

nuggJVMUUsing the JANUS 2050 Software

3

You can use these utilities to create an image file and copy it to drive C: Auto-Loader Auto-Loader creates an image file that contains the files you want placed on drive C, and then replaces the old drive C image file with the new one. You run Auto-Loader on a host computer connected to the COM1 port on the JANUS device. Binary file transfer (BFT) Use BFT in a 900 MHz CrossBar or RF network to connect a host computer to one or more devices in order to transfer binary files of change the contents of drive C. For help, see “Communicating With the JANUS 2050” in Chapter 6. MakeDisk and PutDisk MakeDisk creates an image file containing the files you want on the drive, and PutDisk places the new image on the JANUS drive. MakeDisk supports the creation of subdirectories on drives C and D. For more information, see “Using MakeDisk and PutDisk to Change Drives C or D” later in this chapter. When deciding which utility to use, you should consider these facts: •

Auto-Loader and BFT require you to use a host computer. MakeDisk and PutDisk do not require you to use a host computer.

•

You must install Auto-Loader onto the host computer. MakeDisk and PutDisk are already on the reader’s drive D.

•

You must create a BFT application for the host computer using Data Collection Manager (DCM) or Interface Software (IS). Also, you must create BFT-ready applications for the reader using BFT functions provided in the PSK. For help, see your DCM, IS, or PSK documentation.

•

If you run MakeDisk on the reader’s RAM drive, the image file must be less than 256K.

Creating a RAM Drive The device driver SRAMDISK.SYS is used to create an SRAM (static random access memory) drive E on the JANUS 2050. SRAM disks are faster than hard disk drives because the data is always loaded into RAM. The number of SRAM disks you set up is only limited by the amount of memory in the JANUS 2050. SRAMDISK.SYS only works in extended memory (above 1MB). It cannot use conventional or expanded memory. For SRAMDISK.SYS to use extended memory, HIMEM.SYS or another extended memory manager that conforms to XMS must be installed. In the CONFIG.SYS file, the device command that installs the XMS extended memory manager must precede the command that installs the SRAM disk. SRAMDISK is compatible with all DOS commands and Norton utilities.

3-11

Page 75

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg

An SRAM disk is specified in the factory installed CONFIG.SYS file. If you reconfigure SRAMDISK.SYS or change the RAM size, the RAM drive initializes and destroys any previous drive. Before reconfiguring this drive save all important data files. Note: Files on the RAM drive are not retained when you execute a cold boot on the JANUS 2050. To create or change the SRAM drive 1. Verify that HIMEM.SYS or another extended memory manager is loaded in the CONFIG.SYS file. 2. Edit the JANUS 2050 CONFIG.SYS file. It is easier to edit the CONFIG.SYS file on your host computer and then replace the file on the JANUS 2050. For more information on how to update files on drive C, see “Changing Drive C and Configuring for International Languages” later in this chapter. 3. Include a separate SRAMDISK.SYS command line in your CONFIG.SYS file for each SRAM disk you want to add. The SRAMDISK.SYS command line(s) must be added after the line that loads the extended memory manager. The command syntax is: device={drive:}{path}sramdisk.sys {DiskSize SectorSize NumEntries} where: drive:path specifies the location of the SRAMDISK.SYS file. DiskSize specifies the size in kilobytes (K) of the SRAM disk. The size can range from 16K to 256K. The default is 64K. SectorSize specifies the disk sector size in bytes. The size can be 128, 256, or 512 bytes. The default is 512. If you include a SectorSize value, you also need to include the DiskSize value. NumEntries specifies the number of files and directories that can be created in the SRAM disk directory. You can specify from 2 to 1024 files and/or directories. The default is 64. If you include a NumEntries value, you must also include the SectorSize and DiskSize values. 4. Initiate a warm boot on the JANUS 2050 by pressing c a f . in sequence.

CAUTION

Caution Do not press any keys while the JANUS 2050 is performing a warm boot or you may lose data. Conseil N’appuyez pas sur des touches pendant que le lecteur se réamorce, sinon vous pouvez perdre des données.

3-12

Page 76

nuggJVMUUsing the JANUS 2050 Software

3

Creating additional SRAM disks The first SRAM disk is called drive E. If you create additional SRAM disks, they would be called drive F, G, H, and so forth. •

To create an SRAM disk and allocate 64K of extended memory to the disk, add the following line to the CONFIG.SYS file: device=d:\sramdisk.sys

DOS searches for the SRAMDISK.SYS utility on drive D in the root directory. •

To create an SRAM disk and allocate 256K of extended memory to the disk, add the following line to the CONFIG.SYS file: device=d:\sramdisk.sys 256

•

To create an SRAM disk and allocate 256K of extended memory to the disk with 128-byte sectors and only a maximum of 16 entries in its root directory, add the following line to the CONFIG.SYS file: device=d:\sramdisk.sys 256 128 16

Note: 256K is the maximum amount of memory that can be allocated for the RAM disk. If you exceed 256K, Reader Services cannot execute. Reader Services are described later in this chapter.

Changing Drive C and Configuring for International Languages Drive C contains the AUTOEXEC.BAT and CONFIG.SYS files for the JANUS 2050. You can modify these startup files to define how DOS uses the JANUS 2050 hardware, memory, and application files. You can also use the startup files to configure the JANUS 2050 to operate in an international language. You can use the remaining space on drive C to store applications and tables. Drive C is a flash memory drive that requires special procedures for writing to it. There are two utilities you can use to add, change, or delete files on drive C: •

Auto-Loader

•

MakeDisk and PutDisk

The Auto-Loader utility is an automated process that creates an image file containing the files you want placed on drive C. The image file is used to replace the old drive C image file with the new one. The Auto-Loader utility also allows you to easily configure your JANUS 2050 for any DOS-supported national language. The Auto-Loader utility is run from a host computer that is connected to a JANUS 2050.

3-13

Page 77

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg

MakeDisk and PutDisk provide you with an alternative method for modifying drive C. MakeDisk allows you to create an image file containing the files you want placed on drive C. PutDisk replaces the old drive C image file with the new one. MakeDisk can be executed on the host computer or the JANUS 2050 RAM drive. PutDisk must be executed on the JANUS 2050. You can use either the Auto-Loader utility or the MakeDisk/PutDisk utilities to update drive C. To configure for international languages, you must use the Auto-Loader utility. Once you load a new drive image, you can read from drive C using standard DOS methods.

Using Auto-Loader to Change Drive C The Auto-Loader utility is located on companion disk 1, which was shipped with the JANUS 2050. With this utility, you can add, change, or delete files on drive C, or modify the JANUS 2050 to support a different DOS National Language Support (NLS) language. To modify the JANUS 2050 drive C 1. Install the Auto-Loader utility on your host computer. 2. Create an image file and load it on the JANUS 2050 drive C. Each procedure is explained in the following pages.

Installing Auto-Loader To install Auto-Loader on your host computer, you need: •

DOS 3.3 or later.

•

To increase the environment space reserved by the host computer’s CONFIG.SYS shell= command. It should be configured to allow environment space at least four times the length of the pathname, to which the INSTALL procedure will copy the required files.

•

The JANUS 2050 companion disk 1.

To install Auto-Loader on your host computer 1. Make the directory where you want to install Auto-Loader your current working directory. Note: Do not use the drive C root directory or install Auto-Loader on a pseudo drive that has been created with the use of a third-party file compression software utility. 2. At the DOS prompt on the host computer, enter the command:

3-14

Page 78

nuggJVMUUsing the JANUS 2050 Software

3

{source}:install {country} -{port} where: source specifies the disk drive where the JANUS 2050 companion disk 1 is inserted. country specifies in what language you want the JANUS 2050 to operate. Enter the name of the country. It must be one supported by DOS National Language Support (NLS). This parameter is optional; the default is USA. port specifies the host computer’s serial COM port that the JANUS 2050 is connected to. This parameter is optional; the default is COM1. For example, if Companion Disk 1 is in drive A, and the JANUS 2050 is connected to COM1 on the host computer, enter the following command to make the JANUS 2050 operate in English: A:install

If Companion Disk 1 is in drive B, and the JANUS 2050 is connected to COM2 on the host computer, enter the following command to make the JANUS 2050 operate in French: B:install france -com2

3. Wait for the installation procedure to finish, and follow any instructions on the host computer’s display. The install procedure creates a subdirectory C_FILES\COMMON on your host computer that contains the factory default startup files AUTOEXEC.BAT and CONFIG.SYS. You can edit these files before loading them onto the JANUS 2050, but be careful not to remove or alter clearly commented statements that are used to support the Auto-Loader utility. Any files added to the subdirectory \COMMON are ignored when the startup files are loaded on the JANUS 2050. The install procedure also creates the following batch files on the host computer. LOADC.BAT

This is a master file that is called by the following batch files.

LOAD_USA.BAT or LOADLANG.BAT Creates an image file that contains only the new startup files. It then loads the drive image onto the JANUS 2050 drive C and overwrites all existing files. Any non-startup files are deleted from drive C. Which batch file you use depends on whether you specified USA or another country when loading the Auto-Loader utility. LOADADD.BAT Creates an image file that contains additional files you specify, and loads the drive image onto the JANUS 2050 drive C without replacing the existing JANUS 2050 AUTOEXEC.BAT and CONFIG.SYS. All existing files on drive C remain intact unless they are replaced by new files with the same name.

3-15

Page 79

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg

LOADNEW.BAT Creates an image file that contains the new startup files plus any additional files you specify. It then loads the drive image onto the JANUS 2050 drive C and overwrites all existing files. If a file is not included in the image file when you use the Loadnew command, it is deleted from drive C when the new image file is loaded. LOADXIMG.BAT Loads the existing drive C image file that was created when you used one of the LOAD or MAKE batch files. MAKE_USA.BAT or MAKELANG.BAT Creates an image file that contains the new startup files and saves the image file on the host computer. This file allows you to create one or more image files that contain different AUTOEXEC.BAT and CONFIG.SYS files. MAKENEW.BAT Creates an image file that contains the new startup files plus any additional files you specify and saves the image file on the host computer. This file allows you to create one or more application-specific image files. LOADIMG.BAT Loads a drive image that you specify onto the JANUS 2050. The drive image is created using one of the MAKE batch files. This file allows you to load an image file onto multiple JANUS 2050s. There are two different methods you can use to create and load an image file on the JANUS 2050 drive C: •

•

Use the Load_USA, Loadlang, Loadadd, or Loadnew batch files to create and load an image file in a single step. For these instructions, see the next section, “Creating and Loading an Image File.” Use the Make_USA, Makelang, or Makenew batch files to create the image file and store it on a host computer. Next, use the Loadimg or Loadximg to load the image file on the JANUS 2050. For these instructions, see “Creating an Image File” and “Loading an Existing Image File” later in this chapter.

Creating and Loading an Image File You can use the Auto-Loader LOAD batch files to create an image file and load it on the JANUS 2050 in a single step. All files are placed in the root directory on the JANUS 2050 drive C; no subdirectories are allowed. Be sure to back up any drive C files before you load a new drive C to prevent losing any information. To update drive C with the LOAD batch files, connect the JANUS 2050 to the host computer. Note: The Auto-Loader batch files must be installed on your host computer before you create an image file. For instructions and more information, see “Installing AutoLoader” earlier in this chapter.

3-16

Page 80

nuggJVMUUsing the JANUS 2050 Software

3

To create an image file 1. The default startup files are installed on your host computer in the subdirectory C_FILES\COMMON. You can create an image file that contains only the startup files, other files in addition to the startup files, or specific files. Use one of the following commands on the host computer to create and load the image file: •

To create an image file containing the startup files in the subdirectory C_FILES\COMMON and load the image file on the JANUS 2050 drive C, type one of the following commands on the host computer. Note: Any files residing on drive C are overwritten. If the JANUS 2050 is going to operate in English, type: load_usa

If the JANUS 2050 is going to operate in a language other than English, type: loadlang

•

To create an image file containing the startup files in the subdirectory C_FILES\COMMON plus any additional files and load it on the JANUS 2050 drive C, type the following command on the host computer: loadnew {[path\][filename1]

[path\][filename2]} ...

Note: Any files residing on drive C are overwritten. •

To create an image file containing specific files and load it on the JANUS 2050 drive C without replacing the JANUS 2050s current files, type the following command on the host computer: loadadd {[path\][filename1]

[path\][filename2]} ...

3-17