RFmxWlanMX.GetSelectedPorts Method
- Updated2024-07-17
- 1 minute(s) read
RFmxWlanMXGetSelectedPorts Method
Gets the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.
Namespace: NationalInstruments.RFmx.WlanMX
Assembly: NationalInstruments.RFmx.WlanMX.Fx40 (in NationalInstruments.RFmx.WlanMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int GetSelectedPorts( string selectorString, out string value )
Public Function GetSelectedPorts ( selectorString As String, <OutAttribute> ByRef value As String ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies the chain number and segment number.
Example:
"segment0" or
"segment0/chain0".
You can use the BuildChainString(String, Int32) method to build the selector string. - value
- Type: SystemString
Upon return, contains the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.
Return Value
Type: 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
SelectedPorts
attribute.Default valuesPXIe-5830/5831/5832if1Other devices"" (empty string)Valid valuesPXIe-5830if0, if1PXIe-5831/5832if0, if1, rf(0-1)/port(x), where 0-1 indicates one (0) or two (1) mmRH-5582 connections and x is the port number on the mmRH-5582 front panelOther devices"" (empty string)