Clears a scanner’s internal buffers without detaching from scanner firmware or unloading scanner DLLs.
BarcodeScanner objects
Integer scanner.Flush ( )
Argument |
Description |
---|---|
scanner |
The scanner object that is associated with the scanner you want to flush |
Integer. Returns 1 for success or one of the following negative values if an error occurs:
Use the Flush function to make sure the scanner buffers are clear after aborted scans.
The following example flushes the internal buffers of the scanner device associated with the BarcodeScanner object:
li_rtn = l_scanner.Flush()