DIAdem Help

Object: Navigator

  • Updated2024-09-12
  • 2 minute(s) read

Object: Navigator

The Navigator object enables access to the interface and the functions of DIAdem NAVIGATOR. Use the Navigator object to open data stores and DataFinders. You can search for properties of files, channel groups, and channels in DataFinders and search for properties of tests, subtests, measurements, and measurement quantities in data stores. You can display the search results and load the results directly into the Data Portal.

The Navigator object is available as a global object in scripts and in dialog boxes. Do not create an object or a variable with the name Navigator, because that overwrites the Navigator object.

Only read access.

The following example executes an extended search and loads the search results into the Data Portal:

VBScriptPython

 

Dim oMyCurrDataProvider, oMyQueryForm, oMyConditions, oMyResults
Set oMyCurrDataProvider = Navigator.Display.CurrDataFinder
Call Data.Root.Clear()
Set oMyQueryForm = oMyCurrDataProvider.QueryForm
Call oMyQueryForm.Clear
oMyQueryForm.Mode = eAdvancedQueryForm
oMyQueryForm.ReturnType = eSearchChannel
Set oMyConditions = oMyQueryForm.Conditions
Call oMyConditions.Add(eSearchFile,"fileName","=","TR_M17_QT_*")
Call oMyConditions.Add(eSearchChannelGroup,"Test_Status","=","fail")
Call oMyConditions.Add(eSearchChannel,"maximum",">","45")
Call oMyConditions.Add(eSearchChannel,"minimum","<",23)
Call oMyConditions.Add(eSearchChannel,"Limit_High","=",50)
Call oMyConditions.Add(eSearchChannel,"unit_string","=","°C")
Call oMyQueryForm.Search()
Set oMyResults = oMyCurrDataProvider.ResultsList.ResultsElements
Call Navigator.LoadData(oMyResults)

Properties

Display | Events | Settings

Log in to get a better experience