How do I write the value of SQL fields to tags

Simple. Basic. Brain Fog.
I have a query that gets the desired values.
How do I write the value of SQL fields to tags?

You mean like a Query Tag?

Query Tag is another new term to me. I'll look into it. Just need to get values returned from a query into ignition tags. I'd like to do this in a named query.

In that case maybe call a named query using system.db.runNamedQuery() in the gateway scripts, and then write these using system.tag.writeBlocking or system.tag.writeAsync to write to your tags

2 Likes