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

Syntax

Namespace: NationalInstruments.RFmx.WlanMX

public int GetSelectedPorts(string selectorString, out string value)

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)

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.

valueout string

Upon return, contains 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.