PI1X Basic Programming Manual Ver. 1.10
47/156
A%
is an integer variable to be assigned to the result.
A%
Meaning
0
Change fail
1
Change OK
N1%
is an integer variable, indicating the parameter1.
N2%
is an integer variable, indicating the parameter2.
S$
is a string variable.
Refer to “
” for more details about the parameter
setting.
Purpose
:
To query the scanner(CCD/2D) current setting.
Syntax
:
A$=READER_QUERY$(N1% , N2%)
Example
:
‘To query the scanner status (Code-128/Read).
Value$=READER_QUERY$(13, 1)
PRINT "Value:";ASC(Value$)
Preamble$=READER_QUERY$(8, 3) ‘Preamble
characters
PRINT " Preamble:"+ Preamble$
Value$=READER_QUERY$(35,8)
PRINT "UPC/EAN Supplemental User-Programmable:";
Value$
Description
:
A$
is a string variable to be assigned to the result.
In addition to READER_QUERY$(35,7)or(35,8),
most use ASC(Value$) conversion.
N1%
is an integer variable, indicating the parameter1.
N2%
is an integer variable, indicating the parameter2.
Refer to “
Appendix B
” for more details about the parameter
setting.