EasyManuals Logo
Home>Datalogic>Barcode Reader>PowerScan D8530

Datalogic PowerScan D8530 User Manual

Datalogic PowerScan D8530
160 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 #149 background imageLoading...
Page #149 background image
PROGRAMMING FOR EXPERT USERS
137
Examples
The string transmitted is S12345abcdef3790T and corresponds to the #DS function,
as defined in the programming language.
1) expression Ö SSTR<#DS,1,5> + SSTR<#DS,11,15> + SSTR<#DS,6,9>
result Ö S12345f3790abcdT
2) expression Ö FSTR<#DS, S616263T, S616263T, 0> + SSTR<#DS,LSTR<#DS>
-3, LSTR<#DS>
result Ö Sabc3790T
3) expression Ö FSTR<#DS, S616272T, S616261T, 0>
result Ö ST null string
4) expression Ö #DS - FSTR<#DS, S616263T, S6566T, 0>
result Ö S123453790T
During the format definition the decoded string represented by #DS does not change.
Using Format Output in Format Definition
The input used by the above functions to define the code formatting usually
corresponds to the decoded code (#DS). Actually, the formatting expression of each
function can also format the result (output) produced by a preceding code formatting.
The format output is represented as follow:
#F<n>, where:
<n> = format number in the range 1-4
#F = format output
Being Format 5 not included in other format expression, the format number is in the
range 1-4. Furthermore, since a format expression operates upon the output of the
preceding formats, the expression defining Format 1 will never contain the result of
another format.
Example
The following expression is used to define Format 3:
#DS + FSTR<#F2, S6173T, S6263T, 0>
The expression input consists of the decoded code and the result produced by
Format 2 (#F2).
The FSTR function searches for a defined substring within the #F2 result; then, it
concatenates this substring and the decoded code. The result corresponds to #F3
output.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Datalogic PowerScan D8530 and is the answer not in the manual?

Datalogic PowerScan D8530 Specifications

General IconGeneral
BrandDatalogic
ModelPowerScan D8530
CategoryBarcode Reader
LanguageEnglish

Related product manuals