# Ignition

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

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

**Page:** 825

---

## [Best fit curve for data](https://forum.inductiveautomation.com/t/best-fit-curve-for-data/4890)

<div class="topic-metadata">

**Author:** [@Garrickr](https://forum.inductiveautomation.com/u/Garrickr)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 8:04pm UTC](https://forum.inductiveautomation.com/t/best-fit-curve-for-data/4890 "2022-06-20T20:04:05Z")

</div>

I am working with data on a chart(dataset/pydataset), and am looking to find the best fit curve for the data. Is there a way to do this in Ignition? I wrote a script to generate a best fit line for a set of data points…

---

## [Can I use System Tag in Gateway event script](https://forum.inductiveautomation.com/t/can-i-use-system-tag-in-gateway-event-script/60935)

<div class="topic-metadata">

**Author:** [@stefan.marcin74](https://forum.inductiveautomation.com/u/stefan.marcin74)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 7:36pm UTC](https://forum.inductiveautomation.com/t/can-i-use-system-tag-in-gateway-event-script/60935 "2022-06-20T19:36:46Z")

</div>

Hello, I was wondering if I its possible to use system tag (current username logged into OS) in this Gateway event script and how. Thanks

---

## [Faster loading perspective page, a table and an xychart with some flex containers, 8.1](https://forum.inductiveautomation.com/t/faster-loading-perspective-page-a-table-and-an-xychart-with-some-flex-containers-8-1/60902)

<div class="topic-metadata">

**Author:** [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Replies:** 28\
**Last updated:** [June 20, 2022, 6:47pm UTC](https://forum.inductiveautomation.com/t/faster-loading-perspective-page-a-table-and-an-xychart-with-some-flex-containers-8-1/60902 "2022-06-20T18:47:19Z")

</div>

I setup a perspective page. It has a table, 1020x23. There is an XY Chart from another query with a script transform. I tried these changes on the table, but the table still takes 7 seconds to load: The table, I set …

---

## [How to bind the years dynamically to dropdown](https://forum.inductiveautomation.com/t/how-to-bind-the-years-dynamically-to-dropdown/60953)

<div class="topic-metadata">

**Author:** [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Replies:** 8\
**Last updated:** [June 20, 2022, 6:46pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-the-years-dynamically-to-dropdown/60953 "2022-06-20T18:46:13Z")

</div>

Hi Team, I want to bind year list in dropdown dynamically. years should be like 10 years minus from current year and 10 years plus from current year. e.g, I want years from 2012 to 2032(For now it is done hardcoded, I…

---

## [Spacing Between Peer Tables in Reporting Module](https://forum.inductiveautomation.com/t/spacing-between-peer-tables-in-reporting-module/16819)

<div class="topic-metadata">

**Author:** [@ankurgajjar.91](https://forum.inductiveautomation.com/u/ankurgajjar.91)\
**Replies:** 0\
**Last updated:** [January 31, 2018, 11:07am UTC](https://forum.inductiveautomation.com/t/spacing-between-peer-tables-in-reporting-module/16819 "2018-01-31T11:07:02Z")

</div>

Hello everyone, I have following two questions regarding reporting modules: 1) How can I provide spacing between two tables, when they are grouped as peer tables? i.e. I would like to start one table after other but …

---

## [self.getSibling("Table").props.data](https://forum.inductiveautomation.com/t/self-getsibling-table-props-data/60888)

<div class="topic-metadata">

**Author:** [@Andrew.Meronek](https://forum.inductiveautomation.com/u/Andrew.Meronek)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/self-getsibling-table-props-data/60888 "2022-06-20T16:52:29Z")

</div>

Given the following as an onActionPerformed action for a Perspective PB: def runAction(self, event): “”" This event is fired when the ‘action’ of the component occurs. Arguments: self: A reference to the component t…

---

## [Error Message Box in Perspective](https://forum.inductiveautomation.com/t/error-message-box-in-perspective/60893)

<div class="topic-metadata">

**Author:** [@Andrea\_Rector](https://forum.inductiveautomation.com/u/Andrea_Rector)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 4:49pm UTC](https://forum.inductiveautomation.com/t/error-message-box-in-perspective/60893 "2022-06-20T16:49:29Z")

</div>

I have one popup box to edit dates in a perspective table and related database. When the user clicks save, a script checks if rows need to be inserted or deleted. If they need to be deleted, I want to warn the user with …

---

## [CompactLogix V20 Long String tag](https://forum.inductiveautomation.com/t/compactlogix-v20-long-string-tag/60854)

<div class="topic-metadata">

**Author:** [@gregory.sachs](https://forum.inductiveautomation.com/u/gregory.sachs)\
**Replies:** 8\
**Last updated:** [June 20, 2022, 4:42pm UTC](https://forum.inductiveautomation.com/t/compactlogix-v20-long-string-tag/60854 "2022-06-20T16:42:29Z")

</div>

I’ve got a gateway running 7.9.20. I’m talking to a CompactLogix V20 PLC, and when i try to access a long string tag of ~400 characters, it appears as a DATA folder with individual character elements. Is there a soluti…

---

## [System.dataset.addColumn adds decimals to float values in added column](https://forum.inductiveautomation.com/t/system-dataset-addcolumn-adds-decimals-to-float-values-in-added-column/60948)

<div class="topic-metadata">

**Author:** [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 4:20pm UTC](https://forum.inductiveautomation.com/t/system-dataset-addcolumn-adds-decimals-to-float-values-in-added-column/60948 "2022-06-20T16:20:04Z")

</div>

When I add a column to a dataset using the System.dataset.addColumn the values of the added column comes out with a lot of decimals even if I round them up before adding them to the python list. This is the output excel…

---

## [\[Bug-2259\] Unable to install new rev on Mac, malicious software](https://forum.inductiveautomation.com/t/bug-2259-unable-to-install-new-rev-on-mac-malicious-software/59988)

<div class="topic-metadata">

**Author:** [@pdixon](https://forum.inductiveautomation.com/u/pdixon)\
**Replies:** 9\
**Last updated:** [June 20, 2022, 3:33pm UTC](https://forum.inductiveautomation.com/t/bug-2259-unable-to-install-new-rev-on-mac-malicious-software/59988 "2022-06-20T15:33:42Z")

</div>

I am aware you can right click and choose Open, but it is not working. I downloaded ignition-8.1.17-macOs-64-installer.dmg. If I try to open, I get: If I right click, I get the option to Open, but when I press Open…

---

## [\[Solved\] Date format in JSON onRowClick event Table](https://forum.inductiveautomation.com/t/solved-date-format-in-json-onrowclick-event-table/60762)

<div class="topic-metadata">

**Author:** [@jonathan.bathalon1](https://forum.inductiveautomation.com/u/jonathan.bathalon1)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 1:06pm UTC](https://forum.inductiveautomation.com/t/solved-date-format-in-json-onrowclick-event-table/60762 "2022-06-20T13:06:40Z")

</div>

Hi, I have problem formating my date to pass it to a Popup params Here is my code: def runAction(self, event): “”" Fired when a row in the table is clicked. Arguments: self: A reference to the component that is in…

---

## [FileUpload - Appending byte arrays with multiple files is very slow](https://forum.inductiveautomation.com/t/fileupload-appending-byte-arrays-with-multiple-files-is-very-slow/60769)

<div class="topic-metadata">

**Author:** [@Christopher\_Cameron](https://forum.inductiveautomation.com/u/Christopher_Cameron)\
**Replies:** 11\
**Last updated:** [June 20, 2022, 11:21am UTC](https://forum.inductiveautomation.com/t/fileupload-appending-byte-arrays-with-multiple-files-is-very-slow/60769 "2022-06-20T11:21:47Z")

</div>

Hello all, I am attempting to use the Perspective FileUpload component to upload multiple files, store on the component then send via email upon click of a button. I am using a table to display the file metadata so the …

---

## [Add a button on ViewCanvas component](https://forum.inductiveautomation.com/t/add-a-button-on-viewcanvas-component/59954)

<div class="topic-metadata">

**Author:** [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Replies:** 4\
**Last updated:** [June 20, 2022, 8:28am UTC](https://forum.inductiveautomation.com/t/add-a-button-on-viewcanvas-component/59954 "2022-06-20T08:28:33Z")

</div>

Hello, I’am developping Perspective Booking App & Schedule. I donwload an app that I fouded on web site “ignition exchange”. I want to know if it is possible add a component on ViewCanvas. I need to add a report as so…

---

## [Historical data for motor speed](https://forum.inductiveautomation.com/t/historical-data-for-motor-speed/60940)

<div class="topic-metadata">

**Author:** [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 4:50am UTC](https://forum.inductiveautomation.com/t/historical-data-for-motor-speed/60940 "2022-06-20T04:50:48Z")

</div>

I have a trend where I am displaying the speed of a motor. This motor runs at a fixed speed (occasionally the operators will adjust the set point, but this is a maybe-once-a-day type occurrence). The motor starts and sto…

---

## [Reset Zoom Level on Time-Series Chart (Perspective)](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321)

<div class="topic-metadata">

**Author:** [@jaspinall](https://forum.inductiveautomation.com/u/jaspinall)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 12:30am UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321 "2022-06-20T00:30:59Z")

</div>

Hi There, Is it possible to reset the zoom-level to 1 on a time-series chart? I know there is the bottom shown in the screenshot that accomplishes this, but is there anyway to call this functionality via script/function…

---

## [INSERT Query binding to a Tag value and it should insert for every 1 minute](https://forum.inductiveautomation.com/t/insert-query-binding-to-a-tag-value-and-it-should-insert-for-every-1-minute/59921)

<div class="topic-metadata">

**Author:** [@Shaheryar\_Ahmad](https://forum.inductiveautomation.com/u/Shaheryar_Ahmad)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 5:42pm UTC](https://forum.inductiveautomation.com/t/insert-query-binding-to-a-tag-value-and-it-should-insert-for-every-1-minute/59921 "2022-06-19T17:42:05Z")

</div>

Hi Everyone. I have a machine of which getting its ‘start process’ boolean status over OPCUA. From that tag, I can see when the machine is running or not. From that tag status, I want to INSERT some machine related dat…

---

## [Today Function in pop up calendar](https://forum.inductiveautomation.com/t/today-function-in-pop-up-calendar/60921)

<div class="topic-metadata">

**Author:** [@PINAK\_MEHTA](https://forum.inductiveautomation.com/u/PINAK_MEHTA)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 2:11pm UTC](https://forum.inductiveautomation.com/t/today-function-in-pop-up-calendar/60921 "2022-06-19T14:11:19Z")

</div>

How can I script a “Today” button that can pass on Today’s date and time to my pop up calendar component.?

---

## [View.params object passing to script - error while accessing list dictionary item](https://forum.inductiveautomation.com/t/view-params-object-passing-to-script-error-while-accessing-list-dictionary-item/57578)

<div class="topic-metadata">

**Author:** [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Replies:** 25\
**Last updated:** [June 19, 2022, 1:39pm UTC](https://forum.inductiveautomation.com/t/view-params-object-passing-to-script-error-while-accessing-list-dictionary-item/57578 "2022-06-19T13:39:05Z")

</div>

I have the following view parameter on a view shiftPattern : \[ {"dayName": "Monday", "shiftStart1": "08:00", "shiftStart2": "16:30", "shiftStart3": "00:00", "shiftEnable2": true, "shiftEnable3": true, "shiftNextDay…

---

## [How to extract Unix timestamp from tag read?](https://forum.inductiveautomation.com/t/how-to-extract-unix-timestamp-from-tag-read/60925)

<div class="topic-metadata">

**Author:** [@wbaker](https://forum.inductiveautomation.com/u/wbaker)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 1:04pm UTC](https://forum.inductiveautomation.com/t/how-to-extract-unix-timestamp-from-tag-read/60925 "2022-06-19T13:04:04Z")

</div>

Hi everyone, How can I get the unix timstamp out of this return from a system.tag.read command? ## Call path = system.tag.read("\[\]MyTagPath") print path ## Return \[1737.9868, Good, Sat Jun 18 16:56:10 CDT 2022 (165558…

---

## [Linux Fonts in Fedora](https://forum.inductiveautomation.com/t/linux-fonts-in-fedora/60926)

<div class="topic-metadata">

**Author:** [@mitchell-ACS](https://forum.inductiveautomation.com/u/mitchell-ACS)\
**Replies:** 1\
**Last updated:** [June 19, 2022, 6:11am UTC](https://forum.inductiveautomation.com/t/linux-fonts-in-fedora/60926 "2022-06-19T06:11:33Z")

</div>

I am having some issues with the Designer font rendering in Fedora Linux, I have tried the methods for adding the mscorefonts specified in other forum posts but it did not fix anything. OS: Fedora 36 DE: KDE Plasma Gr…

---

## [Ideas for a table with a variable number of tables?](https://forum.inductiveautomation.com/t/ideas-for-a-table-with-a-variable-number-of-tables/60900)

<div class="topic-metadata">

**Author:** [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Replies:** 3\
**Last updated:** [June 18, 2022, 4:10pm UTC](https://forum.inductiveautomation.com/t/ideas-for-a-table-with-a-variable-number-of-tables/60900 "2022-06-18T16:10:49Z")

</div>

Working with 8.1.0. I am attempting to make a report that shows equipment downtime where the alarms are categorized into (potentially) 10 different categories. The report will look like this - The tables labeled 1 …

---

## ["Bad Quality" tag in designer](https://forum.inductiveautomation.com/t/bad-quality-tag-in-designer/60901)

<div class="topic-metadata">

**Author:** [@Israel\_Martinez\_Morr](https://forum.inductiveautomation.com/u/Israel_Martinez_Morr)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 4:03pm UTC](https://forum.inductiveautomation.com/t/bad-quality-tag-in-designer/60901 "2022-06-18T16:03:53Z")

</div>

IN THE QUICKCLIENT MY TAGS ARE SHOWN AS GOOD BUT IN THE DESIGNER THEY ARE SHOWN AS BAD AND THE VALUE BECOMES NULL. why does that happen?

---

## [OMRON TCP Driver Issue](https://forum.inductiveautomation.com/t/omron-tcp-driver-issue/60353)

<div class="topic-metadata">

**Author:** [@vasilevdim](https://forum.inductiveautomation.com/u/vasilevdim)\
**Replies:** 8\
**Last updated:** [June 18, 2022, 7:22am UTC](https://forum.inductiveautomation.com/t/omron-tcp-driver-issue/60353 "2022-06-18T07:22:04Z")

</div>

Interesting issue today with OMRON TCP driver, I had to connect machine with Omron CJ1M PLC to Ignition. No issues for the last two days, until last night when the machine was restarted. After the restart no any readings…

---

## [Passing parameters to nested and embedded views](https://forum.inductiveautomation.com/t/passing-parameters-to-nested-and-embedded-views/60872)

<div class="topic-metadata">

**Author:** [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Replies:** 5\
**Last updated:** [June 18, 2022, 4:41am UTC](https://forum.inductiveautomation.com/t/passing-parameters-to-nested-and-embedded-views/60872 "2022-06-18T04:41:02Z")

</div>

I have two views (say "a" and "b") embedded inside a view (say "c") having a breakpoint container having embedded views "embedded" for "a" and "embedded\_0" for "b". This "c" view is embedded inside a flex repeater view "…

---

## [Are there any known issues with the Perspective View onShutdown Event](https://forum.inductiveautomation.com/t/are-there-any-known-issues-with-the-perspective-view-onshutdown-event/60911)

<div class="topic-metadata">

**Author:** [@MikeAllgood](https://forum.inductiveautomation.com/u/MikeAllgood)\
**Replies:** 6\
**Last updated:** [June 17, 2022, 9:46pm UTC](https://forum.inductiveautomation.com/t/are-there-any-known-issues-with-the-perspective-view-onshutdown-event/60911 "2022-06-17T21:46:46Z")

</div>

We have a system where operators are processing a part. On the initial step of process, a record is created in the database for the part. This record gets updated through the process, but the record has a status flag tha…

---

## [Table Error when running application, but not in preview mode](https://forum.inductiveautomation.com/t/table-error-when-running-application-but-not-in-preview-mode/60906)

<div class="topic-metadata">

**Author:** [@Ignition\_Newbie](https://forum.inductiveautomation.com/u/Ignition_Newbie)\
**Replies:** 2\
**Last updated:** [June 17, 2022, 6:42pm UTC](https://forum.inductiveautomation.com/t/table-error-when-running-application-but-not-in-preview-mode/60906 "2022-06-17T18:42:59Z")

</div>

I am using transaction groups to write to MySQL database, and then displaying the logged information onto a table. In the data binding property, I am putting: SELECT Product\_Code, Disp\_Qty, t\_stamp FROM table there ar…

---

## [Easy chart is not displaying trends correctly](https://forum.inductiveautomation.com/t/easy-chart-is-not-displaying-trends-correctly/9633)

<div class="topic-metadata">

**Author:** [@xion8x8](https://forum.inductiveautomation.com/u/xion8x8)\
**Replies:** 5\
**Last updated:** [June 17, 2022, 6:29pm UTC](https://forum.inductiveautomation.com/t/easy-chart-is-not-displaying-trends-correctly/9633 "2022-06-17T18:29:12Z")

</div>

I have encountered that the easy chart is not displaying the trends correctly, please see two screen shots (screen shot shows the trend period of 10 hours). When the easy chart queried 4 hours of history, the trend was f…

---

## [Way to maintain column types when splitting a dataset?](https://forum.inductiveautomation.com/t/way-to-maintain-column-types-when-splitting-a-dataset/60903)

<div class="topic-metadata">

**Author:** [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Replies:** 2\
**Last updated:** [June 17, 2022, 6:17pm UTC](https://forum.inductiveautomation.com/t/way-to-maintain-column-types-when-splitting-a-dataset/60903 "2022-06-17T18:17:25Z")

</div>

Have a large dataset full of alarm data that has headerds and datatypes like headers = \['Alarm Occured At', 'Alarm Cleared At', 'Alarm Name', 'Username', 'AllData'\] datatypes = \[class java.util.Date, class java.util.Dat…

---

## [Trigger a script to run in a gateway context from client](https://forum.inductiveautomation.com/t/trigger-a-script-to-run-in-a-gateway-context-from-client/60904)

<div class="topic-metadata">

**Author:** [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 6:14pm UTC](https://forum.inductiveautomation.com/t/trigger-a-script-to-run-in-a-gateway-context-from-client/60904 "2022-06-17T18:14:24Z")

</div>

Trying to figure out an easy way for a client script to trigger a script to run in a gateway context. I can set the “gateway” script up in a timer event with a message handler (never done this, but should work). Or may…

---

## [Logic question in the Web Dev module](https://forum.inductiveautomation.com/t/logic-question-in-the-web-dev-module/60802)

<div class="topic-metadata">

**Author:** [@Italo\_Araujo](https://forum.inductiveautomation.com/u/Italo_Araujo)\
**Replies:** 10\
**Last updated:** [June 17, 2022, 6:10pm UTC](https://forum.inductiveautomation.com/t/logic-question-in-the-web-dev-module/60802 "2022-06-17T18:10:32Z")

</div>

I am passing a list of Tags, start date and end date to the “queryTagHistory” function. tagList = \['\[default\]RECEITA/BRel/BRel\_0\_/BatchId.value', '\[default\]RECEITA/BRel/BRel\_0\_/NumFicha.value'\] startTime = request\['par…

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

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