DIAdem Help

Method: ShowDialog for DataPluginParameter <Navigator>

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

Method: ShowDialog for DataPluginParameter <Navigator>

Opens the dialog box where you configure the parameters of the selected DataPlugin.

sShowDialog = Object.ShowDialog
ObjectDataPluginParameter <Navigator>
Object with this method
sShowDialogString
Returns whether you canceled the dialog box or saved your settings.

The following example opens the dialog box where you configure the export of data with the CSV DataPlugin, and saves the data of the Data Portal in the Data.csv file:

VBScriptPython

 

Dim oMyDPParams
Set oMyDPParams = Navigator.Settings.CreateDataPluginParameter("CSV_Export")
oMyDPParams.DecimalSign = eCSVExportDecimalSignComma
oMyDPParams.TimeFormat = "#dd/mm/yyyy hh:nn:ss.ffff"
If oMyDPParams.ShowDialog = "IDOk" Then
  Call DataFileSave("D:\Data.csv", oMyDPParams)
End If