![]() | DIAdem 2017 Help |
![]() | DIAdem 2018 Help |
![]() | DIAdem 2019 Help |
![]() | DIAdem 2020 Help |
![]() | DIAdem 2020 SP1 Help |
Use user commands to add your own commands to DIAdem or to redefine existing commands. You define user commands in scripts. You must register these scripts in DIAdem. For example, to add a unit to the y-axis label with a default user command complete the following steps:
Select DIAdem SCRIPT.
Select Settings»Extensions»User Commands.
Click Add and select the file UserCmdReport.VBS in the Examples\Documents folder below the DIAdem Program Folder.
Click Close.
Select DIAdem REPORT.
Select File»New.
Select Insert»2D Axis System.
Position the axis system.
Drag and drop an x-channel and a y-channel from the Data Portal into the axis system.
Double-click a numeric value of the y-axis. DIAdem opens the Curve and Axis Definition dialog box with the Axis Parameters tab.
Enter the following text in the input line Format:
@@Set_Unit(" m/s")@@
Click OK.
DIAdem labels the y-axis with the numeric values and with the unit m/s.
![]() | Note The user command Set_Unit appends the unit to the value to be currently formatted. Refer to the UserCmdReport.VBS file for the user command Set_Unit. This file also contains other formatting commands. |
Using User Commands for Extended Numeric Display | Using User Commands for Trend Displays in Tables | Using User Commands to Format a Date
Helpful
Not Helpful