Keysight Pathwave 89600 VSA .NET API
SetParameter Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > InputExtension Class : SetParameter Method


hwType
Which type of hardware within the HardwareGroup this parameter should apply to.
name
The key name of the parameter.
value
The value to set the named parameter to.

Glossary Item Box

Sets the named parameter on the specified instrument type to the value specified.

Syntax

Visual Basic (Declaration) 
Public Sub SetParameter( _
   ByVal hwType As InstrumentType, _
   ByVal name As String, _
   ByVal value As Object _
) 
C# 
public void SetParameter( 
   InstrumentType hwType,
   string name,
   object value
)
C++/CLI 
public:
void SetParameter( 
   InstrumentType hwType,
   String^ name,
   Object^ value
) 

Parameters

hwType
Which type of hardware within the HardwareGroup this parameter should apply to.
name
The key name of the parameter.
value
The value to set the named parameter to.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException

The hardware type is not InstrumentType.Adc (only Adc is currently supported).

name is misspelled or not supported.

Remarks

Note: It is recommended to use the strongly typed methods and properties on sub-classes of this class instead of this method. See the specific Input Extension class for the hardware that is being used.

Requirements

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

See Also