Method: Add for BodeCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Add for BodeCurves
Method: Add for BodeCurves
Adds an object to the BodeCurves collection and returns a BodeCurve object, in the script interface of DIAdem VIEW.
Set oBodeCurve = Object.Add(XNameOrNo, PhaseNameOrNo, AmplitudeNameOrNo)
| Object | BodeCurves Object with this method |
| XNameOrNo | Variant Specifies the name or the number of the x-channel to be displayed. |
| PhaseNameOrNo | Variant Specifies the name or the number of the phase channel to be displayed. |
| AmplitudeNameOrNo | Variant Specifies the name or the number of the amplitude channel to be displayed. |
| oBodeCurve | BodeCurve Returned object |
The following example creates a new worksheet with a Bode axis system and a Bode curve:
| VBScript | Python |
Call View.Sheets.RemoveAll Dim oMySheet: Set oMySheet = View.Sheets.Add("NewSheet") oMySheet.ActiveArea.DisplayObjType = "Bode" Call oMySheet.ActiveArea.DisplayObj.CurvesBode.Add("[1]/[1]","[1]/[2]","[1]/[3]")
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