Method: Item for Harmonics
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Item for Harmonics
Method: Item for Harmonics
Returns the cursor line of an harmonic cursor specified by the index, in a 2D axis system in DIAdem VIEW.
Set oHarmonicItem = Object.Item(Index)
| Object | Harmonics Object with this method |
| Index | LongInteger Specifies the index of a specific cursor line. |
| oHarmonicItem | HarmonicItem Returned object |
The following example displays, in a message, the intersection point of the first additional cursor line of the harmonic cursor with the curve, in a 2D axis system. The DisplayObj must be a CurveChart2D type.
| VBScript | Python |
Call MsgBoxDisp("X coordinate of subcursor1: " & View.ActiveSheet.ActiveArea.DisplayObj.SubCursor.Harmonics.Item(1).X & vbCrLf &_ "Y coordinate of subcursor2: " & View.ActiveSheet.ActiveArea.DisplayObj.SubCursor.Harmonics.Item(1).Y)
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data