Contents
Partner Programs
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
All Manual Versions
Ignition 8.0
Ignition 7.9
Ignition 7.8
Reads the values of each tag in the tag path list. Returns a sequence of qualified value objects. You can read the value, quality, and timestamp from each object in the return sequence. Reading in bulk like this is more efficient than calling read() many times.
This scripting function has no Client Permission restrictions.
system.tag.readAll(tagPaths)
String[] tagPaths - A sequence of tag paths to read from.
QualifiedValue[] - A sequence of qualified values corresponding to each tag path given. Each qualified value will have three sub-members: value, quality, and timestamp.
All
# This example would read 5 tags at once and print each of their values tags = ["Tags/T1", "Tags/T2", "Tags/T3", "Tags/T4", "Tags/T5"] values = system.tag.readAll(tags) for x in range(len(tags)): print "%s = %s" % (tags[x], values[x])