Method: CreateDataPluginParameter for Settings <Navigator>
- Updated2024-09-12
- 2 minute(s) read
DIAdem NAVIGATOR > Methods > Method: CreateDataPluginParameter for Settings <Navigator>
Method: CreateDataPluginParameter for Settings <Navigator>
Creates an object with properties you use to configure a DataPlugin. For example, you can change the default DataPlugin configuration by configuring the "CSV_Export" DataPlugin to create a target file with different file coding, different delimiters, or different decimal symbols. A description of the properties and methods for the DataPlugin named "CSV_Export" can be found on the page of the CSVExportParameter <Navigator>object.
![]() | Note If the CreateDataPluginParameter method does not return an object, you cannot configure the selected DataPlugin. |
Set oDataPluginParameter = Object.CreateDataPluginParameter(DataPluginName)
| Object | Settings <Navigator> Object with this method |
| DataPluginName | String Specifies the name of the DataPlugin of which you change the parameters. |
| oDataPluginParameter | DataPluginParameter <Navigator> Returned object |
The following example configures the CSV_Export DataPlugin and then exports the data from the Data Portal into the specified CSV file:
| VBScript | Python |
Dim oMyExportParameter Set oMyExportParameter = Navigator.Settings.CreateDataPluginParameter("CSV_Export") If IsObject(oMyExportParameter) Then oMyExportParameter.DecimalSign = eCSVExportDecimalSignPoint oMyExportParameter.Delimiter = eCSVExportDelimiterSemicolon oMyExportParameter.Encoding = eCSVExportEncodingAnsi oMyExportParameter.StringSign = "'" oMyExportParameter.TimeFormat = "#dd/mm/yyyy hh:nn:ss.ffff" Call DataFileSave("D:\MyNewData.csv", oMyExportParameter) Else MsgBox "Parametrization not possible" End If
