The text of a manual · part 17 of 56
JANUS 2010 Hand-Held Computer (4MB) User's Manual, pages 161 to 170
Pages 161 to 170 of 556
The original document is the PDF (3.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 J2010
Page 161
nugget code39 helconitalConfiguring the Reader
5
This manual uses the phrase “load the configuration file” to indicate this process of configuring the reader with a configuration file, even though technically you do not load the configuration file into the reader’s memory. A configuration file can contain settings for all the configuration parameters, or just a few. When you load a configuration file, only those parameters contained in the file are changed in the reader’s current configuration. If the configuration file does not contain a setting for a parameter, the current setting remains in effect on the reader.
Creating Configuration Files You can use the menu-driven IC.EXE to create configuration files. For help, see “Using the Interactive Configuration Application” later in this chapter. Or you can type this command at the DOS prompt to create a configuration file that contains the reader’s current configuration: ic /s path\filename where: /s saves the current configuration into a file.
path is the drive and directory where you want to store the file.
filename is the name of the configuration file.
For example, type this command: ic /s e:\network\reader\janus.ini
The reader checks if the filename already exists. If it does, the reader prompts you to overwrite the existing file. If you choose Yes, the reader saves the current configuration in the file. If you choose No, the reader does not save the current configuration.
Creating Multiple Configuration Files You can create multiple configuration files as long as each has a unique name and the .INI extension, such as JANUS.INI. Each configuration file can be customized for a specific application, environment, or task. For example, you can create a file that contains the current configuration and edit the file to delete all parameters except the ones that specify the bar code symbologies the reader decodes. Now you can use this file to change the symbologies enabled on the reader without changing other parameters. You can create several configuration files, each of which enables a different set of symbologies. You can also create configuration files that contain a subset of parameters: DISPLAY.INI for display parameters, NETWORK.INI for communications parameters, and BEEP.INI for beeper parameters.
5-5
Page 162
JANUS 2010 Hand-Held Computer User’s Manual (4MB)
Backing Up Your Configuration Files You should create a backup copy of your configuration files to ensure that you have a record of each reader’s configuration. Store the backups on a host computer, disk, or PC card for safekeeping. You can also use the tables at the end of this chapter to record the options you select for each parameter.
How to Configure the Reader You can configure the reader by using any of the methods described in detail in the next sections: Using the Interactive Configuration Application (IC.EXE) With menus and dialog boxes, IC.EXE lets you view and change the current configuration, create configuration files, and configure the reader with configuration files. Configuring the Reader by Scanning Bar Codes You can change the reader’s current configuration by scanning Code 39 or Code 93 bar code labels that contain configuration commands. This is a fast, easy way to change the reader’s configuration. You can scan the bar code labels in this manual, or you can create your own bar code labels. Configuring the Reader With IRL Z Commands You can change the reader’s current configuration by running IRL programs that contain Z commands that modify the reader’s configuration. Configuring the Reader With PSK Functions You can change the reader’s current configuration by running PSK applications that contain IM_COMMAND functions that modify the reader’s configuration. Sending Commands From a Host Computer You can change the reader’s current configuration by sending configuration commands from a host computer to the reader. The host computer must be running an application that lets you send commands to the reader. The reader must be running an application that accepts configuration commands, such as the IRL Desktop or an application that uses the Reader Services input manager. Editing a Configuration File You can manually edit a configuration file with a standard ASCII text editor on a host computer or reader. Then you load the configuration file from the DOS prompt, or use IC.EXE to load the file. Loading a Configuration File From the DOS Prompt You can change the reader’s current configuration by typing an IC command at the DOS prompt that configures the reader with the configuration file you specify.
5-6
Page 163
nugget code39 helconitalConfiguring the Reader
5
Loading a Configuration File Whenever You Boot You can add a command to AUTOEXEC.BAT that configures the reader with the configuration file you specify when you warm or cold boot the reader. If you do not use this feature, the reader returns to its default configuration during a boot.
Using the Interactive Configuration Application The Interactive Configuration application (IC.EXE) is a menu-driven application that lets you create configuration files, configure the reader, and view system information. To start IC.EXE, type this command at the DOS prompt and press :
@ ic
Or scan this bar code:
*IC* *IC*
The main menu appears, displaying four menus:
Configuration File
Sym
Com
Op
2010U.043
File Select the File menu to load or save configuration files, or return to the default configuration. You can also display software versions, equipment information, and available memory. You quit IC.EXE by selecting Exit from this menu. Sym Select the Sym menu to choose the bar code symbologies that the reader can decode. For some symbologies, you must also configure the check digit and label length. Com Select the Com menu to choose a communications protocol for each COM port, define the parameters for each protocol, and activate one protocol. Op Select the Op menu to change the operating parameters for the reader. These parameters include automatically turning the reader on and off, display options, beeper control, keypad options, reader commands, and scanner operation. Note: After you select a menu, you can press
G to display the online help screen.
5-7
Page 164
JANUS 2010 Hand-Held Computer User’s Manual (4MB)
You can use the keystrokes described next to move around in IC.EXE, or you can scan bar code labels. For help, see “Scanning Bar Codes to Select Menu Options” in Appendix C.
Selecting Menus and Commands
B D @ DD@
Press or to select a menu name from the IC.EXE main menu. Then press to display the commands in the selected menu. In this example, you press to display the Op menu:
Configuration File
Sym
Com
Configuration Op
File
Sym
Com
Op
Amble... Beeper... Reader Cmds Display... Viewport... Keypad... Scanner... IRL... Power Mgmt... Key Codes
2010U.052
2010U.045
C E
Press or to select a command or option from a menu, and then press to execute the command or option.
@
Note: The Sym, Com, and Op menus list the configuration parameters you can configure. An asterisk (*) on the Sym or Com menu indicates that the symbology or protocol is active.
Filling In Fields, Marking Check Boxes, and Saving Changes Screens list the options for each configuration parameter. Below each option name is either a toggle field or an entry field:
B or D to view the options for that field.
•
In a toggle field, you press
•
In an entry field, you type a value into the field.
E or A M or H. To move to the previous
To move to the next field, press field, press or or .
C AAM I
To learn how to enter ASCII control characters into fields, see “Entering ASCII Control Characters” in Appendix C. You can use ASCII control characters for some communications protocol characters, preambles, and postambles. Some screens contain check boxes. Check boxes are used when more than one option can be selected at a time. Press to mark or clear check boxes.
M
5-8
Page 165
nugget code39 helconitalConfiguring the Reader
5
When you exit a screen, you can save or discard your changes:
@ or choose OK. • To exit a screen without saving the changes, press ? or choose CANCEL. •
To exit a screen and save the changes, press
Using a Series of Screens to Configure a Parameter Sometimes IC.EXE presents a series of screens for one parameter. You must fill in fields or select options on each screen to configure the parameter. For example, when you configure the User-Defined protocol for COM1, IC.EXE displays five screens of options for the protocol. Here are the first two screens in that series:
Configuration COM1/User-Defined (1 of 5) BAUD: 9600 PARITY: Even DATA BITS: 7 STOP BITS: 1
Configuration COM1/User-Defined (2 of 5) DELAYS INTERCHARACTER: 0 ms TURNAROUND: 0 ms TIMEOUT: 10 sec TRANSMIT ABORT 00000 ms
NEXT NEXT ?
PREV
?
2010U.053
2010U.063
You can tell that a screen is part of a series when you see the Next and Prev commands at the bottom of the screen. Next and Prev let you move forward to the next screen or back to the previous screen.
@
Pressing while the cursor is in any field is the same as choosing Next. As described earlier, you press or or to move to the next field in the screen. You press or or to move to the previous field.
E AM H C AAM I
Using Multiple Configuration Files This example illustrates how to create and use multiple configuration files. Your JANUS reader will be used in two settings: in a tool room, where it is very quiet, and on the warehouse floor, where there is a substantial level of noise. You decide to create two INI files, one with the beeper volume set low and one with the beeper volume set high.
5-9
Page 166
JANUS 2010 Hand-Held Computer User’s Manual (4MB)
To create two INI files with different beeper volumes 1. Start IC.EXE, choose the Beeper command from the Op menu, and set the beeper volume to Quiet. 2. Choose the Save As command from the File menu and press . The Configuration screen appears.
@
3. Specify a unique DOS filename for the INI file, such as QUIET.INI. Make sure the filename includes a path with a drive that you can write to, such as drive E:
Configuration File
Sym
Com
Op
Load... Load Default Save Save As... About Exit
2010U.067 e:\quiet.ini
Note: If you store the configuration file on drive E, the file will be erased when you cold boot the reader, load flash memory, put the reader in Storage mode, or execute CONFIG.SYS after changing the command that creates drive E. 4. Choose Exit from the File menu. This screen prompts you to update the online configuration before you exit: The online configuration (also called the current configuration) is the set of parameters currently enabled on the reader.
@
5. Press to choose Yes and apply the changes to the reader. The reader now beeps quietly. 6. Restart IC.EXE, choose Beeper from the Op menu, and change the beeper volume to Very Loud. 7. Choose Save As from the File menu, and specify a unique DOS filename for the INI file, such as VERYLOUD.INI.
Configuration Information Update online configuration?
Yes
No
Cancel
2010U.107
8. Choose Exit from the File menu. Again, IC.EXE prompts you to update the online configuration before exiting.
D
9. Press to select No and press quietly.
5-10
@ . The reader is still configured to beep
Page 167
nugget code39 helconitalConfiguring the Reader
5
To configure the reader with the other INI file When you are ready to make the reader beep very loudly, you need to configure the reader with the VERYLOUD.INI file. Follow either method: •
You can type this command at the DOS prompt and press
@:
ic /l e:\veryloud.ini
For help, see “Loading a Configuration File From the DOS Prompt” later in this chapter. •
You can use IC.EXE, as follows: 1. Start IC.EXE. 2. Choose Load from the File menu and press
@.
3. Select VERYLOUD.INI from the list of filenames and press 4. Choose Exit from the File menu and press
@.
@.
5. When the reader prompts you to update the online configuration, press to choose Yes. The reader is now configured to beep loudly.
@
Configuring the Reader by Scanning Bar Codes You can configure the reader by scanning bar code labels listed in this manual or by creating your own Code 39 or Code 93 bar code labels. For help, see Chapter 12, “Configuration Command Reference.” You can create bar code labels that contain more than one configuration command. For example, you can configure a reader for User-Defined protocol (PS0) on COM1 (IS1), with a baud rate of 2400 (IA4), even parity (IB1), 8 data bits (II8), and 2 stop bits (IC2) by scanning three bar codes. Each bar code starts with $+ (the Change Configuration command) followed by the syntax and option for each parameter. Configure for COM1, Configure User-Defined Protocol
*$+IS1PS0* *$+IS1PS0*
Set to 2400 Baud, Even Parity, 8 Data Bits, and 2 Stop Bits
*$+IA4IB1II8IC2* *$+IA4IB1II8IC2*
Activate User-Defined Protocol
*$+PA0* *$+PA0*
5-11
Page 168
JANUS 2010 Hand-Held Computer User’s Manual (4MB)
The bar code labels change the reader’s current configuration, but the changes are not saved to a configuration file. Note: Quotation marks are required if parameter options conflict with the reader configuration commands. For example, to set a preamble to BV, use $+AD"BV". If you leave out the quotation marks ($+ADBV), the reader will mistake the command as setting the preamble (AD) to no characters and changing the beep volume (BV). Type two sets of quotation marks ("") to include one quotation mark in the command.
Configuring the Reader With IRL Z Commands You can automatically configure the reader each time you run an IRL program by including Z commands in the program. These Z commands change the reader’s current configuration, but the changes are not saved to a configuration file. You should use this configuration method when you want to run an IRL program that requires the reader to have a specific configuration. Include Z commands at the beginning of the IRL program to modify the configuration, and then include more Z commands at the end of the program to restore the configuration to its previous settings. For example, to change the display mode from buffered to transparent, insert this Z command in your IRL program: Z"$+DM1"
When the IRL program reaches this command statement, it configures the reader and then executes the next command line in the program. For help using Z commands, see your IRL Programming Reference Manual.
Configuring the Reader With PSK Functions You can automatically configure the reader each time you run a PSK application by including IM_COMMAND functions in the application. These IM_COMMAND functions change the reader’s current configuration, but the changes are not saved to a configuration file. For help using IM_COMMAND functions, see your JANUS PSK reference manual.
Sending Commands From a Host Computer You can create reader applications that use Reader Services to accept configuration command strings from the host computer. These command strings change the reader’s current configuration, but the changes are not saved to a configuration file.
5-12
Page 169
nugget code39 helconitalConfiguring the Reader
5
For example, to configure the reader to decode Code 93, the host computer sends this command to a reader application: $+CF1
The reader application must have been designed to accept command syntax from the host computer. The reader cannot accept commands when it is at the DOS prompt. For help using Reader Services, see your JANUS PSK reference manual.
Editing a Configuration File A configuration file contains commands that modify the reader’s configuration. You can manually edit a configuration file to add, delete, or modify the commands. Choose one of these methods: •
Upload the configuration file to a host computer, edit the file using any standard ASCII text editor, and download the file to the reader.
•
Start Interlnk with the host computer as the client and the reader as the server. From the host computer, use any standard ASCII text editor to edit the configuration file on the reader.
•
Edit the configuration file on the reader with the EDLIN.EXE editor.
After editing the configuration file, you must configure the reader with the file. For help, see the next section, “Loading a Configuration File From the DOS Prompt.” This table lists and describes the commands in a sample INI file: Command
Description
AD""
Preamble disabled.
AE"\x0D"
Postamble set to CR.
BD"00050L"BD"00050H"
Beep duration set to 50 ms for low and high beeps.
BF"01200L"BF"02400H"
Beep frequency set to 1200 Hz for low beeps and 2400 Hz for high beeps.
BV"1"
Beep volume set to quiet.
CA"99"
Interleaved 2 of 5 set to variable length with a check digit.
5-13
Page 170
JANUS 2010 Hand-Held Computer User’s Manual (4MB)
Make sure you follow these conventions when you edit the INI file: •
Type all configuration commands in uppercase, or else the reader cannot recognize them as commands.
•
Enclose the command options in quotes (BV"1") when you are editing the configuration file. Quotation marks designate the end of a configuration command.
•
Use double quotes to enter a quote in the command line. For example, the reader interprets AD""4 as a command to set the preamble (AD) to the characters " and 4.
For a list of configuration commands in alphabetical order by command syntax, see the “Configuration Commands by Syntax” table in Appendix A. For a complete description of each command, see Chapter 12, “Configuration Command Reference.”
Loading a Configuration File From the DOS Prompt You can type a command at the DOS prompt that causes IC.EXE to configure the reader with the specified configuration file without opening the menudriven IC.EXE interface. To load a configuration file from the DOS prompt •
Type this command at the DOS prompt: ic /l path\filename where: /l loads the configuration file.
path is the drive and directory that contains the configuration file.
filename is the name of the configuration file you want to load.
For example, type this command: ic /l e:\network\reader\janus.ini
If there are no errors in the configuration file, the reader displays this message and configures the reader with the configuration file: Loading reader Configuration from {path\filename}
5-14