Automation Professionals' Integration Toolkit Module

Annnnnnd... another new feature: the tags() expression function. Note the plural. It takes a list of tag paths, or a dataset with tag paths in the first column.

It defaults to operating in subscription mode, without an initial read, so the first execution will always yield nulls. Quickly replaced with proper values as the subscriptions report in. If the list changes between executions, only the changed tag paths will report a null at that point.

It can be set to not use subscriptions, in which case it is basically performing a readBlocking().

For Ignition v8.1+: v2.0.12.232282039

Documentation of the new tags() function is here:

https://www.automation-pros.com/toolkit/doc/utility.html#tags

5 Likes