Sets the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names. On a MIMO session, this method specifies one of the initialized devices. Use "port::deviceName/channelNumber" as the format for the selected port. To perform a MIMO measurement, you must configure the selected ports method for the configured number of segments and chains.
For PXIe-5830/5831/5832 devices on a MIMO session, the selected port includes the instrument port in the format "port::deviceName/channelNumber/instrPort".
Example:port::myrfsa1/0/if1

Syntax

Namespace: NationalInstruments.RFmx.WlanMX

public int SetSelectedPorts(string selectorString, string value)

Remarks

This method sets 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)

Parameters

NameTypeDescription
selectorStringstring

Specifies the chain number and segment number.
Example:
"segment0" or
"segment0/chain0".
You can use the BuildChainString(string, int) method to build the selector string.

valuestring

Specifies the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.