# Barcode Scanner Input Component

**URL:** <https://forum.inductiveautomation.com/t/barcode-scanner-input-component/24615>\
**Category:** Ignition\
**Created:** [May 2, 2019, 8:34pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-component/24615 "2019-05-02T20:34:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [May 2, 2019, 8:34pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-component/24615/1 "2019-05-02T20:34:00Z")

</div>

I’m trying to get the output data from the Barcode Scanner Input component in the Perspective Module.  
When I print to the console I only get the following.

```auto
scanEntry=QV[[Lcom.inductiveautomation.ignition.common.model.values.QualifiedValue;@39f8d703, Good, Wed Dec 31 18:00:00 CST 1969]

```

What am I missing? The Component prints the expected result onto the component, I just don’t know how to access the data.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 2, 2019, 8:42pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-component/24615/2 "2019-05-02T20:42:55Z")

</div>

That output is indicating that the value you’re printing is a qualified value…of which, the `value` member is itself an array (list, technically) or qualified values. Generally speaking, you should be able to iterate over the scanEntry list transparently - try just `for scan in scanEntry` in your script.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 2, 2019, 9:13pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-component/24615/3 "2019-05-02T21:13:13Z")

</div>

I played around with the barcode component yesterday.

I created a button that triggered the scan barcode event, Then in session events added this script under Barcode scanned.

```auto
system.tag.writeAsync(['[default]New Tag'], [data.text])

```

New tag was the name of the memory tag I created just for testing. The button opened the device camera and as soon as it detects a barcode it closes the camera and puts the barcode results into the tag.
