Collection: Harmonics
- Updated2024-09-12
- 2 minute(s) read
(Collections | HarmonicCursor) > Collection: Harmonics
Collection: Harmonics
The Harmonics object provides a collection of additional cursor lines of an Harmonic cursor in a 2D Axis System system in DIAdem VIEW. The harmonics collection provides the coordinates and the one-sided number of additional cursor lines.
The following example displays the number of cursor lines of the harmonic cursor in a 2D axis system:
| VBScript | Python |
Dim oMySheet, oMyChart, oMyCurve, oMyObj, oMySubCursor Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.ActiveArea.DisplayObjType = "CurveChart2D" Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]") Set oMyObj = oMySheet.ActiveArea oMyObj.DisplayObj.SubCursorType = eVIEWSubCursorTypeHarmonic Set oMySubCursor = oMySheet.ActiveArea.DisplayObj.SubCursor.Harmonics Call MsgBoxDisp("Additional Cursor Lines: " & oMySubCursor.Count)
Properties
Methods
Returned From
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