GetAvailablePorts(string, ref string[])
- Updated2025-10-13
- 1 minute(s) read
Gets ports available for the session. On a MIMO session, this method fetches all the ports for the initialized MIMO ports.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int GetAvailablePorts(string selectorString, ref string[] availablePorts)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Identifies the channel to which the settings must be applied. Specify an empty string as the value of this parameter. |
| availablePorts | ref string[] | Returns an array of available ports. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.