Querying your System

Once the system has been indexed, you can search the System Database. The search results can show all of the indexed entities. You can run the search against either the local station or the SystemDb.
Prerequisites:
  • You have an open connection to a Supervisor station (via Workbench or browser).
  • You have already set up the SystemDb and System Index functionality on the Supervisor.
  • You have successfully indexed subordinate stations in your NiagaraNetwork, and Niagara virtuals must be enabled and setup properly for user permissions.

Perform the following steps:
  1. Open the Search sidebar and click Settings (Image) to open the Search Settings window.
    Image
  2. Under Scope Selection, select System Database and click OK.

    This configures search to run your NEQL queries against the SystemDb.

     NOTE: If you want to search against the local station, select Config, or you can optionally select both. The query runs against both scopes. Also note that if you use the LocalSystemIndexer to index local entities into the System Database, you only need to use the System Database search scope (and not Config). 
  3. In the Search entry field, enter the NEQL query: n:device.
    Image
The search results display a list of all devices that were pulled into the SystemDb. Note that any remote devices are modeled as virtual components.