Computing Library
Earlier articles
Troubleshooting
Why slash aliases in tag historian query return zero rows
The script access pattern is correct: getCoreResults() and getRowCount() are the documented calls for reading a Tag Historian Query from a Script data source. The zero row count comes from the query, not the method. Replace every slash in the Data Key Alias with an underscore, leave the historian tag path untouched, and read row zero only after the row count is greater than zero.
Troubleshooting
Ignition Edge Designer fails to launch from a Raspberry Pi gateway
The Designer is a workstation application: launch it from your Windows desktop against the gateway on the Pi, and leave system Java alone, because the Ignition 8.x launcher manages its own runtime. If a remote launch still fails after an in-place upgrade, capture the launcher and gateway logs, then rebuild one test Pi with a clean operating system and a clean Ignition Edge install before touching the rest of the fleet.
How-to
How InfluxDB remote replication works from an edge gateway
Replication in InfluxDB 2.x is two objects created in order: a remote holding the destination URL, the remote organization's ID string and a write-scoped token, then a replication binding the local bucket to it. The stream forwards only writes made after it exists and never backfills; set the queue's size and age limits to survive your longest expected outage, then prove the path with one test point queried on the remote.
Troubleshooting
SQLite historian stores data but the chart stays empty
Rows in SQLite prove the historian write path works; an empty table and chart point at retrieval. Set the SQLite JDBC driver's Driver Type from GENERIC to SQLITE in the Gateway configuration, then confirm a fresh sample whose timestamp converts to its real sample time.
Troubleshooting
Why an InfluxDB container loses old data after restart
An InfluxDB container that comes back empty after recreation was never writing to your mounted volumes. Its startup log names the real store: /root/.influxdbv2/influxd.bolt and /root/.influxdbv2/engine/data. Bind one host directory to /root/.influxdbv2 and confirm the recreated container opens that bolt file before trusting it with data.
Troubleshooting
Node-RED Oracle Instant Client fails on a snap-confined edge PC
Snap confinement keeps a Node-RED app from loading an Oracle Instant Client unpacked into its own data folder, so the driver fails before any SQL runs. Find the failing stage, switch to a palette that connects without the client libraries, deliver it offline through the device's node-packager, and prove the write path with a counted test.
Explainer
Why Ignition tag historian creates MySQL double columns
The DOUBLE and BIGINT columns come from the MySQL translator's type mapping, which sizes generated columns for any tag value. Switching that mapping to FLOAT touches every table the connection generates and saves about 346 MB per day in the worked example below while cutting precision to about 7 significant digits. Keep DOUBLE; set the decimals an operator sees in the display's number format.
Explainer
Why an edge gateway needs an HTTP endpoint to write a database
An edge gateway has no SQL client, so it cannot write to a database directly. Front the database with an HTTPS endpoint and have the gateway script POST a batch of tag values at most once per second; the endpoint script performs the write. On one documented platform that means 200 values per call, delivered in seconds instead of hourly.
Troubleshooting
Telegraf failed to send metrics to any configured server
The error means the outputs.influxdb_v2 plugin tried every server in its URL list and none accepted a write. Work outward in order: destination URL and port 8086, the InfluxDB HTTP bind address on the Windows PC, a scoped Windows Firewall inbound rule, then TLS trust and the organization, bucket and token on the new server. A ping proves neither the listener nor the credentials.
Troubleshooting
Why an RS232 DNC connection shows active but no program transfers
An active DNC indication proves only that the RS232 link and handshake work, not that the file rules are met. On this control the transfer was restored by correcting two communication parameters and renaming PC files to bare numeric program numbers; the %PM header and the start-at-both-ends sequence belong to the Device 2 workflow, not to DNC.
Comparison
PCS 7 CAS versus Process Historian: which archive to deploy
Deploy the Process Historian on new and upgraded PCS 7 systems: it ships on the PCS 7 media, licenses by archived value count, and lands OS tags, messages and BATCH data in one SQL database. Keep the Central Archive Server only as a read-only archive for OS generations the current collector cannot read.
Explainer
Why AD roles need Authenticated/Roles paths in Ignition
Ignition permission fields compare security level paths, not role names: the IdP's attribute mapper places each Active Directory role into the session as Authenticated/Roles/X, so comma-separated full paths are what the Gateway Config, Status and Home fields accept. Read the Security Level Tree as a pick list, not a gate, and grant access through roles or security level rules.