Method: Item for FieldsOfView
- Mise à jour2024-09-12
- Temps de lecture : 2 minute(s)
DIAdem VIEW > Methods > Method: Item for FieldsOfView
Method: Item for FieldsOfView
Returns the FieldOfView object associated with a specific name or index in DIAdem VIEW.
Set oFieldOfView = Object.Item(NameOrIndex)
| Object | FieldsOfView Object with this method |
| NameOrIndex | Variant Specifies the name or the index of the sensor field of view you want to use. |
| oFieldOfView | FieldOfView Returned object |
| Note You can always omit the Item method because it is the standard element of the collection. |
The following example outputs the name of the channel with the lateral distance of a sensor field of view. The second line of the example is the simplified form of the first line. DisplayObj must be a BirdsEyeViewObject type:
| VBScript | Python |
Call MsgBoxDisp("Lateral Distance: " & View.ActiveSheet.ActiveArea.DisplayObj.FieldsOfView.Item(1).LateralDistance) Call MsgBoxDisp("Lateral Distance: " & View.ActiveSheet.ActiveArea.DisplayObj.FieldsOfView(1).XChannelName)
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