Alternative Methods for Tag Querying in FTVIEW SE V13 VBA

Question:

Greetings, I am transitioning from Rsview32 to FTVIEW SE V13. The majority of our projects contain VBA codes, and we utilized (gTagDb.QueryForTags ) to link tags from folders to tag groups. For example, we would set CycleTags(0) = gTagDb.QueryForTags("Cicli\*"), with CycleTags defined as Tags DataType. Are there any alternatives to the (gTagDb.QueryForTags) method in FTView SE or any functions that can achieve the same outcome? Thank you.

Top Replies

Is there anyone who can provide assistance?

Have you explored the TagGroup.Add function in VBA for search engine optimization (SEO)?

When working with VBA for search engine optimization, have you considered utilizing the TagGroup.Add method? By using this method, you can manually add each tag in a folder. However, the gTagDb.QueryForTags method allows you to add all tags in a specified folder at once. This is especially helpful for folders with over 200 tags, as adding each tag individually would be time-consuming.

In FTView SE, there isn't an exact equivalent to the gTagDb.QueryForTags method used in Rsview32. However, you could potentially iterate through the tags manually using the HMI tag dictionary. Alternatively, you can potentially make use of OPC UA or OPC DA servers for more complex or dynamic tag retrieval. There's also the possibility to use tag arrays, which provide a way to handle large amounts of data more efficiently. It might require some tweaking to your current setup, but these are potential routes you could explore.

You might want to explore using the Tag Integration feature in FTView SE - this allows you to access tags from a Logix5000 data server. With this, you can group tags and see them within the HMI tags database. However, VBA support in FTView SE has limitations when compared to Rsview32, though scripts can still be written using VBA. Unfortunately, it does lack the direct equivalent of the "QueryForTags" method. Another approach would be a 'workaround' via manually entering tag names into an array, albeit this is not as efficient as the Rsview32 method. Be sure to thoroughly test out any methods prior to full implementation!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

FAQ: 1. What is the alternative method in FactoryTalk View SE V13 VBA for querying tags similar to gTagDb.QueryForTags from Rsview32?

Answer: Answer: In FactoryTalk View SE V13 VBA, you can achieve similar functionality by using the Tags.Find method to search for tags based on specific criteria.

FAQ: 2. How can I link tags from folders to tag groups in FactoryTalk View SE V13 VBA?

Answer: Answer: To link tags from folders to tag groups in FactoryTalk View SE V13 VBA, you can utilize the Tags.Find method to search for tags within specific folders and then organize them into tag groups accordingly.

FAQ: 3. Can I replicate the functionality of (gTagDb.QueryForTags) using any built-in functions in FactoryTalk View SE V13?

Answer: Answer: Yes, you can replicate the functionality of (gTagDb.QueryForTags) by effectively using the Tags.Find method in FactoryTalk View SE V13 VBA to search for tags based on specific criteria and achieve the desired outcome.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’