RFmxVnaMX.GetSegmentPowerLevel Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Gets 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 GetSegmentPowerLevel( string selectorString, out double value )
Public Function GetSegmentPowerLevel ( selectorString As String, <OutAttribute> ByRef 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
- Upon return, contains 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 gets the value of SegmentPowerLevel attribute.The default value is -10.