Keysight Pathwave 89600 VSA .NET API
StepValue Method
See Also  Example
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > IPropertyInfo Interface : StepValue Method


propertyName
Name of the property.

Glossary Item Box

Gets a reference to an IStepValue interface for the specified property on the current object.

Syntax

Visual Basic (Declaration) 
Function StepValue( _
   ByVal propertyName As String _
) As IStepValue
C# 
IStepValue StepValue( 
   string propertyName
)
C++/CLI 
IStepValue^ StepValue( 
   String^ propertyName
) 

Parameters

propertyName
Name of the property.

Return Value

A reference to an IStepValue interface.

Remarks

The IStepValue interface should be used immediately and not cached for later use since it only returns reliable information for the current state of the application.

Example

Get the maximum center frequency.
C#Copy Code
(app.Measurements.SelectedItem.Frequency as IPropertyInfo).StepValue("Center").MaxValue;

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also