CipherLab 9400 Series User Manual page 33

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

showCodeType
[in][out] A value that defines whether to insert barcode type or RFID tag type
in data records...
0*
1
showCodeLen
[in][out] A value that defines whether to insert length code for barcode or RFID
tag in data records...
0*
1
prefixCode
[in][out] A string variable that stores the prefix code.
suffixCode
[in][out] A string variable that stores the suffix code.
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
Depending on the reader type and associated reader settings, the fields of
output record may differ.
If data comes from the barcode reader, the fields of data can be as follows:
[Code Type][Code Length][Prefix Code][Decode Data][Suffix Code]
[Code Type]:
[Code Length]:
[Prefix Code]:
[Decode Data]:
[Suffix Code]:
If data comes from the RFID reader, the fields of data can be as follows:
[Tag Type][Tag Length][Tag UID][Delimiter][Tag Data]
[Tag Type]:
DO NOT transmit code type
Transmit code type
If it is set to read only UID of a RFID tag, the code length will refer to the
length of UID
DO NOT transmit code length
Transmit code length
Call GetErrorCode() to find the error condition encountered:
-253
E_WRONG_READER_TYPE
This field is output only when the value of showCodeType is
non-zero.
This field is output only when the value of showCodeLen is
non-zero. It covers the prefix/suffix code if any has been
specified.
This field is output only when the value of prefixCode is
non-zero.
This field is output when the data has been decoded.
This field is output only when the value of suffiixCode is
non-zero.
This field is output only when the value of showCodeType is
non-zero.
Chapter 2
Reader API
25

Advertisement

Table of Contents
loading

Table of Contents