Object: SubCursor
- Updated2024-09-12
- 2 minute(s) read
(Area | Areas | BirdsEyeView | Bode | Cascade | ChannelTable | Contour | CurveChart2D | Dialog | DisplayObj | Map | Orbit | Picture | Polar | ShaftCenterline | Sheet | TextBox | Video) > Area > CurveChart2D > Object: SubCursor
Object: SubCursor
The SubCursor object provides access to the additional Cursor lines of a cursor in a 2D axis system in DIAdem VIEW.
The SubCursor object corresponds to one of the following objects:
| HarmonicCursor (IToSubCursorHarmonicInt) | Harmonic cursor |
| SidebandCursor (IToSubCursorSidebandInt) | Sideband cursor |
The following example displays the number of and the distance of the cursor lines of the sideband cursor in the 2D axis system:
| VBScript | Python |
Dim oMySheet, oMyChart, oMyCurve, oMyObj Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.ActiveArea.DisplayObjType = "CurveChart2D" Set oMyChart = oMySheet.ActiveArea.DisplayObj Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]") Set oMyObj = oMySheet.ActiveArea oMyObj.DisplayObj.SubCursorType = eVIEWSubCursorTypeSideband Call MsgBoxDisp("Additional Cursor Lines: " & oMyObj.DisplayObj.SubCursor.Sidebands.Count _ & vbCrLf & "Cursor Line Interval: " & oMyObj.DisplayObj.SubCursor.Sidebands.Interval)
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