Using a User Command to Calculate the Difference between the Y-Values
- Updated2024-09-12
- 2 minute(s) read
Viewing and Editing Data > Using a User Command to Calculate the Difference between the Y-Values
| Using a User Command to Calculate the Difference between the Y-Values |
This example shows how DIAdem automatically calculates the difference between the y-values of the displayed curve and the y-values of the leading curve, in the DIAdem VIEW panel.
DIAdem calculates the difference between the y-values in the user command CurrentYDiff. The command is in the legend of the VIEW axis system.
Refer to the UserCmdVIEW.vbs user file for the user command CurrentYDiff.
Start example
Click a Filename to Load this File into DIAdem
| Expl_VIEW_DiffLeg.vbs | Script file |
| Expl_VIEW_DiffLeg.tdv | Layout file |
| Report_EXPL.tdm | Data file |
| UserCmdVIEW.vbs | Script file with user command |
![]() | Note When this example starts, DIAdem loads example files and overwrites existing data and layouts. |
![]() | Note In this example DIAdem registers the user command file UserCmdVIEW.vbs. If you do not save the program settings when you exit DIAdem, the user commands contained in the program settings are not available when you start DIAdem again until you restart the example. |
