GetSelectedPorts(string, out string)
- Updated2025-10-13
- 1 minute(s) read
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.PulseMX
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)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | out 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.