# Ignition

**URL:** https://forum.inductiveautomation.com/c/ignition/6.md?page=504

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

**Page:** 505

---

## [String slicing in Python script](https://forum.inductiveautomation.com/t/string-slicing-in-python-script/84157)

<div class="topic-metadata">

**Author:** [@ematschke](https://forum.inductiveautomation.com/u/ematschke)\
**Replies:** 11\
**Last updated:** [January 12, 2024, 9:35pm UTC](https://forum.inductiveautomation.com/t/string-slicing-in-python-script/84157 "2024-01-12T21:35:54Z")

</div>

In my client startup script I am trying to capture the first four characters of the PC name with this script HostName1 = system.tag.readBlocking('\[System\]Client/Network/Hostname') # Grab the whole host name, Should be E…

---

## [dateArithmetic vs using add\<field\>](https://forum.inductiveautomation.com/t/datearithmetic-vs-using-add-field/84225)

<div class="topic-metadata">

**Author:** [@Zachary\_Kacel1](https://forum.inductiveautomation.com/u/Zachary_Kacel1)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 9:20pm UTC](https://forum.inductiveautomation.com/t/datearithmetic-vs-using-add-field/84225 "2024-01-12T21:20:09Z")

</div>

What is the difference between using dateArithmetic vs addDays, addHours, addWeeks, etc... Is there a benefit or reason to use one over the other? Thanks

---

## [Expression Alarm evaluating two tags](https://forum.inductiveautomation.com/t/expression-alarm-evaluating-two-tags/84199)

<div class="topic-metadata">

**Author:** [@Brett\_Eidahl](https://forum.inductiveautomation.com/u/Brett_Eidahl)\
**Replies:** 5\
**Last updated:** [January 12, 2024, 9:16pm UTC](https://forum.inductiveautomation.com/t/expression-alarm-evaluating-two-tags/84199 "2024-01-12T21:16:35Z")

</div>

I need to create an alarm that evaluates two tags to activate the alarm. The first tag I have is LineRunning and is Boolean value based on if the encoder is moving or not. The second tag is Operator and is a string va…

---

## [Change Range Selector - chart style](https://forum.inductiveautomation.com/t/change-range-selector-chart-style/84218)

<div class="topic-metadata">

**Author:** [@HelloWorld](https://forum.inductiveautomation.com/u/HelloWorld)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 8:38pm UTC](https://forum.inductiveautomation.com/t/change-range-selector-chart-style/84218 "2024-01-12T20:38:07Z")

</div>

Is there a way to change the style of the chart range selector. I do not want triangles, I would prefer the top to be lines like the TImeSeries, and the Time Series chart just zooms in on the selected area.

---

## [Barcode scanner Input Perspective 8.1](https://forum.inductiveautomation.com/t/barcode-scanner-input-perspective-8-1/84216)

<div class="topic-metadata">

**Author:** [@nick\_schwartz](https://forum.inductiveautomation.com/u/nick_schwartz)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 7:41pm UTC](https://forum.inductiveautomation.com/t/barcode-scanner-input-perspective-8-1/84216 "2024-01-12T19:41:17Z")

</div>

In multiple places the helper text from the Barcode Scanner Input claims that it can use a mobile devices camera to read 1D/2D codes. For the life of me I can't seem to make it work. The previous posts said this wasn't y…

---

## [Auto Size Label Flex View](https://forum.inductiveautomation.com/t/auto-size-label-flex-view/84057)

<div class="topic-metadata">

**Author:** [@dberry](https://forum.inductiveautomation.com/u/dberry)\
**Replies:** 7\
**Last updated:** [January 12, 2024, 7:18pm UTC](https://forum.inductiveautomation.com/t/auto-size-label-flex-view/84057 "2024-01-12T19:18:09Z")

</div>

I am trying to a create a popup view that auto-sizes its width based on the contents of a label component. I have a Flex view in row mode, with an embedded view (red box) and a label. The embedded view is set to grow=0…

---

## [Reference Tag vs Expression Tag](https://forum.inductiveautomation.com/t/reference-tag-vs-expression-tag/84217)

<div class="topic-metadata">

**Author:** [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 6:57pm UTC](https://forum.inductiveautomation.com/t/reference-tag-vs-expression-tag/84217 "2024-01-12T18:57:01Z")

</div>

Using expression tags it is possible to directly reference only one tag, effectively making it a reference tag. Is there any sort of performance implication using an expression tag like this? I would think it's very sma…

---

## [Database state is in idle](https://forum.inductiveautomation.com/t/database-state-is-in-idle/84206)

<div class="topic-metadata">

**Author:** [@Alex\_Evans](https://forum.inductiveautomation.com/u/Alex_Evans)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 6:38pm UTC](https://forum.inductiveautomation.com/t/database-state-is-in-idle/84206 "2024-01-12T18:38:23Z")

</div>

Hi, I have just checked the database connection to see that the database state says its in idle and the data is just accumulating in the data cache and I am getting some data quarantined but I don't know why? any help a…

---

## [Call a python script from the command line](https://forum.inductiveautomation.com/t/call-a-python-script-from-the-command-line/84212)

<div class="topic-metadata">

**Author:** [@steve\_r](https://forum.inductiveautomation.com/u/steve_r)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 6:08pm UTC](https://forum.inductiveautomation.com/t/call-a-python-script-from-the-command-line/84212 "2024-01-12T18:08:10Z")

</div>

Is it possible to create a python script and execute it via the command line as though it was executed in the script console? For example, I would like to create a script that automatically configures my Sepasoft relate…

---

## [Extra Character Before Special Character](https://forum.inductiveautomation.com/t/extra-character-before-special-character/84208)

<div class="topic-metadata">

**Author:** [@Devin\_Golberg](https://forum.inductiveautomation.com/u/Devin_Golberg)\
**Replies:** 6\
**Last updated:** [January 12, 2024, 6:05pm UTC](https://forum.inductiveautomation.com/t/extra-character-before-special-character/84208 "2024-01-12T18:05:23Z")

</div>

So I've found an issue with certain special characters in Text Areas. The extra character only seems to appear when the special character is added to the Text Area via scripting, and not when entering it with the keyboa…

---

## [DateTimeInput Cannot select dates older than 10 years](https://forum.inductiveautomation.com/t/datetimeinput-cannot-select-dates-older-than-10-years/84204)

<div class="topic-metadata">

**Author:** [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 5:35pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-cannot-select-dates-older-than-10-years/84204 "2024-01-12T17:35:17Z")

</div>

I've got a DateTimeInput component in a view and it seems that I cannot select a date older than 10 years from today or 10 years into the future. Example: for today January 12 2024 I cannot select dates prior to January…

---

## [Superscript in EngUnits via scripting](https://forum.inductiveautomation.com/t/superscript-in-engunits-via-scripting/84191)

<div class="topic-metadata">

**Author:** [@Pat\_Cunningham](https://forum.inductiveautomation.com/u/Pat_Cunningham)\
**Replies:** 3\
**Last updated:** [January 12, 2024, 5:10pm UTC](https://forum.inductiveautomation.com/t/superscript-in-engunits-via-scripting/84191 "2024-01-12T17:10:17Z")

</div>

Trying to change the EngUnits to mm/s². No matter what I do I get mm/sÂ² Current code is below. units="mm" u=r"{}/s{}".format(units, u"\\00B2")

---

## [Sort order of projects in EAM Agent Tasks?](https://forum.inductiveautomation.com/t/sort-order-of-projects-in-eam-agent-tasks/84186)

<div class="topic-metadata">

**Author:** [@hw79](https://forum.inductiveautomation.com/u/hw79)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/sort-order-of-projects-in-eam-agent-tasks/84186 "2024-01-12T17:06:14Z")

</div>

When trying to send a project to an agent, the sort order of the projects doesn't seem to make sense and is not sortable by the user. They're not alphabetical or by last modified, or even the order they were added to th…

---

## [Perspective Coordinate View - Anchor Button to "root" when root set to "percent"](https://forum.inductiveautomation.com/t/perspective-coordinate-view-anchor-button-to-root-when-root-set-to-percent/84205)

<div class="topic-metadata">

**Author:** [@Tyler\_Dixon](https://forum.inductiveautomation.com/u/Tyler_Dixon)\
**Replies:** 4\
**Last updated:** [January 12, 2024, 4:53pm UTC](https://forum.inductiveautomation.com/t/perspective-coordinate-view-anchor-button-to-root-when-root-set-to-percent/84205 "2024-01-12T16:53:42Z")

</div>

I have a coordinate container with multiple buttons on a Google Earth 3D image/background of my facility. I have "Buttons" at each building that have a configured event when clicked to change views. My problem is, the ro…

---

## [Perspective PDF Viewer without WebDev](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-without-webdev/45874)

<div class="topic-metadata">

**Author:** [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Replies:** 23\
**Last updated:** [January 12, 2024, 4:12pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-without-webdev/45874 "2024-01-12T16:12:33Z")

</div>

So I know how to load PDFs from a database using the WebDev module. However I need to try and see if there is a way to load a PDF from a database without the WebDev module. Any ideas how to get it done? The PDFs are sitt…

---

## [Access SVG elements from embedded image](https://forum.inductiveautomation.com/t/access-svg-elements-from-embedded-image/84196)

<div class="topic-metadata">

**Author:** [@Louis\_Arleth](https://forum.inductiveautomation.com/u/Louis_Arleth)\
**Replies:** 4\
**Last updated:** [January 12, 2024, 3:47pm UTC](https://forum.inductiveautomation.com/t/access-svg-elements-from-embedded-image/84196 "2024-01-12T15:47:23Z")

</div>

Hi there, is there a way to access the SVG elements from a embedded image? I know its possible via the Save & Link import but cannot find it for the other option. Thanks in advance! Greetings, Louis

---

## [Merge or consolidate report in Ignition](https://forum.inductiveautomation.com/t/merge-or-consolidate-report-in-ignition/84170)

<div class="topic-metadata">

**Author:** [@Lina\_Su](https://forum.inductiveautomation.com/u/Lina_Su)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/merge-or-consolidate-report-in-ignition/84170 "2024-01-12T15:44:22Z")

</div>

I'm facing a scenario in my business where I need to generate and distribute reports in a specific manner using Ignition's reporting and scheduling functions. Here's the situation: Individual Reports: I have two separa…

---

## [Making 1 View Be Independent on 2 Monitors](https://forum.inductiveautomation.com/t/making-1-view-be-independent-on-2-monitors/84190)

<div class="topic-metadata">

**Author:** [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 3:25pm UTC](https://forum.inductiveautomation.com/t/making-1-view-be-independent-on-2-monitors/84190 "2024-01-12T15:25:29Z")

</div>

I have a SCADA developed on Ignition v. 8.1.20 and it is set up as a dual monitor system. Both screens work great (show two different screens independent of each other), right up until we get to the generator page. That …

---

## [Run component A event from component B event](https://forum.inductiveautomation.com/t/run-component-a-event-from-component-b-event/83925)

<div class="topic-metadata">

**Author:** [@HelloWorld](https://forum.inductiveautomation.com/u/HelloWorld)\
**Replies:** 10\
**Last updated:** [January 12, 2024, 3:04pm UTC](https://forum.inductiveautomation.com/t/run-component-a-event-from-component-b-event/83925 "2024-01-12T15:04:09Z")

</div>

Is there a way to script a button to run the onClick mouse event script of a different component when the button is clicked??

---

## [Power Chart Moving Average?](https://forum.inductiveautomation.com/t/power-chart-moving-average/77118)

<div class="topic-metadata">

**Author:** [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 2:33pm UTC](https://forum.inductiveautomation.com/t/power-chart-moving-average/77118 "2024-01-12T14:33:07Z")

</div>

Maybe I'm missing something obvious, but I can't seem to find a way to plot the moving average of a pen - is this possible without scripting the calculation? (it seems I can't even do it via scripting since the Power Cha…

---

## [\[OPC UA\] Bad("Bad\_DeviceFailure")](https://forum.inductiveautomation.com/t/opc-ua-bad-bad-devicefailure/84167)

<div class="topic-metadata">

**Author:** [@Davide3i](https://forum.inductiveautomation.com/u/Davide3i)\
**Replies:** 8\
**Last updated:** [January 12, 2024, 2:22pm UTC](https://forum.inductiveautomation.com/t/opc-ua-bad-bad-devicefailure/84167 "2024-01-12T14:22:01Z")

</div>

Hello there. I'm having an issue writing some OPC UA tags in Ignition. While using UaExpert I'm able to force a value to a variable of type Double (Int32), Ignition Tags Explorer gives back this error message when I try…

---

## [How to Remove Dashed Lines in Timeseries Chart for Periods with No Data in Report](https://forum.inductiveautomation.com/t/how-to-remove-dashed-lines-in-timeseries-chart-for-periods-with-no-data-in-report/84161)

<div class="topic-metadata">

**Author:** [@Lina\_Su](https://forum.inductiveautomation.com/u/Lina_Su)\
**Replies:** 3\
**Last updated:** [January 12, 2024, 10:06am UTC](https://forum.inductiveautomation.com/t/how-to-remove-dashed-lines-in-timeseries-chart-for-periods-with-no-data-in-report/84161 "2024-01-12T10:06:21Z")

</div>

I'm working on a report using the Timeseries Chart in Ignition, and I've encountered an issue I need help with. The data source for my chart is a SQL query. I've noticed that during periods with no data, the chart autom…

---

## [Generate Report in Ignition](https://forum.inductiveautomation.com/t/generate-report-in-ignition/84166)

<div class="topic-metadata">

**Author:** [@Payel\_Bera](https://forum.inductiveautomation.com/u/Payel_Bera)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 9:48am UTC](https://forum.inductiveautomation.com/t/generate-report-in-ignition/84166 "2024-01-12T09:48:29Z")

</div>

Hi, We are trying to build some reports in ignition using the report feature, while selecting the data source which is a named query, it's only binding the first row, how to bind all the rows of a table dynamically? als…

---

## [Limit to system.tag.queryTagHistory tag path array?](https://forum.inductiveautomation.com/t/limit-to-system-tag-querytaghistory-tag-path-array/75364)

<div class="topic-metadata">

**Author:** [@j.israelsen](https://forum.inductiveautomation.com/u/j.israelsen)\
**Replies:** 10\
**Last updated:** [January 5, 2024, 7:46pm UTC](https://forum.inductiveautomation.com/t/limit-to-system-tag-querytaghistory-tag-path-array/75364 "2024-01-05T19:46:07Z")

</div>

Is there a limit to the size of the tag path array that can be passed into the system.tag.queryTagHistory function? I have a query that seems to work fine up to 2096 tags, as soon as I perform a query for 2097 tags I get…

---

## [Pass Wildcard Parameters on Named Queries](https://forum.inductiveautomation.com/t/pass-wildcard-parameters-on-named-queries/34594)

<div class="topic-metadata">

**Author:** [@lloyd.tripp](https://forum.inductiveautomation.com/u/lloyd.tripp)\
**Replies:** 19\
**Last updated:** [January 12, 2024, 7:16am UTC](https://forum.inductiveautomation.com/t/pass-wildcard-parameters-on-named-queries/34594 "2024-01-12T07:16:20Z")

</div>

Hello Everybody!, I’d like to setup a Named Query that selects rows based on WHERE conditions. In some use cases, I’d like to pass a wildcard (\*) for a parameter. So far, it seems like the only solution is to create a n…

---

## [Gateway Restore Fail from 8.1.32 to 8.1.33 - Unrecognized VM option 'UseConcMarkSweepGC'](https://forum.inductiveautomation.com/t/gateway-restore-fail-from-8-1-32-to-8-1-33-unrecognized-vm-option-useconcmarksweepgc/82179)

<div class="topic-metadata">

**Author:** [@Luca\_Raco](https://forum.inductiveautomation.com/u/Luca_Raco)\
**Replies:** 6\
**Last updated:** [January 12, 2024, 4:13am UTC](https://forum.inductiveautomation.com/t/gateway-restore-fail-from-8-1-32-to-8-1-33-unrecognized-vm-option-useconcmarksweepgc/82179 "2024-01-12T04:13:43Z")

</div>

Hi all, I'm not able to restore Ignition backup starting from version 8.1.32 to 8.1.33. After few minutes from the start of the procedure to restore the Gateway, when it is in "Unknown" status the Ignition service auto…

---

## [What are the "\_types\_" tag folder objects?](https://forum.inductiveautomation.com/t/what-are-the-types-tag-folder-objects/84155)

<div class="topic-metadata">

**Author:** [@r123](https://forum.inductiveautomation.com/u/r123)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 2:01am UTC](https://forum.inductiveautomation.com/t/what-are-the-types-tag-folder-objects/84155 "2024-01-12T02:01:19Z")

</div>

I have some folders with a unique "locale" property. When doing a Find/Replace search for a value "sector" it finds two tag/folder objects in the "types" folder with that property and value. \[default\]\_types\_/CP100 \[defa…

---

## [Alarm(s) Ack Mode set based on priority and global setting](https://forum.inductiveautomation.com/t/alarm-s-ack-mode-set-based-on-priority-and-global-setting/83872)

<div class="topic-metadata">

**Author:** [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 12:55am UTC](https://forum.inductiveautomation.com/t/alarm-s-ack-mode-set-based-on-priority-and-global-setting/83872 "2024-01-12T00:55:23Z")

</div>

I have a project requirement where the alarm acknowledgement mode needs to be set based on priority. For example, critical might be manual, all others are auto. It could also be something like critical, medium, low is ma…

---

## [System Tags showing unused folders](https://forum.inductiveautomation.com/t/system-tags-showing-unused-folders/83890)

<div class="topic-metadata">

**Author:** [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Replies:** 4\
**Last updated:** [January 12, 2024, 12:52am UTC](https://forum.inductiveautomation.com/t/system-tags-showing-unused-folders/83890 "2024-01-12T00:52:56Z")

</div>

I have unused folders in Database and StoreAndForward under System Tags. I don't have a database connection named Historian. I did at one time though. How can I clean this up? Tried restarting the gateway.

---

## [Web Dev Custom Method](https://forum.inductiveautomation.com/t/web-dev-custom-method/84150)

<div class="topic-metadata">

**Author:** [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Replies:** 6\
**Last updated:** [January 11, 2024, 10:30pm UTC](https://forum.inductiveautomation.com/t/web-dev-custom-method/84150 "2024-01-11T22:30:31Z")

</div>

Is there a way to add custom methods to the Web Dev module. For instance, I want a python resource to have a HTTP method called RESET. Then in my HTTP Method drop down I would have a selection for doReset. If that is no…

[Previous page](https://forum.inductiveautomation.com/c/ignition/6.md?page=503)

[Next page](https://forum.inductiveautomation.com/c/ignition/6.md?page=505)
