How to integrate Handheld Scanners in Perspective Ignition

Hi I want to intergrate a Handheld scanner in Ignition Perspective V8.1.25. I know that we can use the camera option from Ignition mobile by using the Barcode feature in events. But I want to use a handheld barcode scanner. I someone worked on it, can you guys help me out?

We use CipherLabs RS35 handheld barcode scanners which comes with pre-loaded software to manage the built-in barcode scanning engine. Using that, you setup the scanner to output the scan as key events and use the Perspective barcode scanner input component using either a regex or prefix/suffix combination to capture scans.

Thanks for the info! can you send me an example or screenshots if possible.

On the RS35, the app is called ReaderConfig (which is specific to the RS35, not any handheld) where you select a Configuration, multiple configs can be saved, but I just use the Default profile it comes with. Select the Default profile then select Scanner Preferences then Data Output then set the default mode to KeyEvent. Inside this configuration you can add prefix and suffix characters, enable/disable barcode types, etc.

On the Ignition side, you just place a barcode scanner input component on the view. From there you either set the prefix and suffix props, or the regular expression field to match a certain pattern.

image

image

1 Like

We want to configure this for the simplest, out-of-the-box handheld scanner config ... which we think is no-prefix, with CRLF as the suffix.

We have tried #7013, as the strings in the "suffix" property, but no luck.

Note: if we reconfigure the scanner to have special prefix and suffixes ... it works fine. But we don't want to reconfigure the scanner, in general.

Based on other posts in the forum, we even tried to put the string Enter in the regex field (leaving the others blank) ... no luck

This post is tagged Perspective. Any scanners that aren't integrated with a mobile device's barcode scanning functionality have to operate as keyboard wedges. You must have a reliable way to distinguish keystrokes from scans, and prefix/suffix codes are the only reliable way to do this, for the general case.

When/if Perspective Mobile and/or Workstation gain the ability to manage local serial devices (or serial emulating devices), such a side channel could be used instead of keyboard wedge mode. It is technological possible, just not simple, so it hasn't been implemented. (Consider creating/bumping a feature request.)

In the meantime, you will need to configure your scanners. Full stop.

Thanks for the clarification.

I do get your point that, without prefixes and suffixes, it's impossible to split out the scanner-generated traffic from the true-keyboard-generated traffic.

We had hoped that there was some way to have a suffix be non-printable ASCII characters (like CR and LF).

Apparently not.

I've seen other posts propose using ! and @ ... those seem like reasonably rare characters to encounter in our 1D barcodes. We'll do that.

Note: In this particular case, we DO expect the ONLY keyboard activity to be scanners-configured-as-keyboard-wedges - everything else is mouse-clicks.

Here what we did. In our case, we scan a specific format, being 6 digits

image

Right now, we are using the perspective mobile app to scan barcodes with an android phone's camera. It has been working great for tracking packages around the facility and sending out delivery notifications to people in the plant. They want to swap out the phone with one that has an integrated barcode scanner in the phone like dkhayes117 is using. I understand I will not be able to use the perspective integrated barcode scanner input after making the switch, but is it possible to stay on the perspective mobile app and integrate these phone's barcode scanner into the perspective mobile app?

Yes, you should be able to use the barcode scanner input component for key events along with the app's barcode function that leverages its camera.

1 Like