DIAdem Help

Method: OpenDataFinder for Display

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

Method: OpenDataFinder for Display

Opens a DataFinder in the DIAdem NAVIGATOR interface.

bOpenDataFinder = Object.OpenDataFinder(Name)
ObjectDisplay
Object with this method
NameString
Specifies the name of the DataFinder.
bOpenDataFinderBoolean
The OpenDataFinder method returns TRUE if DIAdem opens the DataFinder. Otherwise DIAdem displays an error message.
Note  If DIAdem cannot execute the OpenDataFinder method successfully, DIAdem fills the VBS error object and terminates the script. DIAdem writes further information into a logfile and displays a dialog box that contains information on the error.
Note  Use Navigator.Display.CurrDataFinder to access the DataFinder object.
Note  Use the GetDataFinder method to determine the associated DataFinder without interface for a DataFinder, which already has an open interface. Use the ConnectDataFinder method to work directly with a DataFinder without a user interface.

The following example opens the DataFinder My DataFinder.

VBScriptPython

 

Call Navigator.Display.OpenDataFinder("My DataFinder")

The following example determines whether a DataFinder is already open. If no DataFinder is open, the example opens the My DataFinder DataFinder:

VBScriptPython

 

If Navigator.Display.CurrDataFinder is Nothing Then
  Navigator.Display.OpenDataFinder("My DataFinder")
End If