Method: OpenDataFinderByParameter for Display
- Updated2024-09-12
- 2 minute(s) read
DIAdem NAVIGATOR > Methods > Method: OpenDataFinderByParameter for Display
Method: OpenDataFinderByParameter for Display
Uses the specified parameters to open a connection to a DataFinder instance in the DIAdem NAVIGATOR interface.
bOpenDataFinderByParameter = Object.OpenDataFinderByParameter(ParamOrServerName, DataFinderName, ConnectionTimeout, QueryTimeout)
| Object | Display Object with this method |
| ParamOrServerName | String Specifies the name or the parameters of the server with the DataFinder instance. |
| DataFinderName | Variant Specifies the name of the DataFinder instance you want to open. |
| ConnectionTimeout | Variant Specifies the maximum time in seconds allowed to connect DIAdem to the DataFinder instance. If the specified time elapses, an error message appears. |
| QueryTimeout | Variant Specifies how many seconds DIAdem waits for the results of a query to the DataFinder instance. If the specified time elapses, an error message appears. |
| bOpenDataFinderByParameter | Boolean Specifies whether DIAdem opened the DataFinder instance successfully (TRUE) or not (FALSE). |
![]() | Note Instead of the OpenDataFinderByParameter method, you can use the associated urf file to open the connection to a DataFinder instance. Double-click the urf file to register it on the client computer. You can also use the Navigator.Settings.RegisterDataProvider method to register the DataFinder instance. |
![]() | Note If DIAdem cannot execute the OpenDataFinderByParameter 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 further 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 uses the specified parameters to open the MyDataFinder Instance DataFinder instance. You can then use the DataFinder instance name to access it:
| VBScript | Python |
Call Navigator.Display.OpenDataFinderByParameter("MyServer", "My DataFinder Instance", 10,20)
