# Sepasoft Barcode scanner configuration

**URL:** <https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [June 10, 2024, 8:34am UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607 "2024-06-10T08:34:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [June 10, 2024, 8:34am UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/1 "2024-06-10T08:34:34Z")

</div>

Hi team,

I have installed the Sepasoft Barcode Scanner module in Vision for an application. I need to configure it so that the scanned data can be retrieved without requiring the user to manually focus on the input field.

I have successfully tested this with a Newland scanner using a prefix (preamble: \u0021) and it worked well. However, the customer wants to use various scanners like Zebra, Honeywell, and Rugtec, with barcodes containing only text and no prefix or suffix.

I am not very familiar with preambles, postambles, or separators. Leaving these fields empty causes an error. What should I use for the preamble to ensure that any scanner can be used to scan the barcodes successfully?

Could you please assist with this configuration?

Thank you.

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [June 10, 2024, 10:43am UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/2 "2024-06-10T10:43:29Z")

</div>

How will the module know, when to start capturing the input, if there is no prefix?

In every barcode scanner I've used, I've set the prefix in the config tool for that scanner and used that in the Barcode Scanner Module for preamble...

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [June 10, 2024, 12:27pm UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/3 "2024-06-10T12:27:09Z")

</div>

But why should i have to configure if my barcode scanned text doesnt have prefix?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/9/c93bd46559f628bb9233162b7b6ddf850ea81569.png)  
I cannot leave this field empty?!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 10, 2024, 12:30pm UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/4 "2024-06-10T12:30:44Z")

</div>

As noted, with no prefix or suffix, there's no way to handle such scanners with generic keyboard-based methods.

Since you are using Vision, you have to option to set up a local serial port for a scanner, and run a background jython task to monitor it for scans. Such a task can handle any kind of input, and deliver the scans unambiguously to Vision Client tags.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 10, 2024, 12:37pm UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/5 "2024-06-10T12:37:56Z")

</div>

> [@Dharani\_T](#):
>
> I cannot leave this field empty?!

No. This component monitors _ **all** _ keyboard input and must have a preamble (prefix) so it knows when to start buffering input as a scan versus someone typing. I recommend using a suffix as well.

[Barcode Scanner MES 3.0 (sepasoft.com)](https://docs.sepasoft.com/articles/#!knowledge-base/barcode-scanner-mes-3-0)

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [June 10, 2024, 12:39pm UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/6 "2024-06-10T12:39:01Z")

</div>

Where do we write the Jython task to monitor the process? Is this needed on top of reading it using sepasoft?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 10, 2024, 12:43pm UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/7 "2024-06-10T12:43:59Z")

</div>

You typically would write the task in the project library, and start it with a client startup event. It would be entirely independent of the Sepasoft component.

Related:

> [@How to send Serial data received to a text window?](https://forum.inductiveautomation.com/t/how-to-send-serial-data-received-to-a-text-window/60617):
>
> I’m currently making a UI to make it easier for someone to basically use a terminal like PuTTY. I can run the script to open and write commands using a serial adapter, and I can see feedback from that serial adapter after opening the com port. But I don’t see any way to send all the feedback to a text window. Any help is appreciated.

(Read the inner linked topics, too.)

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [August 14, 2024, 3:31am UTC](https://forum.inductiveautomation.com/t/sepasoft-barcode-scanner-configuration/91607/8 "2024-08-14T03:31:32Z")

</div>

I have set the preamble in barcode and given the preamble and it is working properly.
