DIAdem Help

Launching DIAdem with Parameters

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

Launching DIAdem with Parameters

Use the following parameters to modify how DIAdem behaves after the program launches:

Syntax Description Example
/CCommand Specifies a command that DIAdem executes directly after the program launches. For example, this parameter can start a script. DIAdem.exe /CScriptStart('MyScript.vbs')
/DFile Specifies a Desktop file. DIAdem.exe /DMyDesk
/SFolder Specifies a System folder. DIAdem.exe /Sc:\user\mysystem
/TDMOnly Starts DIAdem without DIAdem DAC and DIAdem VISUAL. DIAdem.exe /TDMOnly
/PROFILING Activates the profiling of user commands. DIAdem.exe /PROFILING
Note  If you use paths that contain blanks, you must enclose the paths in quotation marks, for example:
"C:\Programme\National Instruments\DIAdem\DIAdem.exe" /CScriptStart('"C:\MyProject 1\MyScript.vbs"')
Note  Instead of starting the program with parameters, you also can specify a start script in the General Settings dialog box. When DIAdem launches, the program registers this script and executes all the commands from the main section of the script.

You also can select Settings»Extensions»User Commands and define User commands, to add your own commands to DIAdem or to redefine existing commands. DIAdem automatically executes the script that contains these user commands, when the program launches.

Note  To be able to use a configuration on another computer, you must forward all the configuration files (*.ddd, *.par, *.tuc, *.bdn) and the subfolder that has the same name as the desktop file.
Note  DIAdem saves the DIAdem desktop file with the DDD extension in the desktop folder. You must not specify the extension. Use the start parameter /DDeskFile to load a desktop file when DIAdem.exe starts. The desktop file is usually the same as the program file. To specify a desktop folder, assign a folder to the DemDDD environment variable or specify a desktop file with the complete path when you launch DIAdem.

Log in to get a better experience