Hello!
I´m migrating a project from Ignition Vision to Ignition Perspective.
Is there a way to import the tags from Vision into Perspective Designer?
I haven´t find the way on the Vision designer or the gateway to eport the tags.
Cheers!
Hello!
I´m migrating a project from Ignition Vision to Ignition Perspective.
Is there a way to import the tags from Vision into Perspective Designer?
I haven´t find the way on the Vision designer or the gateway to eport the tags.
Cheers!
Tags (with the exception of Vision Client Tags) are independent of the visualization module being used.
From the looks of your screen shot it looks like you're trying to import tags from 7.9 into 8.1? Is that the question you're asking?
If you mean Vision Client Tags, there aren't any in Perspective. Use Perspective session properties for that. If you mean gateway tags, there's nothing to do. Gateway tags are not part of projects, and are equally accessible from Vision and Perspective.
Export gateway tags and/or data types from the tag browser in the designer in one gateway, and import via the designer tag browser in the other one.
Yes, that´s the question, I´m using two different gateways, one for Vision and one for Perspective and I wonder if is possible to import the tags from Vision gateway into Perspective gateway.
I guess if I want to use the tags from code I would have to add them one by one, or is there any other way?
for site, probesCount in MASTER:
for j in range(1, probesCount + 1):
probe = 200 + j # Probe number starts from 201
TCIroot = "[default]PSS/{}/intTH/{}/TCI".format(site, probe)
RHIroot = "[default]PSS/{}/intTH/{}/RHI".format(site, probe)
STSroot = "[default]PSS/{}/intTH/{}/STATUS".format(site, probe)
values = system.tag.readBlocking([TCIroot, RHIroot, STSroot])
temperature = values[0].value if values[0].value is not None else "N/A"
humidity = values[1].value if values[1].value is not None else "N/A"
status = values[2].value if values[2].value is not None else "N/A"
# Append row to dataset
data.append({
"BUILDING": site,
"PROBE": probe,
"TEMPERATURE C": temperature,
"HUMIDITY %": humidity,
"STATUS": status
})
There are many differences in architecture between v7.9 and v8.1. Consider using a temporary v8.1 gateway to restore a complete gateway backup (not a project backup) from the v7.9 gateway. That will perform an optimum conversion of everything in that v7.9 gateway into the new v8.1 formats. Tags, image library, projects, gateway scripting, devices, database connections.... Everything.
Then start creating Perspective equivalents to your Vision projects. (If you really need to--v8.1 still has Vision.)
Thanks @pturmel, with the tags export functionality and the Image Management export trick I think I got all I need from the v7.9 project.