Use InitScanner1 function to initialize scanner port. The scanner port
won't work unless it is initialized.
Once the scanner port is initialized (by use of InitScanner1 function), call
this Decode function to perform barcode decoding. This function should
be called constantly in user's program loops when barcode decoding is
required. If the barcode decoding is not required for a long period of
time, it is
recommended that the scanner port should be stopped by use of the
HaltScanner1 function. If the Decode function decodes successfully, the
decoded data will be placed in the string variable CodeBuf with a string
terminating character appended.
And the code length will be saved in “CodeLen”, the code name type will
be saved in “CodeName”, and the code ID will be saved in CodeID.
And we have the other buffer for save all barcode information in
“FullCodeBuf”, the format of “FullCodeBuf” as follows:
Kommentare zu diesen Handbüchern