01-23-2020 01:27 AM - edited 01-23-2020 01:28 AM
Hello,
is there any possiblety to run a script and let the Diadem Dialog open and Change something in the Report section? I have the Problem that the Dialog locks the Diadem window and is in front of it.
To Change something in the Report i must close the Diadem Dialog and Restart it, if i want to continue with the Evaluation.
Solved! Go to Solution.
01-23-2020 11:34 AM
Hi Dia_Nutzer,
There are 2 ways to call a SUDialog, with either a modal call or non-modal call.
This is the modal approach:
Call SUDDlgShow("Dialog1", CurrentScriptPath & "Example.sud")
This is the non-modal approach:
Dim MyDlg
If Nothing is SudNonModalDlgLst("Dialog1") Then
Set MyDlg = SudDlgCreate("Dialog1", CurrentScriptPath & "Example")
Else
Set MyDlg = SudNonModalDlgLst("Dialog1")
End If
Call MyDlg.Show
The non-modal approach will enable you to interact with the rest of DIAdem while it is still active.
Brad Turpin
Senior Technical Support Engineer
National Instruments