Checks error conditions when settings up barcode scanner