RFmxVnaMX.SetSegmentPowerLevel Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the source power level for the selected segment and VNA port when Segment Power Level Enabled method is set to True. 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 SetSegmentPowerLevel( string selectorString, double value )
Public Function SetSegmentPowerLevel ( 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 selected segment and VNA port when Segment Power Level Enabled method is set to True. 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 SegmentPowerLevel attribute.The default value is -10.