QRCodeReport

NI Vision for LabWindows/CVI Function

QRCodeReport

Describes the QR code that the function read.

Elements

Name

Type

Description

found unsigned int This element is TRUE if the function located and decoded a QR code and FALSE if the function failed to locate and decode a QR code.
data unsigned char* The data encoded in the QR code.
dataLength unsigned int The length of the data array.
boundingBox[4] PointFloat An array of four points describing the rectangle surrounding the QR code.
tokenizedData QRCodeDataToken* Contains the data tokenized in exactly the way it was encoded in the code. This is useful if the code is encoded using multiple languages.
sizeOfTokenizedData unsigned int Size of the tokenized data.
numErrorsCorrected unsigned int The number of errors the function corrected when decoding the QR code.
dimensions unsigned int The number of rows and columns that are populated for the QR code, measured in cells.
version unsigned int The version of the QR code. The version indicates how much information can be encoded and how much redundancy is included inside the code.
modelType QRModelType This option allows you to specify what type of QR code this is. Micro QR codes have only one target in the top left. Model 1 codes have alignment "dashes" along the bottom and right side of the symbol.
streamMode QRStreamMode The format of the data encoded in the stream.
matrixPolarity QRPolarities The polarity of the QR code.
mirrored unsigned int This element is TRUE if the QR code appears mirrored in the image and FALSE if the QR code appears normally in the image.
positionInAppendStream unsigned int Indicates what position the QR code is in with respect to the stream of data in all codes. It is possible for a QR code to be part of a larger array of codes.
sizeOfAppendStream unsigned int Specifies how many QR codes are part of a larger array of codes. Sometimes a QR code is part of a larger array of codes.
firstEAN128ApplicationID int The first EAN-128 Application ID encountered in the stream. This is only useful for EAN-128 codes and for mixed/appended EAN-128 codes, refer to the tokenized output.
firstECIDesignator int The first Regional Language Designator encountered in the stream. This is only useful for ECI codes. For multiple language ECI codes, refer to the tokenized output.
appendStreamIdentifier unsigned int Specifies what stream the QR code is in relation to when the code is part of a larger array of codes.
minimumEdgeStrength unsigned int The strength of the weakest edge the function used to find the coarse location of the QR code in the image. Use this value as a guide for setting the edgeThreshold element of the searchOptions parameter of imaqReadQRCode().
demodulationMode QRDemodulationMode The demodulation mode the function used to locate the QR code. If demodulationMode is set to IMAQ_AUTO_DETECT_DEMODULATION_MODE in the searchOptions parameter of imaqReadQRCode(), this element indicates the recommended demodulation mode for this image.
cellSampleSize QRCellSampleSize The cell sample size the function used to locate the QR code. If cellSampleSize is set to IMAQ_AUTO_DETECT_CELL_SAMPLE_SIZE in the searchOptions parameter of imaqReadQRCode(), this element indicates the recommended cell sample size for this image.
cellFilterMode QRCellFilterMode The cell filter mode the function used to locate the QR code. If cellFilterMode was set to IMAQ_AUTO_DETECT_CELL_FILTER_MODE in the searchOptions parameter of imaqReadQRCode(), this element indicates the recommended cell filter mode for this image.