Is this possible?
Before I start digging in…
I am making wip tags through reporting. We usually print four at a time. One by one.
I can’t seem to find anything on running a report multiple times on a script and adding the returned arrays together into a single file or array. Is this possible? Are reports iterable?
In this case, it would be for system.perspective.download.
Or execute and distribute to the gateway to a known path and perspective. download there…
I was experimenting a little bit and crashed my production gateway trying to figure it out… lol
INFO | jvm 1 | 2019/10/25 01:43:58 | <string>:12: RuntimeWarning: PyTableCode.call caught a Throwable that is not an Exception:
INFO | jvm 1 | 2019/10/25 01:43:58 | java.lang.OutOfMemoryError: Java heap space
INFO | jvm 1 | 2019/10/25 01:43:58 | Jython internals might be in a bad state now that can cause deadlocks later on.
INFO | jvm 1 | 2019/10/25 01:43:58 | See http://bugs.jython.org/issue2536 for details.
INFO | jvm 1 | 2019/10/25 01:43:58 | W [p.a.script ] [06:43:58]: Error running function "runAction(self, event)". view=Pages/Charts@D, project-name=SCADA, component=root/Container/CoordinateContainer_0/Button
INFO | jvm 1 | 2019/10/25 01:43:58 | com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last):
INFO | jvm 1 | 2019/10/25 01:43:58 | File "<function:runAction>", line 12, in runAction
INFO | jvm 1 | 2019/10/25 01:43:58 | java.lang.OutOfMemoryError: Java heap space
INFO | jvm 1 | 2019/10/25 01:43:58 | at java.base/java.util.Arrays.copyOf(Unknown Source)
INFO | jvm 1 | 2019/10/25 01:43:58 | at java.base/java.util.ArrayList.grow(Unknown Source)
INFO | jvm 1 | 2019/10/25 01:43:58 | at java.base/java.util.ArrayList.grow(Unknown Source)
INFO | jvm 1 | 2019/10/25 01:43:58 |