![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690052.webp)
5 - 2
5X80 Series Software Development Kit (SDK) User’s Guide
SetCommDriverHandle
SetCommDriverHandle receives the handle to the open communications port. The handle can then be used to access private
driver ioctl calls.
Syntax
void SetCommDriverHandle
(
HANDLE hDriver
)
Parameter
Description
hDriver
The current handle to the open driver used to communicate with the imager.
SetHardwareTrigger
SetHardwareTrigger triggers the imager hardware trigger line, depending on bEnable. The hardware trigger line is active low.
Syntax
void SetHardwareTrigger
(
bool bEnable
)
Parameter
Description
bEnable
If true, set trigger line low to trigger imager. If false, set trigger line high to turn off trigger.
WakeUpImager
WakeUpImager toggles the imager hardware wakeup line from low to high, delay, (see Integration Manual for timing), then from
high back to low.
Syntax
void ImagerPoweredDown
(
void
)
Registry Entries
There are two registry entries used to modify the SDK default behavior. The values are both located in the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Hand Held Products\MatrixDemos.
Baud Rate
The SDK will not normally allow high speed serial connections (connections greater than 115200 baud) unless it recognizes the
driver name in the registry. The first registry value, BaudRate, specifies the first baud rate at which the demos will attempt to
connect. It also overrides the normal block that sets high speed baud rates. This lets you specify a baud rate greater than
115200.
ForceHmodem
The SDK does not normally use its Y-Modem variant, Hmodem, if a high speed serial connection is specified. However, if your
driver does not support true hardware RTS flow control, there is a substantial risk of communication buffer overruns. These
overruns can cause data loss, especially during image transfer. The registry value ForceHmodem lets you force the use of the
communications protocol, preventing data buffer overflow.
Содержание 5080
Страница 1: ...Software Development Kit SDK for 5080 5180 and 5380 Decoded Miniature Image Scan Engines User s Guide ...
Страница 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Страница 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Страница 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Страница 63: ......
Страница 64: ... Hand Held Products Inc 700 Visions Drive P O Box 208 Skaneateles Falls NY 13153 0208 5X10 80SDK UG Rev C 9 07 ...