Work with barcode scanner (simply wait for barcode enter whenever it is possible)