Hello all,
I know that this could be easy but I have been trying in several ways to solve this. I have a String Tag created in productivity and the autoasigned memory is 40007 to 400014 and I'm trying to send my name in this tag.
I created the OPC tag in Ignition and put the path as I'm getting all the other tags but with the Data type String
But the tag is sending me an integer value
I've been trying to get the value with no success with Data type String Array and Scripting like this
# Specify the paths.
path = ["[default]Folder/Tag_A"]
# Send the reads off.
# Function returns a list of qualified values, one qualified value for every tag path we are reading
qualifiedValues= system.tag.readBlocking(path)
value = qualifiedValues[0] # extract the qualified value from this list, there should only be 1 because we are reading a single tag value
print value.value # prints out the value of the Tag A
print value.quality # prints out the quality of Tag A
print value.timestamp # prints out the timestamp of Tag A's value
Someone knows how to get that tag value?