From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
This example shows a simple SUD dialog box with three inputs and how can it can receive and send data to the Python script being executed in DIAdem, using global variables. This can be used to customize parameters during an automated test with DIAdem Scripting.
Description-Separate-2
How to Use
How-Separate-1
Download and decompress the .zip file attached.
Save both files (.py and .sud) in the same location in disk, open the callSUD.py file in DIAdem and execute it.
Enter data in the three input boxes and click OK.
The entered data will be shown in a message box, which closes after 5 seconds or by clicking OK.
How-Separate-2
Additional Information
Additional-Separate-1
The scriptable user dialog (SUD) files must be written in VBS, however, once created the dialog box can be called in both a VBS and Python DIAdem script.