Sets 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 SetSelectedPorts(string selectorString, string value)

Remarks

This method sets the value of SelectedPorts attribute.Default valuesPXIe-5830/5831/5832if1Other devices"" (empty string)

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

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.