EasyManuals Logo

Code CR1500 Programming Guide

Code CR1500
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
D028868 CR1500 CR1100 CR2700 JavaScript Programming Guide User Manual Page 20 of 41
The Code Corporation
12393 South Gateway Park Place, Suite 600, Draper, UT 84020
+1 (801) 495-2200
FAX +1 (801) 495-0280
Example:
var link = decodes[i].linkage;
if( link === null ) print(“not composite\n”);
decodes[i].saPosition
In order to handle larger messages, that are practical, in a single symbol, a data message can
be distributed across several QR Code symbols. Up to 16 QR Code symbols may be appended
in a structured format to convey more data. If a symbol is part of a structured append, this
will be indicated by a structured append block in barcode text.
The position index of the symbol within the set of QR Code symbols in the structured append
format and is an integer between 1 and 16 (including the boundaries) in string format.
Example:
var numSplits = decodes[i].saTotal;
var idx = decodes[i].saPosition;
print(“this is + idx + “ of + numSplits + “\n”);
decodes[i].saTotal
The total amount of the symbol within the set of QR Code symbols in the structured append
format. It's an integer between 2 and 16 (including the boundaries) in string format.
Example:
var numSplits = decodes[i].saTotal;
decodes[i].saParity
Parity Date: It shall be an 8-bit byte value obtained by using the GetParity method, with the
original input data as its parameter. It is identical in all symbols in the structured append,
enabling verification that all symbols read form part of the same structured append message.
Example:
var parity = decodes[i].saParity;
decodes[i].isConfig
The decoder marks decoded data that matches configuration code formatting with isConfig
true. JavaScript must then decide the appropriate way to handle or not handle the code.
Example:
var isConfigCode = decodes[i].isConfig;
decodes[i].decodeOutputFormat
The decode.decodeOutputFormat property is a read-only property that gives the type of
output the JavaScript should expect.
Value
Definition
0
Raw output: No formatting applied by the decoder

Table of Contents

Other manuals for Code CR1500

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Code CR1500 and is the answer not in the manual?

Code CR1500 Specifications

General IconGeneral
BrandCode
ModelCR1500
CategoryBarcode Reader
LanguageEnglish

Related product manuals