About this task
The Advanced Tag Search window allows you to search the set of tags that match the search criteria and then to perform actions based on one or more tags that you select from the list. It saves the most recently used search criteria to a file named DefaultSearchCriteria.xml in the Excel AppData path (c:\user- s\<username>\AppData
) and this criteria is automatically loaded into the window the next time it is opened. This feature allows you to re-use or modify the criteria rather than entering them each time. If you want to reset your criteria, delete the XML file.
Using this search window, you can:
- Add multiple search criteria based on the tag criteria and the criteria value.
- Modify the existing criteria value.
- Delete the unwanted search criteria from the list.
- Save any list of criteria to a file.
- Load a saved criteria list for searches.
- Automatically load the most recently used criteria for re-use.
- Search the Historian database based on the search criteria.
- View the details of a tag.
Procedure
- From the Proficy Historian Advanced Tag Search window, select the Tag Criteria from the list.
- Enter or select the Tag Criteria Value.
- Select the Add Criteria button.
The criteria is listed in the Search Criteria list section.
- Select the Search button.
All tags that satisfy the query criteria are displayed in the Available section.
- Select Tags from the Avaliable List:
- Select a specific tag name to select it from the list. To select multiple individual tags, press the Control key and select the tag names. To select a sequence of tags, press the Shift key and select the first and last tag name of the sequence.
- When you have selected the tags you want, select the right arrow (>) button. This moves the selected tags to the right hand window. The selected tags are the tags for which the query obtains and displays data. If you select the double right arrow(>>) instead of the single right arrow, you select and move all tags to the right hand window.
- If you change your mind about a tag, you can deselect it by selecting on the tag name to highlight it and then selecting theleft arrow (<) button. This moves the tag back to the left hand window, removing it from the list of selected tags. Similarly, you can deselect all tags, by selecting the double left arrow (<<).
- To modify the Tag Criteria Value already entered:
- Double-click the criteria from the list.
- Change the Tag Criteria Value.
- Select the Update Criteria button. The criteria value is updated with the new value.
- To delete the search criteria from the list:
- Select the criteria from the list and select the Delete button.
- Select the Select All button and then select Delete, to delete the entire criteria list.
- Select the UnSelect All button, to remove the selection.
- To save a search Criteria List to be reused:
- Create your search criteria list.
- Select on the Save button.
The Save As window appears.
- Enter the file name and select Save.
Your Criteria list is saved as a .xml
file.
- To load an existing Criteria List:
- Select on the Load button. The Open window appears.
- Choose the file (.xml) you saved earlier and select Open.
The criteria list is loaded to the Advanced Tag Search window and it can be used for searching.
- To view the tag attributes, double-click the tag from the available section or from the selected section.
The Tag Attributes window appears with the attribute details.
- Select OK to return the list of tags on the parent window.
- Select Cancel to close the window.