Vai al contenuto

Search

This function is accessible through the icon, selecting ‘Search’. Search-image_0
  • Using this function it is possible to search for any string or sub-string within the program. The results of this search are listed at the bottom of the page in the “Search” tab.
  • This operation can be done on the whole project or on the single application, to select which you have to choose which one in the Subproject Combobox.
The search is carried out through the following window: Search-image_0The first field available allows to type in the string to search for in the selected application/project.The following fields establish the environments in which to search for the string:
  • Pages: inside the pages and the code contained
  • Borders: inside the borders and the code contained
  • Templates: inside the template pages and the code contained
  • Widgetboxes: inside the widgetboxes and the code contained
  • Events: inside global events
  • Keys: inside global keys
  • Images: among the images in the GF_Project images folder and in that of the program currently in use
  • Variables: inside all the variable grids
  • Datalogs: inside the datalogs
  • Messages: inside the text strings
  • Languages: inside the languages configured
  • Recipes: among the names of the recipes defined
  • Alarms: inside the alarms
  • PLC: inside the PLC program
  • Everywhere: select/deselect all fields
In order to further restrict the search, there are two more options:
  • Case sensitive: enables the choice of whether the search for the string required has to take lower/upper case letters into account;
  • Whole word: when set, it rejects results in which the search is a substring (if the search is for “string”, it will find “string”, but not “string1”);
The results of the search are listed at the bottom of the page, grouped into subgroups consistent with the search settings.Double clicking any of the search results will display the source of the related program. If reference is made to a PLC or gfnet module, the relative program will be automatically opened and positioned on the corresponding point.Example of search (searching for “GRAPH”): Search-image_0Top most is shown for which application the results are found. Search-image_0The result indicates that the search had positive outcomes in 3 main subgroups:
  • Pages: the pages and any widgets containing the string are listed;
  • PLC: split into subgroups; for every subgroup the relative search is listed
  • Variables: all the variables (or the subfields such as “min”, “max”, …) containing the searched string are listed.