Data Formats
Previous  Top 


When the 'import from portable reader button is pressed, the program looks for a file in the directory pointed to by the environment variable PALM

Eclipse loads the file xmove.cdd.

This contains the list of scanned barcodes. The file format is designed to be compatible with the earlier palm based scanners which used the CASL conduit.

The format of the xmove.cdd file is:

<header>
which comprises of the following 9 lines

#CDBID: CASL
#MAJREV: 2
#MINREV: 0
#FLDCNT: 3
#RECCNT: 0
#SYNCMODE: PDA_TO_PC
#FLDNUM:1 TYPE:S SIZE:0
#FLDNUM:2 TYPE:N SIZE:0
#FLDNUM:3 TYPE:S SIZE:0

<data>
which consists of the barcodes in the following format

0x00000000,0x0000,"Barcode(prefixed by * for typecodes)","Quantity for typecodes","O or I followed by the Palm reference number of the equipment list"

Where the quantity field is always zero for item level barcodes.

In this sample file

#CDBID: CASL
#MAJREV: 2
#MINREV: 0
#FLDCNT: 3
#RECCNT: 0
#SYNCMODE: PDA_TO_PC
#FLDNUM:1 TYPE:S SIZE:0
#FLDNUM:2 TYPE:N SIZE:0
#FLDNUM:3 TYPE:S SIZE:0
0x00000000,0x0000,"10",0,"O2133"
0x00000000,0x0000,"20",0,"I6177"
0x00000000,0x0000,"30",0,"O3129"
0x00000000,0x0000,"*998",56,"O9765"

The four lines of barcodes show:

Palm Reference 2133, quantity of 0, Barcode 10 being scanned Out
Palm Reference 6177, quantity of 0, Barcode 20 being scanned In
Palm Reference 3129, quantity of 0, Barcode 30 being scanned Out
Palm Reference 9765, quantity of 56, Typecode 998 being scanned Out

After an import a file short.cdi is created and synced to the device. This has a list of the barcodes that correspond to typecodes rather than individual item
barcodes.

the format of the short.cdi file is:

<header>
which comprises of the following 7 lines

#CDBID: CASL
#MAJREV: 2
#MINREV: 0
#FLDCNT: 1
#RECCNT: 2
#SYNCMODE: PC_TO_PDA
#FLDNUM:1 TYPE:S SIZE:0


<data>
which consists of the barcodes in the following format

0x00000000,0x0000,"Typecode"

in this sample file

#CDBID: CASL
#MAJREV: 2
#MINREV: 0
#FLDCNT: 1
#RECCNT: 2
#SYNCMODE: PC_TO_PDA
#FLDNUM:1 TYPE:S SIZE:0
0x00000000,0x0000,"998"
0x00000000,0x0000,"999"

This indicates that barcodes 998 and 999 are typecodes and the user should be prompted to enter the quantity of items.

The last file that is found on the Symbol is reg.cod which contains the registration code for the scanner.

This code is unique to the scanner and is tied to the unique serial number of the device.