88
CipherLab BASIC Programming Part I
Refer to Appendix I for two tables that describe the details of the reader settings.
Table I is for the use of CCD or Laser scan engine.
Table II is for the use of 2D or (Extra) Long Range Laser scan engine.
Note: For 2D or (Extra) Long Range Laser scan engine, it is necessary to call
READER_CONFIG() to enable new settings.
For specific symbology parameters, refer to Appendix II; for scanner parameters, refer to
Appendix III.
GET_READER_SETTING
Purpose To get the value of a specified parameter of the barcode settings.
Syntax A% = GET_READER_SETTING(N%)
Remarks “A%” is an integer variable to be assigned to the result.
“N%” is an integer variable, indicating the inde
x number of a parameter. (cf.
READER_SETTING)
Example
Setting1% = GET_READER_SETTING(1)
IF Setting1% = 1 THEN
PRINT “Code 39 readability is enabled.”
ELSE
PRINT “Code 39 readability is disabled.”
See Also CODE_TYPE,
READER_SETTING
Purpose To set the value of a specified parameter of the barcode settings.
Syntax READER_SETTING(N1%, N2%)
Remarks “N1%” is an integer variable, indicating the index number of a parameter.
“N2%” is an integer variable, indicating the value to be set to a parameter.
A set of parameters called barcode settings determines how the decoder will
decode the barcode data. The initial values of the barcode settings are given by
the Barcode Settings Window of the BASIC Compiler. The user can reset the
values by calling READER_SETTING in a BASIC program.
Refer to Appendix I, II, and III for details of the settings.
Example
READER_SETTING(1, 1)
‘ Code 39 readability is enabled.
See Also CODE_TYPE, READER_CONFIG