awilcox0000
Member
I'm porting an RSView32 application to FactoryTalk SE and need to deal with the use of QueryForTags in the RSView32 app. Does anyone know of an equivalent in FactoryTalk? The RSView code creates a taggroup and populates it using the QueryForTalks method. I could use the TagGroup.Add method and individually load the tags, but that's a lot of typing.
Here's the code snippet from RSView32:
Dim oTanksAvailable As TagGroup
Dim oRecipeName As TagGroup
Set oTanksAvailable = gTagDb.QueryForTags("Functions\TankParameters\Available\*")
Set oRecipeName = gTagDb.QueryForTags("TankData\Tank*\BatchData\RecipeName")
Here's the code snippet from RSView32:
Dim oTanksAvailable As TagGroup
Dim oRecipeName As TagGroup
Set oTanksAvailable = gTagDb.QueryForTags("Functions\TankParameters\Available\*")
Set oRecipeName = gTagDb.QueryForTags("TankData\Tank*\BatchData\RecipeName")