You must set up the bar code or OCR trigger to be able to use the bar code or OCR reader
for use cases, such as reading serial numbers.
Before you begin
- Make sure that handheld mode is turned off in global settings. See Setting up .
- If you are using the bar code or OCR reader to trigger an inspection, decide whether you intend
to run the inspection on the local device or a secondary device.
Procedure
- From the home screen, click the icon that opens configure device.
- Tap auto-capture.
- Optional:
If you are reading codes to trigger an inspection on a secondary device, toggle Send Trigger to Secondary Device on.
Toggling this option displays more fields:
-
Set the secondary device location.
-
Set the secondary device name.
- Optional:
If you want to delay the image trigger, input the number of seconds in image trigger delay(s).
- Optional:
For OCR only:
In the BARCODE/OCR TRIGGER section, change mode
to accurate.
-
Tap add rule.
On the Add rule screen:
-
Tap type and select OCR or bar
code, depending on your use case.
-
Tap regular expression and type the regular expression that matches the
value that is read:
- To match any value:
(.*?)
- To match a vehicle's VIN number:
[A-HJ-NPR-Z0-9]{17}
- Optional:
If you are using the bar code or OCR value to trigger an inspection, tap
Trigger, and type the trigger string for the inspection that you want to run.
If you leave this field blank, results are sent by MQTT to
ibmvi/barcodeocrvalue
.
-
Tap save.
Note: To add more rules, repeat this step.
- From the home screen, tap the camera icon.
- Tap start auto-capture.