The text of a manual · part 21 of 25
TimeWand II Communications & Application Builder for DOS Computers, pages 201 to 210
Pages 201 to 210 of 248
The original document is the PDF (828 KB). 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 Videx TimeWand II
Page 201
Option
Number Range
Default
Transmit Codabar Start and Stop characters 36 0-1 1 The Codabar symbology uses ‘A’, ‘B’, ‘C’, or ‘D’ as a start or stop character. Enabling this option will include the start and stop characters in the scan data. Enable Inkspread correction 37 0-1 1 When bar codes are printed using toner or ink based printers, the toner or ink may “spread” beyond its intended bounds. This may cause the nominal width of the bars to exceed the nominal width of the spaces in the bar code. The TimeWand II decoding algorithm includes a correction for light to moderate instances of inkspread. This can help increase decode reliability and overall readability of certain bar codes. Enabling this option enables the inkspread correction routine. Enable INIT Event processing in State 0 40 0-1 0 Enables processing INIT event matches (255 - new application and 254 - existing application). This feature requires a thorough understanding of the system and application templates. Therefore, it is disabled by default.
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
197
Page 202
Option
Number Range
Default
Enable external battery operation 41 0-1 0 This option allows a user to use an external battery pack. Normally the TimeWand II switches from normal (scan) mode into communications mode when external power is applied to pin 4 of its RJ-11 serial port. This would ordinarily prevent connection of an external battery pack to extend the operational time between charging the internal battery. When this option is enabled, the user may manually disable and re-enable the switch to communications mode by holding down the “+” key and pressing the “7” key. The operating system displays the current state after the toggle. The messages are “Use Ext Bat” and “Communicate.” When the last message is “Use Ext Bat,” the TimeWand II will not switch to communications mode even when external power is applied. The user may connect an external battery and continue data entry operations. When the last displayed message was “Communicate,” all operations are completely normal and the wand will automatically switch to communications mode when placed in the recharger; that is, when external power is applied. The user must remember to manually switch to “Communicate” before attempting to transfer data. Current drawn from the external battery pack is about 20 mA plus the operational current of the TimeWand II. The operational current may be as high as 120 mA when scanning. The constant current draw supplies the charging circuits, which are operational even when the wand circuits are asleep and even when the power switch is off. Therefore, the external battery pack should be disconnected whenever the TimeWand II is not being actively used.
198
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 203
Option
Number Range
Default
Begin-charging threshold (1/10 hours) 129 0-255 0 The TimeWand II by default always begins charging when it is placed in the recharger. It drops to the lower level charge rate when the charge-needed value reaches zero. This option allows the system implementer to specify that the full charge level will not happen unless the charge-needed value is greater than the value of this option times 6 minutes or 1/10 hour. Judicious use of this setting can ensure that the rechargeable batteries are discharged as deeply as practicable for the use situation and thereby reducing memory effect and prolonging the life of the batteries. Time until display blanks (seconds) 130 2-255 10 † After a scan or button event, the TimeWand II operating system waits a certain amount of time then blanks the display and goes to low-power mode. By default that delay time is 10 seconds. This option enables control of that time from 2 to 255 seconds. Minimum quiet zone (ratio to smallest bar) 131 6-64 6 The quiet zone of a bar code is the clear space that precedes the start character of a bar code symbol and follows the stop character. The width of the quiet zone is expressed as a multiplier of the width of the narrow bars and narrow spaces (X-dimension). The minimum recommended quiet zone for a Code 3 of 9 symbology bar code is 10 X-dimension, that is 10 times the width of the narrow bars or narrow spaces of the bar code symbol.
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
199
Page 204
For the TimeWand II, the minimum quiet zone is 6 times the width of the narrow bars. This option allows setting the minimum quiet zone ratio in the range of 6 to 64.
200
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 205
Option
Number Range
Default
Response when opened by host 132 0-40, 255 255 TW2OS v. 3.03 introduces a new sign-on message that the TimeWand II sends to the host when it is opened for communication: TWIIX.xx where the X’s represent the major and minor version numbers. Earlier versions of Dload2 will not communicate with a wand that responds like that. To assist with integrating into existing systems, option 132 allows modification of the sign-on message. When the option has the value 255, the message is the default given above. For values 0–20 the response is “TWIInnn” where nnn is the value of the option times 32. For example if option 132 is set to 10, the sign-on will be “TWII320,” exactly the same as the original software that supported the 320K TimeWand II’s. If the value is zero, the response is “TWII.”
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
201
Page 206
Option
Number Range
Default
Expand range of numeric characters 133 0-5 0 When matching patterns contain “#” or “@,” the TimeWand II normally considers only the digits 0 through 9 to be “numeric.” It recognizes the digits by seeing that their ASCII code is in the range 48 to 57. It may be useful at times to consider that the decimal point, plus, minus, and comma characters are also considered numeric. Since the ASCII code of these characters falls just below that of the digits, it is possible to include them just by moving the lower bound of the numeric range of ASCII codes that are considered numeric. This option allows that modification. The value of the option is subtracted from 48 to obtain the new lower bound of the numeric range. For example, if the value is 3, the decimal point (ASCII 46) and minus sign (ASCII 45) are considered numeric, but the comma and plus sign (ASCII 44 and 43) are not. For the purposes of pattern matching, the alphabetic symbol “@” is effectively “Not numeric” rather than strictly “Alphabetic,” so it includes all symbols not included in the expanded numeric region. Serial communication timeout (sec) 134 1-255 20 By default, the TimeWand II uses a 20 second timeout value when it is waiting for a serial communications response from a host computer. This applies to both the RECEIVE command (see TimeWand II Application Tools manual) and to the packet download protocol. This option allows setting that timeout value within the range of 1 to 255 seconds.
202
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 207
Option
Number Range
Default
Serial communication End-of-Line character 135 0-255 10 This option allows changing the character that is used by the system to recognize the end of a line that it receives from the host computer or some other device over the serial connection. The character that normally serves this purpose is the line-feed character (ASCII 10). It may sometimes be useful, particularly when using the RECEIVE command (see TimeWand II Application Tools manual) to designate a different character to indicate the end of a transmission. This option is provided for that purpose. Caution must be exercised because the altered setting will affect all communications, including that with the host computer. Host communications will not work correctly if the setting is not for the line-feed character, so whenever this option is changed, it must be restored to the default before any normal host communications are attempted.
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
203
Page 208
The following options set the minimum and maximum length of bar code for each symbology. The maximum size of a data element is limited by internal registers to 64 characters. It may also be further limited by the storage space allocated in the Dictionary file or template for any variables that must contain the data (see TimeWand II Application Tools). Smallest Code 39 bar code accepted
136
1-64
1
Smallest I 2 of 5 bar code accepted
137
1-64
4
Smallest Codabar bar code accepted 139
1-64
1
Smallest Code 128 bar code accepted 140
1-64
1
Smallest Code 93 bar code accepted* 141
1-64
1
Largest Code 39 bar code accepted
144
1-64
64
Largest I 2 of 5 bar code accepted
145
1-64
64
Largest Codabar bar code accepted
147
1-64
64
Largest Code 128 bar code accepted
148
1-64
64
Largest Code 93 bar code accepted*
149
1-64
64
* Code 93 requires a special version of the TimeWand II operating system. Contact the Videx Technical Support Department for information about the Code 93 software.
204
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 209
Automatic Option Configuration Configuration options can be set automatically when a wand is initialized. The loading program (2TRNSFER.EXE) will search for a configuration file containing commands to change options (or any other valid host command). There are several possible configuration filenames that can be used. The program looks for one of the following filenames: 1. 2. 3. 4.
<wandID>.opt <application name>.opt <symbology name>.opt global.opt
The loading program can also load a specific configuration file to a specific wand that has not already been initialized. The syntax is as follows: 2TRNSFER -<wandID> -g<optfile>[.<ext>] The program will look first for “<optfile>.ext,” then for “<optfile>.opt,” and then for “global.opt.” The -g parameter used without an argument will always find a global option file if one exists. Similarly, if the extension is omitted, a file with the given base name and the extension “.opt” will be found. The format for the “O” command in the configuration file is:
O 5,1 O 5 , (comma) 1
= = = =
The command code The option number Required delimiter Option value (for options 1-127, 0 = off, any non-zero number = on)
(Note: The example, O 5,1 would allow the TimeWand II to read Touch Memory button serial numbers.) Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
205
Page 210
Notes:
206
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03