EasyManua.ls Logo

CipherLab 8300 User Manual

CipherLab 8300
263 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 #74 background imageLoading...
Page #74 background image
62
CipherLab BASIC Programming Part I
IOPIN_STATUS 8000, 8200, 8300, 8400, 8700
Purpose To check the I/O pin status.
Syntax A% = IOPIN_STATUS(N%)
Remarks A%” is an integer variable to be assigned to the result.
N%” is an integer variable, indicating the item to be checked with.
N%
Meaning
0 For 8000/8300: It’s the same using
IRDA_STATUS(0) to check IrDA
connection status.
When A% = 0, it means the IrDA connection is disabled.
When A% = 1, it means the IrDA connection is enabled.
For 8200/8400/8700: It always return 1. (A% = 1)
1 To check whether data transmission is successful or not.
A% = the length of string, including delimiters.
2 For 8200/8400/8700 only: To check whether the mobile computer
is
connected via cradle, cable or 5V DC adapter.
A% = A value that sums up values of each item.
Each bit indicates
a certain item as shown below.
Bit
Value Item
Remarks
0~
3
0x00 NO_CRADLE Not seated in any cradle.
0x01 MODEM_CRADLE Seated in the Modem Cradle.
0x02 ETHERNET_CRADLE Seated in the Ethernet Cradle.
0x03 GPRS_CRADLE
Seated in the GPRS/GSM
Cradle.
0x04 CHARGER_CRADLE
Seated in the Charging &
Communication Cradle.
4 0x00 RS232_CABLE_
DISCONNECTED
RS-232 cable is not connected.
0x10 RS232_CABLE_
CONNECTED
RS-232 cable is connected.
5 0x00 USB_CABLE_
DISCONNECTED
USB cable is not connected.
0x20 USB_CABLE_
CONNECTED
USB cable is connected.
6 0x00 ADAPTER_
DISCONNECTED
5V DC adapter is not
connected.
0x40 ADAPTER
_CONNECTED
5V DC adapter is connected.

Table of Contents

Other manuals for CipherLab 8300

Question and Answer IconNeed help?

Do you have a question about the CipherLab 8300 and is the answer not in the manual?

CipherLab 8300 Specifications

General IconGeneral
IP RatingIP54
Operating Temperature-10°C to 50°C
Storage Temperature-20°C to 60°C
Processor32-bit
Memory128 MB RAM
Battery3.7V
ConnectivityUSB, Bluetooth
Weight280 g
KeypadNumeric keypad

Summary

DEVELOPMENT ENVIRONMENT

1.1 Directory Structure

Describes the organization of the BASIC Compiler Kit directories and their contents for PC setup.

1.2 BASIC Runtime Engines

Explains the role of BASIC Runtime Engines as interpreters for running BASIC programs.

1.3 Development Flow

Outlines the three essential steps for developing and downloading BASIC programs.

USING BASIC COMPILER

2.1 File Menu

Details the six commands available in the File menu for program management.

2.2 Edit Menu

Explains seven commands in the Edit menu for text editing source code.

2.3 Configure Menu

Covers seven items for defining system settings like target machine and COM ports.

2.4 Compile Menu

Describes commands for syntax checking, compiling, and downloading BASIC programs.

2.5 Help Menu

Details the 'About' command for displaying program ownership and version info.

BASICS OF THE CIPHERLAB BASIC LANGUAGE

3.1 Constants

Defines string and numeric constants used in BASIC programming.

3.2 Variables

Explains variable types, naming rules, and declaration characters.

3.3 Expression and Operators

Covers assignment, arithmetic, relational, and logical operators.

3.7 Programming Style

Provides guidelines for writing readable BASIC programs.

BASIC COMMANDS

4.1 General Commands

Describes commands not tied to specific hardware features.

4.2 Commands for Decision Structures

Explains IF-THEN and ON-GOSUB/GOTO statements for conditional logic.

4.3 Commands for Looping Structures

Details FOR-NEXT and WHILE-WEND loops for repetitive tasks.

4.4 Commands for String Processing

Covers functions for manipulating text strings like LEN, MID$, LEFT$, RIGHT$.

4.7 Barcode Reader Commands

Describes commands for enabling, disabling, and reading barcode data.

4.15 Keypad Commands

Explains commands for handling keypad input and events.

4.16 LCD Commands

Details commands for controlling the LCD display, cursor, and graphics.

4.18 Fonts

Covers font size options and display capabilities for alphanumeric characters.

4.20 File Manipulation

Explains commands for managing DAT, DBF, and IDX files for data storage.

Appendix I SCANNERDESTBL ARRAY

SYMBOLOGY PARAMETER TABLE FOR CCD/LASER/LONG RANGE READER

Lists parameters for configuring CCD, Laser, and Long Range scan engines.

SYMBOLOGY PARAMETER TABLE FOR 2D/EXTRA LONG RANGE READER

Lists parameters for configuring 2D and Extra Long Range scan engines.

Appendix II SYMBOLOGY PARAMETERS

SCAN ENGINE, CCD OR LASER

Details symbology parameters for CCD, Laser, and Long Range scan engines.

SCAN ENGINE, 2D OR (EXTRA) LONG RANGE LASER

Details symbology parameters for 2D and Extra Long Range scan engines.

Appendix III SCANNER PARAMETERS

SCAN MODE

Defines various scan modes like Aiming, Laser, and Test modes for scanner operation.

READ REDUNDANCY

Specifies levels of reading security to balance with decoding speed.

TIME-OUT

Limits the maximum scanning time interval for specific scan modes.

USER PREFERENCES

Outlines customizable scanner settings for user convenience.

Appendix IV RESERVED HOST COMMANDS

CLEAR

Command to erase data from a specified transaction file.

READ

Command to read the top record from a specified transaction file.

REMOVE

Command to delete one record from the top of a specified transaction file.

TR

Command to retrieve the current system time in YYYYMMDDHHNNSS format.

TW

Command to set the system time using a YYYYMMDDHHNNSS string format.

Appendix V DEBUGGING COMMANDS

START_DEBUG

Initiates debugging by writing system activities to a specified COM port.

STOP_DEBUG

Terminates the debug function started by START_DEBUG.

Appendix VI RUN-TIME ERROR TABLE

Error Code Explanation

Lists common run-time error codes and their explanations for debugging.

Appendix VII KEY CODE TABLE

Key Name Key Code

Provides a mapping of key names to their corresponding key codes for keypad operations.

Related product manuals