The text of a manual · part 19 of 23
DuraTrax/LaserLite, LaserLite Pro/LaserLite Mx Developer's Reference, pages 181 to 190
Pages 181 to 190 of 229
The original document is the PDF (797 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 DuraTrax, Videx LaserLite, Videx LaserLite Mx and Videx LaserLite Pro
Page 181
The Data Following are the definitions for the various parts of the data. 1.
This indicates the year the data was entered.
19990521091500 00 1000384 2
This indicates the month and the day the data was entered.
19990521091500 00 1000384 3.
This uses 24-hour time to indicate the hour, minutes, and seconds that the data was entered.
19990521091500 00 1000384 4.
This number represents the origin of data. This number indicates the bar code symbology. For example, an origin of data of 00 indicates that the data was collected from scanning a whole Code 3 of 9 bar code; a 01 indicates that the data was collected using a scanpad or keypad; a 02 is a UPC-A or UPC-E bar code, and so on. See page 180 for a list of the origin of data codes.
19990521091500 00 1000384 5.
This is the data; it can be bar code data, a Touch Memory button serial number, or a keypad entry. The data can vary in length and can include spaces. (Note: A Touch Memory button’s serial number is always a 12-digit hexadecimal number.)
19990521091500 00 1000384 6.
This portion of the data line is fixed in length.
19990521091500 00 1000384
Chapter 6 Data Files
173
Page 182
The Tailer Following are the definitions for the various parts of the Tailer. 1.
The Tailer always begins with a capital T before the line of data. It indicates the end of the data transferred from a single DuraTrax, LaserLite, LaserLite Pro, or LaserLite Mx.
T000 2.
These three digits identify any errors that may have been detected in the data transfer. If these are all zeros, this means there were no errors.
T000
174
Chapter 6 Data Files
Page 183
TimeWand II-Style Data File (Timewand.src) Data transferred from a DuraTrax, LaserLite, LaserLite Pro, or LaserLite Mx using the Timewand.src template, is saved as a TimeWand II-style data file. A TimeWand II-style data file is almost identical to the raw scan file, but it also contains application-indexing information. The data file can be viewed using a text editor. This data file has not been formatted by a database program or by a file manager program. Figure 63 shows data in a TimeWand II-style data file from transferring a single data collector programmed using Timewand.src. Application Indicator Header
Scan Data
Tailer
Wand ID
H 19991231235900 00 0000000001 ! 19991231221500 00 1000384 1 19991231221534 00 J 837 2 19991231221545 00 17 3 19991231222607 00 1000456 1 Each line ends 19991231222635 00 J 456 2 with carriage 19991231222716 00 26 3 return 19991231224527 00 1000222 1 19991231224618 00 J 333 2 19991231225202 00 13 3 19991231230306 00 J 334 2 Index Number 19991231230555 00 15 3 T 000 Time and Date
Space between fields
Entered Data Origin of Data
Figure 6-3 Timewand.src TimeWand II-Style Data File The Header appears as the first line in the data file. The Header identifies the unit and the time of the transfer. The exclamation mark (!) after the Header shows that the unit’s data is indexed. Each line of data ends with a space followed by the index number. The index number Chapter 6 Data Files
175
Page 184
indicates which Input Handler the data belongs to; this indexing information is useful when separating the data into fields. (Note: Input Handlers are numbered from top to bottom and from left to right.) For example, Figure 6-4 shows a sample application. (Note: The number in each Input Handler’s name shows the Input Handler’s ID; the IDs are numbered from top to bottom and from left to right.) Figure 6-5 shows a corresponding data file. Notice that the index number matches the Input Handler number.
Figure 6-4 Sample Application
Figure 6-5 Sample Application Data File The Tailer marks the end of the transferred data. Each line of data between the Header and the Tailer represents individual data entries. The data fields are separated by spaces, and each line of the data file ends with a carriage return and line feed.
176
Chapter 6 Data Files
Page 185
The Header This section defines the highlighted portions of the Header. 1.
The Header begins with a capital H before the line of data. It indicates the beginning of the data.
H 19991231235900 00 0000000001 ! 2.
This indicates the year the data file was transferred.
H 19991231235900 00 0000000001 ! 3.
This indicates the month and the day the data file was transferred.
H 19991231235900 00 0000000001 ! 4.
This uses 24-hour time to indicate the hour, minutes, and seconds the data file was transferred.
H 19991231235900 00 0000000001 ! 5.
This is the source code. The code is currently undefined in the Header but may be used in the future.
H 19991231235900 00 0000000001 ! 6.
This is the identification number belonging to the unit. This is always a ten-digit number.
H 19991231235900 00 0000000001 ! 7.
This is the application indicator; it appears at the end of the Header if the data has been indexed.
H 19991231235900 00 0000000001 !
Chapter 6 Data Files
177
Page 186
The Data This section defines the highlighted portions of the data. 1.
This indicates the year the data was entered.
19991231221500 00 1000384 1 2.
This indicates the month and the day the data was entered.
19991231221500 00 1000384 1 3.
This indicates the hour, minutes, and seconds (24-hour) that the data was entered.
19991231221500 00 1000384 1 4.
This number represents 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. For example, 00 indicates that the data was collected by scanning a complete Code 3 of 9 bar code, a 01 indicates that the data was collected using either a bar code scanpad or the keypad, 02 indicates that the data was collected from scanning a UPC bar code, and so on. See page 180 for a list of the origin of data numbers.
19991231221500 00 1000384 1 5.
This is the actual data; it can be from a bar code scan, keypad entry, or Touch Memory button touch. The data can vary in length and may include spaces.
19991231221500 00 1000384 1 6.
Each data line will end with an index number. The index number corresponds to the Input Handler’s ID.
19991231221500 00 1000384 1 7.
This portion of the data line is fixed in length.
19991231221500 00 1000384 1 178
Chapter 6 Data Files
Page 187
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 data collector.
T 000
Chapter 6 Data Files
179
Page 188
Origin of Data The following table defines the origin of data for the following bar code symbologies: Bar Code Symbology Complete Code 3 of 9 bar code Keypad or bar code scanpad 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
Family Code (Hexadecimal) 01 02 08 06 04 0A 0C 09 0B 0F 10
Origin of Data 31 32 38 36 34 40 42 39 41 45 46
The origin of data for a Touch Memory button is derived by taking the hexadecimal family code number of the button, converting it to a decimal number, and adding 30. For example: The DS1920 button has a family code of 10 hexadecimal, which is equivalent to 16 decimal; add 30 and you get 46, which is the origin of data of a DS1920 button. 180
Chapter 6 Data Files
Page 189
Chapter 7 Cross-Reference File Convert Programs This chapter contains information on: •= Cross-reference files for DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx. •= The Vxcrfw.exe cross-reference file convert program for Windows. •= The Vxcrf.exe cross-reference file convert program for DOS. •= Using a cross-reference (.CRF) file on a data collector.
Chapter 7 Cross-Reference File Convert Programs
181
Page 190
Cross-Reference File Discussion Most database programs are capable of exporting a text file (*.TXT) to be used by other applications. In many situations, a user needs to use the text file for a cross-reference file. A text file cross-reference file can be used by a LaserLite Mx with a memory card (refer to page 149). A DuraTrax, LaserLite, LaserLite Pro, or LaserLite Mx without a memory card cannot recognize a text file as a cross-reference file until it is converted into a *.CRF file. Cross-reference files created with Application Builder are automatically saved as *.CRF files. The cross-reference text file must be comma or tab delimited. Do not place quotes around the records; however, quotes are optional around fields. Up to three description fields can be in the cross-reference file besides the key field. Fewer than three fields are acceptable, but do not use more than three fields. (If more than three fields are necessary, use Vxcrf.exe discussed on pages 184–187.) The text file should be in the following format: Key<delimiter>Field1<delimiter>Field2<delimiter>Field3<cr/lf> and saved as a text file with a .TXT extension. Note: If using tab delimiters, use a text editor that preserves tab characters (for example, Notepad or Wordpad, but not MS-DOS text editor). You can convert the text file into a *.CRF file by either opening the text file in the Application Builder’s CRF window, or by converting the text file with either the Vxcrfw.exe or the Vxcrf.exe programs located in the Develop folder. To convert a text file into a *.CRF file with the Application Builder’s CRF window, choose Open from the File menu; the Open window appears. At the bottom of the Open window is a Files of type: pop-up menu; choose Any file from the menu and open the text file. The text file is displayed in a CRF window. When you save the file, it is automatically converted and saved as a *.CRF file.
182
Chapter 7 Cross-Reference File Convert Programs