DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem Dialog active and using report at the same time

Solved!
Go to solution

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.

 

0 Kudos
Message 1 of 2
(2,664 Views)
Solution
Accepted by topic author Dia_Nutzer

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

0 Kudos
Message 2 of 2
(2,508 Views)