Function Description - Datalogic PowerScan D8530 Reference Manual

Hide thumbs Also See for PowerScan D8530:
Table of Contents

Advertisement

B
PROGRAMMING FOR EXPERT USERS
This document is addressed to expert users who are familiar with software
programming languages and want to define a personalized code formatting. The
provided programming language allows creating either simple or complex formatting
expressions by means of the basic functions connected together through the
following operators: (, ), -, +.
The syntax to be used to transmit the expressions to the PowerScan® D8530 is the
following:
$+ELB<n>formatting expression<ETX>$-
where:
<n> is a number in the range 1-5 corresponding to the format to be defined;
<ETX> is the conventional character used as terminator of the command;
the formatting expression uses ASCII characters when containing text strings.
For this reason, the string must be inserted between two quotation marks. The
following example shows the ASCII conversion of the "ABC" string:
$+ELB1 414243 +#DS^C$-.

FUNCTION DESCRIPTION

All the functions and conventions to be used within the formatting expressions are
listed below:
FUNCTION NAME
FSTR
FLSTR
SSTR
FPOS
LSTR
ISTR
RSTR
DESCRIPTION
Searches for a defined substring by its starting and ending
string.
Searches for a defined substring by its starting string and its
length.
Extracts a defined substring from the original string.
Searches for a position of a defined substring within the
original string.
Returns a string length.
Insert a substring in the original string.
Substitutes a defined substring contained in the original
string with a new one.
PROGRAMMING FOR EXPERT USERS
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents