Specifications
NOTE: In the Point Scan mode, scanning split codes in batch edit mode is disabled. (For details about
the Point Scan mode, refer to the “BHT-700BB/700BWB/700BWBG-CE User's Manual” or "BHT-
700QWBG-CE User's Manual").
13.3. Barcode Reading Using the Virtual COM Port
13.3.1. Outline
Barcode reading using the virtual COM port is supported on the BHT-700 series.
For greater convenience, this function is available for use in conjunction with kbifCE. For more
information on kbifCE, see the kbifCE user's guide (available for download on the DENSOWAVE QBNet
website).
Using this function it is possible to obtain reading data as if it were being received through a COM port.
For applications, it is equivalent to a reader being connected to the communication port (COMx). Using
COM, barcode reading data can be used by multiple applications.
13.3.2. Programming
Port number 5 is allocated to the virtual COM port used for barcode reading.
Barcode reading mode and the types of barcodes that are allowed to be read are designated by the
kbifCE.
A comparison of the functions of Win32 API when using a general COM port and a virtual COM port for
barcode use is as follows:
Win32 API General COM Virtual COM used for reading
CreateFile Open COM port ←
CloseHandle Close COM port ←
ReadFile Read received data Read data
GetCommMask Obtain type of wait event ←
SetCommMask Set type of wait event ←
Treat completed reading event as
receiving event.Non-reading events
invalid.(*1)
GetCommTimeouts Obtain timeout value ←
SetCommTimeouts Set timeout value ←
Non-receiver side timeouts invalid.(*1)
WaitCommEvent Wait for event ←
Non-receiving events invalid.
(*1) An error will not occur.
The following functions are not supported. If operation is attempted, no function will be executed.
List of functions not yet supported
WriteFile GetCommModemStatus SetCommBreak
ClearCommBreak GetCommProperties SetCommState
ClearCommError GetCommState SetupComm
EscapeCommFunction PurgeComm TransmitComm
13.3.3. How to Use
Start up kbifCE and set the destination for the virtual COM port (for further details see the kbifCE user's
guide).
44










