Method: Play for Cursor
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Play for Cursor
Method: Play for Cursor
Moves the cursor automatically along the enabled curve in the enabled area, or plays the video in the enabled area.
When the cursor reaches the end of the curve or of the video, it stops. Press <Esc> or click Pause on the DIAdem VIEW toolbar to stop the curve cursor or the video.
Object.Play(Sequential)
| Object | Cursor Object with this method |
| Sequential | Boolean Specifies whether the video must stop before DIAdem can execute a further command or whether DIAdem can run the video in the background. If the video runs in the background, you can use a user dialog box to control the video. |
The following example plays a video:
| VBScript | Python |
Dim oMySheeet: Set oMySheet = View.ActiveSheet oMySheet.ActiveArea.DisplayObjType = "Video" oMySheet.ActiveArea.DisplayObj.FileName = ProgramDrv & "\Examples\Documents\Austin_Drive.wmv" oMySheet.Cursor.XRangeMode = "automatic" Call oMySheet.Cursor.GotoStart Call WndOpen("VIEW") Call oMySheet.Cursor.Play(FALSE)
See Also
Procedures
Configuring a Map Display | Configuring a Text Box Display | Deleting Curve Sections and Interpolating over Specified Points | Displaying 2D Axis Systems with Several Y-Axes | Displaying Images in DIAdem VIEW | Displaying Properties in the Legend of a Curve | Displaying the Curve Coordinates | Displaying Videos and Data Synchronously | Finding Values in Channel Tables | Interpolating Curve Points | Setting the Leading Curve | Transferring VIEW Layouts to DIAdem REPORT | Viewing Data as Curves | Zooming and Scrolling Curve Areas
Examples
Analyzing and Displaying Channels Section by Section | Automatic Display of Harmonic Frequencies | Background Segments in DIAdem VIEW | Calculating a Tangent to a Curve | Creating and Viewing Long Data Channels | Displaying Videos and Data Synchronously | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data