The text of a manual · part 19 of 25
TimeWand II Communications & Application Builder for DOS Computers, pages 181 to 190
Pages 181 to 190 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 181
The Tailer marks the end of the transferred data from the TimeWand II. Each line of data between the Header and the Tailer represents individual data entries.
Appendix C TimeWand II Raw Data File
177
Page 182
The Header The following illustrations show highlighted portions of the Header and define these parts. 1. The Header always begins with a capital H before the line of data. It indicates the beginning of the data transferred from a single TimeWand II.
2. This indicates the year the data file was transferred.
3. This indicates the month and the day the data file was transferred.
4. This uses 24-hour time to indicate the hour, minutes, and seconds the data file was transferred.
5. This is the source code. The code is currently undefined in the Header but may be used in the future.
6. This is the wand ID belonging to the TimeWand II. The wand ID contains up to 10 alphanumeric characters.
178
Appendix C TimeWand II Raw Data File
Page 183
The Data The following illustrations highlight and define the different portions of the data. 1. This indicates the year the data was entered.
2. This indicates the month and the day the data was entered.
3. This indicates the hour, minutes, and seconds (24-hour) that the data was entered.
4. This number is the Origin of Data and indicates the type of data entered. Bar code symbologies and Touch Memory buttons have their own Origin of Data numbers. See the tables on the following page for a list of the Origin of Data numbers.
5. This is the entered data; it can be from a bar code scan, keypad entry, or button touch. The data may be of varied length and may also include spaces.
6. This portion of the data line is fixed in length.
Appendix C TimeWand II Raw Data File
179
Page 184
The following table defines the Origin of Data for the following bar code symbologies: Bar Code Symbology Complete Code 3 of 9 bar code Bar code scanpad or TimeWand II keypad entry UPC A or E bar code Interleaved 2 of 5 bar code Codabar bar code EAN/JAN bar code Code 128 bar code
Origin of Data 00 01 02 03 04 06 10
The following table shows the family code and the Origin of Data for some of the Dallas Semiconductor Touch Memory buttons: Button DS1990A DS1991 DS1992 DS1993 DS1994 DS1995 DS1996 DS1982 DS1985 DS1986 DS1920
180
Family Code (Hexadecimal) 01 02 08 06 04 0A 0C 09 0B 0F 10
Appendix C TimeWand II Raw Data File
Origin of Data 31 32 38 36 34 40 42 39 41 45 46
Page 185
The Origin of Data for a Touch Memory button is derived by taking the Dallas Semiconductor’s hexadecimal family code number, converting it to a decimal number, and adding 30. For example: The Dallas Semiconductor DS1920 button has a family code of 10. 10 hexadecimal is equal to 16 decimal; add 30, and you arrive at an Origin of Data of 46.
The Tailer The Tailer always begins with a capital T before the line of data. It indicates the end of the data transferred from a single TimeWand II.
Appendix C TimeWand II Raw Data File
181
Page 186
Appendix D 2TRNSFER.EXE and TW2.EXE Version 3.03 Following is a list of the files that have been updated or added to TW2.EXE version 3.03 and a brief description of their features: Updated Software Files TW2OS303.SYM - Replaces operating systems AUTO64.SYM, AUTO128.SYM, and AUTO320.SYM. It also supports the Code 128 symbology. Adds ink spread correction to Code 128. Adds support for year 2000 and past. Serves 64K, 128K, and 320K TimeWand IIs. This operating system uses approximately 51K of memory in a TimeWand II. (Note: Owners of 32K TimeWand IIs must continue to use the version of software previously provided.) 2BUILD.EXE - Replaces TABLEBLD.EXE and TBLD320.EXE. Adds support for the ‘<’ (not) operator from a rule file by creating event matches NOTLIST and NOTEQUAL. (Note: ‘<’ (not) is an operator character used at the beginning of a TimeWand II match pattern to create a match pattern of “not the following...” For example, the match pattern E= means that any entry beginning with an E is acceptable, but the match pattern <E= means that an entry beginning with an E is not acceptable.) 2COMPILE.EXE - Replaces SMBUILD.EXE, SM128.EXE, and SM320.EXE. Adds support for the NOTLIST and NOTEQUAL event matches generated by 2BUILD. 2TRNSFER.EXE - Replaces DLOAD2.EXE. Adds support for COM3 and COM4. Adds support for the year 2000 and beyond. ALPHATMP.*, NOALPHATMP.*, and TEMPLATE.* Application Builder templates. The data variables in the dictionary files have been updated to accept scans of up to 50 182
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 187
characters. First and second column entries are reversed to facilitate the new convention of indicating current state number before event type. ALPHA.BAT, and NOALPHA.BAT. - Batch files to switch templates between alpha key support and no alpha key support. The software is shipped with the NOALPHA templates selected. To change to the alpha templates, enter ALPHA at the DOS command line. To change back to the NOALPHA templates, enter NOALPHA at the DOS command line. Note: You must recompile the application after switching templates. TW2.EXE - Calls 2TRNSFER.EXE to download wand for year 2000 support. Generates and supports applications with *.APX extensions. Calls 2BUILD and 2COMPILE utilities. Reduces conventional memory requirement by approximately 50K. Removes need to add NOVCPI parameter to EMM386.EXE NOEMS. CONVERT2.EXE - (Version 3.03) Updated to support year 2000 and beyond. Removes need to add NOVCPI parameter to EMM386.EXE NOEMS. Compatibility with older versions Version 3.03 of TW2.EXE and 2TRNSFER.EXE are compatible with all previous versions of TimeWand II symbologies and applications. This means that you may use TW2.EXE version 3.03 to load any previously existing applications (*.APL, *.128, or *.320 programs) into a TimeWand II that has been programmed with the appropriate *.SYM program. TW2OS303.SYM will run applications compiled with *.128 or *.320 extensions, but applications with an .APL extension must be recompiled as .APX applications before being used on a TimeWand II. Batch files and other applications which run DLOAD2.EXE should be modified to run 2TRNSFER.EXE. Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
183
Page 188
2TRNSFER version 3.03 Command Line Parameters Videx TimeWand II Transfer Utility 2TRNSFER v3.03 MS-DOS Separate with spaces but NOT between keyletter and argument. (* = Must use 1 of these - others optional) -a <appl file>[.ext] -b <Baud rate> -c -d <search Delay> -e <status file> -f -g <options file> -i <id> -k [dec. ASCII code] "-l <n><string>" (l) "-m <n><string>" -n <max # wands> -o <output file> -p <com port #> -q -r -s <OS file>[.ext] -t -u <modem setup> -w <id file>[.ext] -x <Xref file>[.ext] -y
184
Application to load. Baud rate for opening wands. (default: 19200) Disables clearing wand after data transfer. Delay time to look for wands. (default: 61 seconds) Error & status information. (default: none written) Shift to fast (57600) baud for all functions. Configure only, from specified file. (use with -i) *Specifies ID to initialize. (REQUIRES -g or -s) Disables (blank) or sets key for aborting operations. Send string to LCD line <n> BEFORE data transfer or after (m) transfer. Use quotes if string has blanks. Number of IDs in -w file. (only required when > 50 IDs) Output file for transferred data. (default: screen) Default: com port 1 (accepts 1, 2, 3, or 4) Quiet: no display of version or progress messages. Instruct modem to call remote site. Operating System to load. (REQUIRED if -i and no -g) Disables setting TimeWand II’s time. Modem setup string. (default: "AT V1 Q0 E0 X1") *Text file of wand ID(s) for data transfer: <WandID><cr/lf> Separately load compiled crossreference (X-REF) file . Use binary protocol to load application file.
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
Page 189
Configuration Options with 2TRNSFER.EXE and TW2OS303.SYM These configuration options can be set in an ACTION table using the SETOPTION command. They can also be changed from the host interface using the “O” command or loaded automatically when the wand is programmed. See the section on page 195 for information on the “O” command. Defaults with a dagger (†) have been changed from versions before 3.03.
Option
Number
Range
Default
Enable Alpha keyboard 1 0-1 1 To enable this option, applications must be created using the alpha templates that implement alpha keyboard entry. The TimeWand II operating system checks this option before setting an alpha mode. Use OS-level charge, drain, and touch messages 2 0-1 1 By default, messages for charge level, the battery drain program, and the prompt to read a Touch Memory Button are generated in English by the OS when this option is enabled. If it is disabled, register events are generated instead so the application can post the message. Messages disabled with this option should be replaced by action routines and called from the event file as a result of one of the register events below. Consult the TimeWand II Programming Tools manual for information about trapping events and programming action command routines.
REGISTER event match when option 2 is OFF
Internally generated message when option 2 is ON (default)
Comments
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03
185
Page 190
SHOWCHG ppp% Charge Left Recharge hh:mm hr
TOUCHID (Touch a Button) DRAIN
186
Displayed on second line only
Draining Battery Any Key Escapes
Appendix D 2TRANSFER.EXE and TW2.EXE Version 3.03