Function Reference 4-95
s c n T r i g g e r
Description
Initiates a scan, placing the scanned data in the scanner buffer.
If the LED on the keypad turns green, the scan was successful.
This function works with each scanner.
Call scnGetScannedData immediately after
calling scnTrigger. scnGetScannedData
allows the application to read the scanned
data.
Syntax
short far scnTrigger(short sWait);
Parameters
sWait
Flag indicating whether to wait until the scan is complete.
Values are:
0
Return immediately. If the application uses this
option, the scan may still be in progress when the
function returns to the application. If so, it must use
scnScannerHit to determine when the scan ends.
1
Wait until the scan is complete, timed out, or
un-decodable.
Return Values
0
Successful.
-9
The scanner is disabled.
-10
The scanner timed out.
Example
See “scnGetScannedData” for an example.
Содержание Gold 6037EX
Страница 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Страница 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Страница 10: ...viii Table of Contents ...
Страница 30: ...2 16 Programmer s Manual ...
Страница 36: ...3 6 Programmer s Manual ...
Страница 154: ...4 118 Programmer s Manual ...
Страница 228: ...14 Index ...
Страница 229: ......
Страница 230: ......