(→FAQ)
|
(→FAQ)
|
Line 11: | |||
'''When I scan in my application, the data being gathered in my BarcodeDataReceived event handler is the barcode I scanned, but multiple instances of it, strung together. I only want a single instance of the barcode data. Help!''' | '''When I scan in my application, the data being gathered in my BarcodeDataReceived event handler is the barcode I scanned, but multiple instances of it, strung together. I only want a single instance of the barcode data. Help!''' | ||
:You likely have multiple read mode turned on; this will perform multiple decodes in one scan session, and return the data of each successful decode. Enabling single read mode will enable you to get the single decode you're looking for. You can do this through the Scanner application or via code: | :You likely have multiple read mode turned on; this will perform multiple decodes in one scan session, and return the data of each successful decode. Enabling single read mode will enable you to get the single decode you're looking for. You can do this through the Scanner application or via code: | ||
- | :<pre>ScanBarcode sb = new ScanBarcode(); | + | :<pre>ScanBarcode sb = new ScanBarcode();sb.ReadMode = ScanBarcode.ReadModes.RM_SINGLE;</pre> |
- | :sb.ReadMode = ScanBarcode.ReadModes.RM_SINGLE;</pre> | ||
===Links=== | ===Links=== | ||
*[http://ftp.opticon.com/H16_H19/SDK%20-%20EGG32880/ H19 SDK Download Page] | *[http://ftp.opticon.com/H16_H19/SDK%20-%20EGG32880/ H19 SDK Download Page] |