RFmxInstrMX.BuildPortString2 Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Creates the port string to use as the selector string with External Attenuation Table methods. On a MIMO session, this method can be used to build port string to use as a selector string for configuring or reading port-specific methods and external attenuation table methods.
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public static string BuildPortString2( string selectorString, string portName, string deviceName, int channelNumber )
Public Shared Function BuildPortString2 ( selectorString As String, portName As String, deviceName As String, channelNumber As Integer ) As String
Parameters
- selectorString String
- Specifies the calibration plane string when used for building port string for the external attenuation table methods. If you do not specify the calibration plane string, the default calibration plane instance is used.
Example:
""
"calplane::plane0"
- portName String
- Specifies the port for building the selector string.
- deviceName String
- specifies the name of the initialized device for building the selector string.
- channelNumber Int32
- specifies the channel for building the selector string. Specify 0 as the value for this parameter.
Return Value
StringUpon return, contains the selector string created by this method.