We use cookies to ensure that we give you the best user experience on our website. If you want to find out more about the cookies we use, you can access to our Privacy Policy here. By continuing your visit to our website, we'll assume you consent to our use of cookies.



BHT-BASIC4.0 Development Pack

A software package required for the development of BHT applications

  • Features
  • Operation Environment
  • Extended version of BHT-BASIC3.6

Software Tool for Developing Applications

This BHT-BASIC4.0 Development Pack contains the complete software programs required for developing applications for the BHT Series scanners. You can start a development at right using the provided software and accessory products described below.

  • ・BHT-BASIC 4.0 Compiler (including BHT-BASIC3.6)
  • ・BHT-BASIC 4.0 Remote Debugger (debugging BHT-BASIC3.6 is enabled)
  • ・BHT-BASIC 4.0 Transfer Utility (including BHT-Ir protocol)

Easy-To-Develop Programming Language

Since a BASIC language based on the Microsoft MS-BASIC ideal for handy terminals is used, this development package offers features unique to a barcode reader just with one command. Included in the package are commands and functions exclusively used for barcode reading and data reception/transmission. Since this BHT-BASIC operates in the interpreter environment, reliable operation free from expected failures such as breakdown or memory destruction caused by a potential programming error is realized.

Expanded Functions

Basic elements of conventional BHT-BASIC3.6 programs, such as a size of program and data file, variable and label length, are largely extended, which all together will help give much more flexibility in developing a program.(1)

High Compatibility

You can compile a source program written by BHT-BASIC3.x without a change using the BHT-BASIC4.0 compiler.(2)

  1. 1.However, these expansions apply only to the BHT-300 Series scanners. The BHT-7000/BHT-7500/BHT-8000/BHT-100 Series still use the existing BHT-BASIC3.6 basic elements.
  2. 2.Note that programs that rely on the hardware, such as communication speed, should be appropriately modified.
  3. Sales availability varies by country and region. Please contact us for more information.

BHT-BASIC4.0 Compiler

Operating Environment
OS  Windows® 10(32-bit/64-bit(WOW64)), Windows® 11(64-bit(WOW64)) (2)(4)
CPU Intel®Architecture CPU(3)
BHT Supported
BHT Supported model
BHT-BASIC4.0 BHT-S40/S30/1500/1300(BHT-OS)
  1. Except for the above, Support for scanners have ended.

BHT-BASIC4.0 Remote Debugger

Operation Environment
OS  Windows® 10(32-bit/64-bit(WOW64)), Windows® 11(64-bit(WOW64))(2)(4)
CPU Intel®Architecture CPU(3)
Serial port Serial port supporting communication speed of 115200 bps
Display Resolution of 800 x 600 dots or higher
BHT Supported
Model Model System version(1)
BHT-BASIC4.0 BHT-S40 All Versions
  1. Except for the above, Support for scanners have ended.

BHT-BASIC4.0 Transfer Utility

Operation Environment
OS Windows® 10(32-bit/64-bit(WOW64)), Windows® 11(64-bit(WOW64)) (2)(4)
CPU Intel®Architecture CPU(3)
Communication port RS-232C communication port
BHT Supported
Protocol Model
BHT-Ir Protocol,Y-modem BHT-S40/S30/1500/1300(BHT-OS) 
Except for the above, Support for scanners have ended.
  1. 1.The latest system can be downloaded from QBdirect (only for Registered Users )
  2. 2.Windows®are registered trademarks or trademarks of Microsoft Corporation in the U.S. and/or other countries.
  3. 3.Intel® are registered trademarks or trademarks of Intel Corporation in the U.S.
  4. 4.This application is executed as Win32 application on Windows 10(64-bit) / Windows 11(64-bit) using WOW64 (Windows 32-bit emulation on Windows 64-bit).

Basic Features of BHT-BASIC4.0

The BHT-BASIC4.0, an extended version of BHT-BASIC3.6, has been enhanced to support even a larger file size and program size. In addition, its enhanced variable scope and valid duration combined with a wide range of selectable user-defined functions have increased the efficiency of program development.

In the BHT-BASIC4.0A, an execution program has a .PD4 type extension, instead of a .PD3 type conventionally adapted in BHT-BASIC3.x.


Operating Environment of BHT-BASIC4.0 (Supported BHTs)

The executable programs (PD4) complied by the BHT-BASIC4.0 Development Pack are designed to operate on the BHT-300 Series scanners equipped with a system compatible with BHT-BASIC4.0. They do not run on the BHT scanners, such as BHT-8000 Series, equipped with the conventional BHT-BASIC3.x-supported systems.

Any source programs written by BHT-BASIC4.0 cannot be complied in the BHT-BASIC3.6 configuration.

Wide Selections of Data File Sizes

Data file sizes are extended to meet large volumes of data.

Maximum number of records Increased to 2G from 32,767 records (equivalent to a maximum No. of long integer)
Maximum record length Increased to 65,535 from 255 bytes
Field variable size Increased to 8,192 from 255 characters (equivalent to a maximum length of character string)
Number of fields Increased to 254 from 16 fields

Extended Variable Types

To gain access to a large amount of storage, types of variables are extended. You can use extended versions of variables on the BHTs.

  • Supporting long integers
  • A maximum length of character string is significantly increased from 255 to 8,192 characters

Enhanced Variable Scope/Valid Duration

The scope of variable, a range in which the variable can be referred to, is enhanced to make it explicitly definable (PUBLIC statement).

In addition, controlling the valid duration of each variable, or a period the variable remains valid, specified in the user-defined function is possible (DIM, PRIVATE and STATIC statements).

Extended Basic Program Elements

Programming is simple and easy as a result of increase in the following element sizes.

Program Increased to 3,2767 from 8,192 characters per line
Number of program lines is increased to 32,767 from 9,999
Program size is increased to 2 GB max. from 128 KB(1) max. (However, it depends on the memory size of BHT.)
Label Number of characters is increased to 255 from 10 characters
Identifier Number of characters is increased to 255 from 10 characters
Number of available identifiers is increased to 1,024 from 255 for each variable type
  1. 1.64 KB program cord + 64 KB register variable
  • Features
  • Operation Environment
  • Extended version of BHT-BASIC3.6

Related Products

Contact us


If you have not registered

The services on this member site are available only for registered customers.

New member reg.