RFMXNR_ATTR_SELECTED_PORTS
- Updated2025-10-13
- 1 minute(s) read
Specifies the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.
Syntax
RFMXNR_ATTR_SELECTED_PORTS
Numeric Value | Data Type | Access | Applies To |
|---|---|---|---|
9441277 | char[] | Read/Write | Chain |
Remarks
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
On a MIMO session, this attribute 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 attribute for the configured number of receive 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
You can use the RFmxInstr Build Port String function to build the selected port.
Use "chain<n>" as the selector string to configure or read this attribute. You can use the RFmxNR_BuildChainString function to build the selector string.
Valid values
Name (value) | Description |
|---|---|
PXIe-5830 | if0, if1 |
PXIe-5831/5832 | if0, 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 panel |
Other devices | "" (empty string) |
Default values
Name (value) | Description |
|---|---|
PXIe-5830/5831/5832 | if1 |
Other devices | "" (empty string) |