Tags and the Project Database The development application automatically verifies your project. If it finds unused tags, then it lists them in the Remove Unused Tags dialog. Unused tags listed in Remove Unused Tags dialog 3. Determine which tags you want to remove, if any. • If you want to remove all of the listed tags, click Remove . • If you want to keep some of the listed tags, clear the Remove options for these tags and then click Remove . Note: The listed tags may include some that are accessed during runtime using indirect syntax (e.g., GetTagValue(TagName) or @TagName , where the value of TagName is the name of an unused tag).
• If you do not want to remove any of the listed tags, click Close . The development application removes the selected tags and then asks if you want to verify the project again. 4. Click Yes to verify the project again. Reset Tags Database Select Reset Tags Database to "reload" the tags database on the local station. This command affects all tags stored in the Project Tags folder. This option is useful for resetting the project tags and restoring the values they had when the project was loaded for the first time. When you stop the project but leave the development environment open, the tags are not reset by default when the project is run again.
Therefore, you can execute this command to reset them before the project runs again. When this command is executed, the Startup Value configured for each tag ( Tags Properties dialog ) is written to the respective tag. If you did not configure any Startup Value for a numeric tag ( Boolean , Integer or Real ), the value 0 (zero) is written to the tag. If you did not configure any Startup Value for a string tag, the empty value ("") is written to the tag. This command is disabled (in gray) if there is at least one runtime task running on the local station. You must close all runtime tasks ( Stop on the Home tab of the ribbon) before this command can be executed. Note:
The tags stored in the System Tags folder and in the Shared Tags folder (if any) are not affected by this command. Tip: If you want to reset the project tags automatically whenever you run the project ( Run on the Home tab of the ribbon), you can check the option Reset Tags Database when starting project on the Preferences tab of the Project Settings dialog . Tagname Text Box Type a name into the Tagname text box to create a new tag for your project. The Cross Reference and Tag Properties tools will reference this tag name for their actions. Page 130 InduSoft Web Studio