RFmxVnaMX.SetPowerLevel Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the source power level for the VNA port. This value is expressed in dBm.
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int SetPowerLevel( string selectorString, double value )
Public Function SetPowerLevel ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString String
- Specifies the segment number, signal number and port number.
Example:
"segment0" or
"signal0" or
"port0" or
"signal0/segment0/port0".
You can use the BuildPortString(String, String) method to build the selector string. - value Double
- Specifies the source power level for the VNA port. This value is expressed in dBm.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of PowerLevel attribute.The default value is -10.