SetParameter(string, string)
- Updated2025-10-13
- 1 minute(s) read
Sets the measured S-Parameter denoted by "S_(receiver port number)_(source port number)". For example, to measure S-Parameter for receiver port 2 and source port 1, set this method to "S21".
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int SetParameter(string selectorString, string value)
Remarks
This method sets the value of SParamsParameter attribute.The default value is "S11".
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | string | Specifies the measured S-Parameter denoted by "S_(receiver port number)_(source port number)". For example, to measure S-Parameter for receiver port 2 and source port 1, set this method to "S21". |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.