Automatic Display of Harmonic Frequencies
- Updated2024-09-12
- 2 minute(s) read
(Version 10.1 | Viewing and Editing Data) > Automatic Display of Harmonic Frequencies
Automatic Display of Harmonic Frequencies |
This example displays the harmonic frequencies of a channel in DIAdem VIEW.
The example loads a file with vibration data and the data of the associated frequency analysis. The script file Harmonic_Cursor_Init.VBS registers a user command, which calculates the harmonic frequencies independently of the current cursor position. The user command saves the calculated data in a new channel pair and displays this data in DIAdem VIEW. The display for the harmonic frequencies changes when you move the crosshair cursor in the Curve Cursor mode.
Start example
Click a Filename to Load this File into DIAdem
Harmonic_Cursor_Init.vbs | Script file |
Harmonic_Cursor_Event.vbs | Script file with user command |
Harmonic_Cursor.tdm | Data file |
Harmonic_Cursor.tdv | Layout file |
![]() | Note You only can load the layout file Harmonic_Cursor.tdv without errors if you have registered the user command. If you change the layout or the data, or if you change to another panel, DIAdem finishes the example automatically. |
![]() | Note When this example starts, DIAdem loads example files and overwrites existing data and layouts. |
![]() | Note To reset the event OnCursorChanged click here. DIAdem sets the View.Events.OnCursorChanged property to the default value. |
![]() | Note In this example DIAdem registers the user command file Harmonic_Cursor_Event.vbs. If you do not save the program settings when you exit DIAdem, the user commands contained in the program settings are not available at the restart of DIAdem until you restart the example. |
Procedures
Configuring a Map Display | Configuring a Text Box Display | Defining User Commands and Global Variables | Deleting Curve Sections and Interpolating over Specified Points | Displaying 2D Axis Systems with Several Y-Axes | Displaying Images in DIAdem VIEW | Displaying Properties in the Legend of a Curve | Displaying the Curve Coordinates | Displaying Videos and Data Synchronously | Finding Values in Channel Tables | Interpolating Curve Points | Setting the Leading Curve | Transferring VIEW Layouts to DIAdem REPORT | Using User Commands | Viewing Data as Curves | Zooming and Scrolling Curve Areas