Paxar Gold 6037EX manual N T r i g g e r, Description

Models: Gold 6037EX

1 230
Download 230 pages 30.9 Kb
Page 131
Image 131

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:

0Return 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.

1Wait until the scan is complete, timed out, or un-decodable.

Return Values

0Successful.

-9 The scanner is disabled.

-10 The scanner timed out.

Example

See “scnGetScannedData” for an example.

Function Reference 4-95

Page 131
Image 131
Paxar Gold 6037EX manual N T r i g g e r, Description