# Ignition

**URL:** https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=627

[Latest](https://forum.inductiveautomation.com/latest.md) · [Categories](https://forum.inductiveautomation.com/categories.md) · [Tags](https://forum.inductiveautomation.com/tags.md)

**Page:** 628

---

## [Barcode Scanner Regex Excluding 'Enter'](https://forum.inductiveautomation.com/t/barcode-scanner-regex-excluding-enter/75161)

<div class="topic-metadata">

**Author:** [@Liam\_Dietrich](https://forum.inductiveautomation.com/u/Liam_Dietrich)\
**Replies:** 8\
**Last updated:** [June 19, 2023, 4:18pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-regex-excluding-enter/75161 "2023-06-19T16:18:28Z")

</div>

I am attempting to use a Session Event, Key Event using regex to capture a barcode scan from a physical barcode scanner. I am currently using the regex: ^(?!Enter)(\[A-z0-9\]{9}) When checked using regex101, this regex sh…

---

## [SVG Gradient issue](https://forum.inductiveautomation.com/t/svg-gradient-issue/69405)

<div class="topic-metadata">

**Author:** [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Replies:** 2\
**Last updated:** [June 19, 2023, 3:28pm UTC](https://forum.inductiveautomation.com/t/svg-gradient-issue/69405 "2023-06-19T15:28:22Z")

</div>

i created simple rectangle to explain the issue which i faced . need to control stop offset for Gradient in SVG . the view will be as Embeded view and will used different time with Parm to control the Gradiant value…

---

## [\[BUG-6988\]Embedded View "Template" Instance Behavior](https://forum.inductiveautomation.com/t/bug-6988-embedded-view-template-instance-behavior/68170)

<div class="topic-metadata">

**Author:** [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Replies:** 13\
**Last updated:** [June 19, 2023, 3:27pm UTC](https://forum.inductiveautomation.com/t/bug-6988-embedded-view-template-instance-behavior/68170 "2023-06-19T15:27:42Z")

</div>

Hello, I have a very simple embedded view that I wanted to use as a "template" for all of the valves throughout the project. However, the "instances" are not behaving as I expected. I have a very simple flex container …

---

## [Why different instances of my component react the same way on different params?](https://forum.inductiveautomation.com/t/why-different-instances-of-my-component-react-the-same-way-on-different-params/75201)

<div class="topic-metadata">

**Author:** [@AMA\_nylon](https://forum.inductiveautomation.com/u/AMA_nylon)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 3:26pm UTC](https://forum.inductiveautomation.com/t/why-different-instances-of-my-component-react-the-same-way-on-different-params/75201 "2023-06-19T15:26:57Z")

</div>

Hi there, I have a component (I was provided with, I didn't create) called Vanne-vert. When I create two instances of it in a view and try to change the color of one of them through some params, they react the same way.…

---

## [Save string to a text file](https://forum.inductiveautomation.com/t/save-string-to-a-text-file/68771)

<div class="topic-metadata">

**Author:** [@NII](https://forum.inductiveautomation.com/u/NII)\
**Replies:** 7\
**Last updated:** [June 19, 2023, 1:10pm UTC](https://forum.inductiveautomation.com/t/save-string-to-a-text-file/68771 "2023-06-19T13:10:07Z")

</div>

I am running ignition in a docker container, when I save a string to a text file, what folder does it save to? Below is the code, right of the doc: data = "Some text here" filename = system.file.saveFile("MyTextFile.tx…

---

## [Vision 8.011 System.Alarm.Acknowledge, Acknowledge Alarms Still Unacknowledged](https://forum.inductiveautomation.com/t/vision-8-011-system-alarm-acknowledge-acknowledge-alarms-still-unacknowledged/34379)

<div class="topic-metadata">

**Author:** [@kwingert](https://forum.inductiveautomation.com/u/kwingert)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 4:20am UTC](https://forum.inductiveautomation.com/t/vision-8-011-system-alarm-acknowledge-acknowledge-alarms-still-unacknowledged/34379 "2023-06-19T04:20:54Z")

</div>

try: if( system.tag.read("\[default\]Line/ClearFaults").value == 1): results = system.alarm.queryStatus(source=\["\*Line\*"\]) for item in results: eventID = "%s" % (item.getId()) …

---

## [How to use parameters in the playback function](https://forum.inductiveautomation.com/t/how-to-use-parameters-in-the-playback-function/75062)

<div class="topic-metadata">

**Author:** [@KIM\_SUNG\_HOO](https://forum.inductiveautomation.com/u/KIM_SUNG_HOO)\
**Replies:** 6\
**Last updated:** [June 18, 2023, 11:30pm UTC](https://forum.inductiveautomation.com/t/how-to-use-parameters-in-the-playback-function/75062 "2023-06-18T23:30:47Z")

</div>

Hello, I am trying to implement the playback function using the ignition exchange sample. There is no problem with 1:1 tag application. However, I do not know how to apply tags using parameters. Below is a picture of t…

---

## [Binding to Text Field in a specific instance of a Flex Repeater](https://forum.inductiveautomation.com/t/binding-to-text-field-in-a-specific-instance-of-a-flex-repeater/75172)

<div class="topic-metadata">

**Author:** [@k-cottos](https://forum.inductiveautomation.com/u/k-cottos)\
**Replies:** 3\
**Last updated:** [June 18, 2023, 5:26pm UTC](https://forum.inductiveautomation.com/t/binding-to-text-field-in-a-specific-instance-of-a-flex-repeater/75172 "2023-06-18T17:26:57Z")

</div>

I have a Flex Repeater with a template containing a label and a text field. I want to automatically populate the text in the Text Field by default when the view is opened. In the picture below, I have created a binding f…

---

## [Guidance on the Signature Component](https://forum.inductiveautomation.com/t/guidance-on-the-signature-component/75177)

<div class="topic-metadata">

**Author:** [@Killmonger](https://forum.inductiveautomation.com/u/Killmonger)\
**Replies:** 1\
**Last updated:** [June 17, 2023, 5:21pm UTC](https://forum.inductiveautomation.com/t/guidance-on-the-signature-component/75177 "2023-06-17T17:21:36Z")

</div>

Hi, I have a perspective view of where I am using the Signature component. And on a button, i am trying to store the same at the backend. Now, I know, there is an option to store in binary or varbinary objects back in m…

---

## [Auto zoom designated place](https://forum.inductiveautomation.com/t/auto-zoom-designated-place/75129)

<div class="topic-metadata">

**Author:** [@Adarsh\_K](https://forum.inductiveautomation.com/u/Adarsh_K)\
**Replies:** 2\
**Last updated:** [June 17, 2023, 12:10pm UTC](https://forum.inductiveautomation.com/t/auto-zoom-designated-place/75129 "2023-06-17T12:10:31Z")

</div>

Hi I need to pan the screen to designated place in screen and zoom in that component on button click . Do we have any feasibility to do this using ignition scripting capability? Thanks in advance

---

## [Thread dump analysis](https://forum.inductiveautomation.com/t/thread-dump-analysis/75174)

<div class="topic-metadata">

**Author:** [@vrautomation](https://forum.inductiveautomation.com/u/vrautomation)\
**Replies:** 1\
**Last updated:** [June 17, 2023, 3:31am UTC](https://forum.inductiveautomation.com/t/thread-dump-analysis/75174 "2023-06-17T03:31:31Z")

</div>

Hello community! We have some performance issue and I would like to know more about how a regular guy like me can analyse a thread dump json file. I'm looking at the content of the file and it's really not easy to unde…

---

## [Report errors returned poor quality or null](https://forum.inductiveautomation.com/t/report-errors-returned-poor-quality-or-null/49180)

<div class="topic-metadata">

**Author:** [@Seth.williamson](https://forum.inductiveautomation.com/u/Seth.williamson)\
**Replies:** 7\
**Last updated:** [June 17, 2023, 1:07am UTC](https://forum.inductiveautomation.com/t/report-errors-returned-poor-quality-or-null/49180 "2023-06-17T01:07:52Z")

</div>

Im trying to create a report this is the first report i have ever done and i keep getting errors. I am attaching pictures. I keep getting this error WARN: Default value expression for parameter “StartString” returned poo…

---

## [Edge Audit Log: Project not found](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166)

<div class="topic-metadata">

**Author:** [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Replies:** 5\
**Last updated:** [June 16, 2023, 11:32pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166 "2023-06-16T23:32:55Z")

</div>

I just noticed one of our edge device logs is being flooded with "Error getting project properties for Edge audit log". I've reviewed all the locations where the Audit log is configured, and everything seems to check out…

---

## [runScript in expression tag errors](https://forum.inductiveautomation.com/t/runscript-in-expression-tag-errors/75117)

<div class="topic-metadata">

**Author:** [@r123](https://forum.inductiveautomation.com/u/r123)\
**Replies:** 4\
**Last updated:** [June 16, 2023, 10:06pm UTC](https://forum.inductiveautomation.com/t/runscript-in-expression-tag-errors/75117 "2023-06-16T22:06:46Z")

</div>

Quality Diagnostics Error executing script for runScript() expression:Test.myFunc() WARN I found a few posts about this issue but I did not upgrade to 8.1 and the Gateway Scripting Project setting is now set to "global"…

---

## [User component overlay error](https://forum.inductiveautomation.com/t/user-component-overlay-error/75165)

<div class="topic-metadata">

**Author:** [@Dhruvin\_Kamani](https://forum.inductiveautomation.com/u/Dhruvin_Kamani)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 8:38pm UTC](https://forum.inductiveautomation.com/t/user-component-overlay-error/75165 "2023-06-16T20:38:47Z")

</div>

Hey guys, I am working on a project and I am using a "TEST" user source for creating Roles and Users. I have used a User Management component to see all the users like shown below: I am logging in as the Administrato…

---

## [\[ SOLVED \] License ignition](https://forum.inductiveautomation.com/t/solved-license-ignition/75160)

<div class="topic-metadata">

**Author:** [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 7:53pm UTC](https://forum.inductiveautomation.com/t/solved-license-ignition/75160 "2023-06-16T19:53:53Z")

</div>

Good afternoon. I need to reset the computer where I have the software Ignition and I have a license. Can I put in the same computer the software, then put the code license in the gateway to active it after reset?

---

## [Ignition as conveyor/material handling HMI - 3rd party image libraries? issues SVG importing large files](https://forum.inductiveautomation.com/t/ignition-as-conveyor-material-handling-hmi-3rd-party-image-libraries-issues-svg-importing-large-files/75153)

<div class="topic-metadata">

**Author:** [@Greg\_Wilson1](https://forum.inductiveautomation.com/u/Greg_Wilson1)\
**Replies:** 4\
**Last updated:** [June 16, 2023, 7:09pm UTC](https://forum.inductiveautomation.com/t/ignition-as-conveyor-material-handling-hmi-3rd-party-image-libraries-issues-svg-importing-large-files/75153 "2023-06-16T19:09:05Z")

</div>

Trying to use IGNITION for HMI screens for warehouse conveyor system. Want to display entire conveyor system on one screen with individual conveyor sections bound to status tags. Each section bound to tag to display ru…

---

## [Which is Better Gateway Schedule or Gateway Timer script](https://forum.inductiveautomation.com/t/which-is-better-gateway-schedule-or-gateway-timer-script/75073)

<div class="topic-metadata">

**Author:** [@Sourabh\_Ambildhuke](https://forum.inductiveautomation.com/u/Sourabh_Ambildhuke)\
**Replies:** 11\
**Last updated:** [June 16, 2023, 6:33pm UTC](https://forum.inductiveautomation.com/t/which-is-better-gateway-schedule-or-gateway-timer-script/75073 "2023-06-16T18:33:16Z")

</div>

Hi team, I just want suggestion on Gateway Events script. The requirement is I have 2 scripts which are running when day starts and other 2 runs throughout the day so which gateway script we need to use for server optim…

---

## [How to update "field" element of the Table Object "column" property?](https://forum.inductiveautomation.com/t/how-to-update-field-element-of-the-table-object-column-property/75009)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Thompson](https://forum.inductiveautomation.com/u/Jeffrey_Thompson)\
**Replies:** 30\
**Last updated:** [June 16, 2023, 6:00pm UTC](https://forum.inductiveautomation.com/t/how-to-update-field-element-of-the-table-object-column-property/75009 "2023-06-16T18:00:27Z")

</div>

The main objective is to have a "table object" (in Perspective), update automatically to show various data tables (including column names and custom formatting), when selected. I have been able to update the "data" prop…

---

## [What is the most efficient tag binding method?](https://forum.inductiveautomation.com/t/what-is-the-most-efficient-tag-binding-method/75148)

<div class="topic-metadata">

**Author:** [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Replies:** 6\
**Last updated:** [June 16, 2023, 5:45pm UTC](https://forum.inductiveautomation.com/t/what-is-the-most-efficient-tag-binding-method/75148 "2023-06-16T17:45:06Z")

</div>

Hello! When using perspective, generally speaking, what is the most efficient way to bind a tag value to a property? Is there a big difference between Expression, Tag \> (Direct, Indirect, Expression)? Additionally, is t…

---

## [Declare Variables](https://forum.inductiveautomation.com/t/declare-variables/75149)

<div class="topic-metadata">

**Author:** [@Thiago\_Vilela](https://forum.inductiveautomation.com/u/Thiago_Vilela)\
**Replies:** 6\
**Last updated:** [June 16, 2023, 5:40pm UTC](https://forum.inductiveautomation.com/t/declare-variables/75149 "2023-06-16T17:40:14Z")

</div>

Hello everyone. I would like to know if it is possible to record values in variables. I would like to declare at the beginning of the program and use it in the other parts of the script for example: PrinterNameTest wil…

---

## [currentValue.value and previousValue.value](https://forum.inductiveautomation.com/t/currentvalue-value-and-previousvalue-value/75079)

<div class="topic-metadata">

**Author:** [@Robert\_Hrynciw](https://forum.inductiveautomation.com/u/Robert_Hrynciw)\
**Replies:** 14\
**Last updated:** [June 16, 2023, 5:33pm UTC](https://forum.inductiveautomation.com/t/currentvalue-value-and-previousvalue-value/75079 "2023-06-16T17:33:07Z")

</div>

Hello all, I am currently struggling with a portion of my script concerning currentValue.value and previousValue.value on a property change script. I will include my script below before going into detail on my issue: d…

---

## [8.1.20 Vision Client bug - Tree View component has selected folders white out when selected and I'm not sure how to fix](https://forum.inductiveautomation.com/t/8-1-20-vision-client-bug-tree-view-component-has-selected-folders-white-out-when-selected-and-im-not-sure-how-to-fix/64230)

<div class="topic-metadata">

**Author:** [@DaveRNeal](https://forum.inductiveautomation.com/u/DaveRNeal)\
**Replies:** 4\
**Last updated:** [June 16, 2023, 5:25pm UTC](https://forum.inductiveautomation.com/t/8-1-20-vision-client-bug-tree-view-component-has-selected-folders-white-out-when-selected-and-im-not-sure-how-to-fix/64230 "2023-06-16T17:25:26Z")

</div>

Good Morning, I’ve come across a strange issue that I haven’t been able to find a topic for in the forums yet. In 8.1.20 I noticed that the Tree View component in the vision client seems to set the background color of a…

---

## [Script on tag value changed](https://forum.inductiveautomation.com/t/script-on-tag-value-changed/75150)

<div class="topic-metadata">

**Author:** [@dan\_mueller](https://forum.inductiveautomation.com/u/dan_mueller)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 5:04pm UTC](https://forum.inductiveautomation.com/t/script-on-tag-value-changed/75150 "2023-06-16T17:04:17Z")

</div>

does it make a difference if the tag reference in the below script is in the same folder or in a different folder? same folder if currentValue.value == 12 or currentValue.value == 20 or currentValue.value == 4: crank…

---

## [Shelve Alarms from Perspective Alarm Status Table](https://forum.inductiveautomation.com/t/shelve-alarms-from-perspective-alarm-status-table/75151)

<div class="topic-metadata">

**Author:** [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Replies:** 3\
**Last updated:** [June 16, 2023, 4:56pm UTC](https://forum.inductiveautomation.com/t/shelve-alarms-from-perspective-alarm-status-table/75151 "2023-06-16T16:56:01Z")

</div>

Having a hard time adapting the example given in the manual for system.alarm.shelve() for use in Perspective, since it's a Vision example. Anybody have a working script?

---

## [Binding an alarm expression to a vision client tag](https://forum.inductiveautomation.com/t/binding-an-alarm-expression-to-a-vision-client-tag/75108)

<div class="topic-metadata">

**Author:** [@Sai\_Abhishek\_Aravind](https://forum.inductiveautomation.com/u/Sai_Abhishek_Aravind)\
**Replies:** 2\
**Last updated:** [June 15, 2023, 8:20pm UTC](https://forum.inductiveautomation.com/t/binding-an-alarm-expression-to-a-vision-client-tag/75108 "2023-06-15T20:20:32Z")

</div>

This does not seem to work. Also I am not able to search for vision client tags for linking it. Any fix?

---

## [Docked Window not resizing appropriately](https://forum.inductiveautomation.com/t/docked-window-not-resizing-appropriately/75086)

<div class="topic-metadata">

**Author:** [@Tyler\_Chaney](https://forum.inductiveautomation.com/u/Tyler_Chaney)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 2:10pm UTC](https://forum.inductiveautomation.com/t/docked-window-not-resizing-appropriately/75086 "2023-06-16T14:10:39Z")

</div>

I am trying to create a single project that can be displayed accurately on a 15.6" and 22" display. I have a docked window header, a docked window to the west, and a main window. The black is the background of the docked…

---

## [How retrieve data from a table using runNamedQuery](https://forum.inductiveautomation.com/t/how-retrieve-data-from-a-table-using-runnamedquery/74980)

<div class="topic-metadata">

**Author:** [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Replies:** 9\
**Last updated:** [June 16, 2023, 2:07pm UTC](https://forum.inductiveautomation.com/t/how-retrieve-data-from-a-table-using-runnamedquery/74980 "2023-06-16T14:07:28Z")

</div>

Good day all. I am trying to retrieve data from table using: namedQuery = system.db.runNamedQuery('WasteBarrelDesc') This table contains a TID column and a BarrelNum column. I want the know the BarrelNum based on the T…

---

## [Alternatives to DB Functions](https://forum.inductiveautomation.com/t/alternatives-to-db-functions/75113)

<div class="topic-metadata">

**Author:** [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 12:59pm UTC](https://forum.inductiveautomation.com/t/alternatives-to-db-functions/75113 "2023-06-16T12:59:11Z")

</div>

Background I have setup tables of faults. I am thinking about making some pages for the probabilities of events. I was recommended to make a function for factorials to store on the database to call in the query. Ques…

---

## [runPrepUpdate puzzle](https://forum.inductiveautomation.com/t/runprepupdate-puzzle/75138)

<div class="topic-metadata">

**Author:** [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 12:14pm UTC](https://forum.inductiveautomation.com/t/runprepupdate-puzzle/75138 "2023-06-16T12:14:20Z")

</div>

This query works in MySQL Workbench. INSERT INTO manf\_dashboard.production\_log (machineId, event, cycleCount, goodCount, sku, runstatus) VALUES ('Delete', 'test', 44, 33, 'Dummy', 0) It fails in Designer Script…

[Previous page](https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=626)

[Next page](https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=628)
