SetSegmentPowerLevelEnabled(string, RFmxVnaMXSegmentPowerLevelEnabled)
- 已更新2026-01-29
- 閱讀時間為 1 分鐘
Sets whether to enable individual source power level value configured for each segment by Segment Power Level (dBm) method. If this is set to False, a common value will be used across all segments specified by Power Level(dBm) method.
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int SetSegmentPowerLevelEnabled(string selectorString, RFmxVnaMXSegmentPowerLevelEnabled value)
Remarks
This method sets the value of SegmentPowerLevelEnabled attribute.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | RFmxVnaMXSegmentPowerLevelEnabled | Specifies whether to enable individual source power level value configured for each segment by Segment Power Level (dBm) method. If this is set to False, a common value will be used across all segments specified by Power Level(dBm) method. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.