Property: Count for Harmonics
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: Count for Harmonics
Property: Count for Harmonics
Returns the number of cursor lines of the harmonic cursor in a 2D axis system in DIAdem VIEW.
Object.Count
| Object | Harmonics Object with this property |
| Object.Count | LongInteger with read and write access |
The following example activates the harmonic cursor in a 2D axis system and outputs a message which displays the number of cursor lines:
| VBScript | Python |
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea If oMyObj.DisplayObjType = "CurveChart2D" Then oMyObj.DisplayObj.SubCursorType = eVIEWSubCursorTypeHarmonic Call MsgBoxDisp("Additional Cursor Lines: " & oMyObj.DisplayObj.SubCursor.Harmonics.Count) Else Call MsgBoxDisp("Area type: " & oMyObj.DisplayObjType) End If
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