11.6.4
Ranges and Range Testing
Testing is done in two steps First, if any Char Test(TYPE): characters are specified a
Character Type test is done as indicated in Section 11.6.4.1 - Character Type Testing. Then, if
either Range-1 or Range-2 has entries, a Range test is done as indicate in Section 11.6.4.2 -
Range Testing.
To pass testing, the Char Type(TYPE): test must pass if it exists. In addition, at least one
Range Test must pass if any exist, If not, errors are indicated on the programs main screen.
11.6.4.1 Character Type Testing
Each character in Sample which has a corresponding Char Test(TYPE): is tested numerically
to see if it is within one of the sets for the type specified. Types can have multiple sets of
characters. As long as the Sample character is in one of the sets, the test is valid for that
character. If any individual Sample character test fails, the overall test is failed.
11.6.4.2 Range Testing
Ranges are subdivided into Sub-Ranges which are delineated by contiguous sets of identical
Char Test(TYPE):s. A Range test consists of testing each Sub-Range. A Range test passes if
all of its' Sub-Range tests pass. Sub-Range testing checks to see if the selected set of Sub-Range
Sample characters treated as a large number fits between a lower and an upper bound. The
bounds are formed by numerically concatenating the selected Sub-Range bounds boxes, to form a
number representing lower and upper bounds for that Sub-Range.
Sub-Range bounds entry boxes are actually tested against their corresponding Sample
characters on a character by character basis from left to right until all the individual lower and
upper bounds for a given Range are tested:
On lower bounds, starting at the left,
(a) lower than its lower bound,
(b) equal to its lower bound,
(c) else,
On upper bounds, starting at the left,
(a) greater than its upper bound,
(b) equal to its upper bound,
(c) else,
This process allows the exact character in the range sequence that caused a range test error if
any. This also means that the range is tested as a large concatenated number composed of
numerical characters. The test is performed on a character by character basis.
11.6.5
Saving and Loading Barcode Test (.bar) Files
11.6.5.1 5.1 Barcode Test (.bar) File Structure
PEmicro Barcode Test Data is stored in JSON Data Interchange Format files [2]. The information
in an empty PEmicro JSON Barcode Test file is shown below where blue characters represent the
formatting information and
Test Generator. All data is in hexadecimal to make the files readable since the data represented
can be nonprintable asci characters. This empty PEmicro JSON Barcode Test file has been
reformatted, spacing wise, to make it more readable. There are many sites on the internet which
will reformat JSON files [3].
User Manual For CYCLONE
red
characters represent what data in inserted in the file by the Barcode
FX
Programmers
if the corresponding Sample character is:
lower bound Sub-Range test failed, do next Sub-Range
next Sub-Range character to the right must be tested
lower bound Sub-Range test passed, do next Sub-Range.
if the corresponding Sample character is:
upper bound Sub-Range test failed, do next Sub-Range
next Sub-Range character to the right must be tested
upper bound Sub-Range test passed, do next Sub-Range.
114
Need help?
Do you have a question about the CYCLONE FX and is the answer not in the manual?
Questions and answers