Stores the S-parameter table from the S2P file in the calibration plane specified by the selectorString parameter. S-parameter tables are used for fixture de-embedding. On a MIMO session the S-parameter table is stored for each MIMO port in the specified calibration plane.supporteddevices: PXIe-5830/5831/5832/5840/5841/5842/5860
If there is only one table configured in any calibration plane, it is automatically selected as the active table.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int LoadSParameterExternalAttenuationTableFromS2pFile(string selectorString, string tableName, string s2pFilePath, RFmxInstrMXSParameterOrientation sParameterOrientation)

Parameters

NameTypeDescription
selectorStringstring

Specifies the calibration plane name in which the external attenuation table is stored. This input accepts the calibration plane name with the "calplane::" prefix. If you do not specify the calibration plane name, the default calibration plane instance is used.
Note

For PXIe-5830/5831/5832 devices, port names should also be specified along with Calplane names. Hence, the valid selector is "calplane::<calplanename>/port::<portname>". If you specify "port::all", all ports are considered configured. For a MIMO port, the valid selector string is "calplane::<calplanename>/port::<devicename>/<channelnumber>/<portname>". If you specify "port::all", all MIMO ports are considered configured. Use RFmxInstr Get Available Ports method to get the valid port names. Use RFmxInstrMX.GetAvailablePorts method to get the valid port names.</portname></channelnumber></devicename></calplanename></portname></calplanename>

Example:"""calplane::plane0""calplane::plane0/port::if0""port::if0""calplane::plane0/port::all"

tableNamestring

Specifies the name to be associated with S-parameter table within a calibration plane. Provide a unique name, such as "table1" to configure the table.

s2pFilePathstring

Specifies the path to the S2P file that contains S-parameter table information for the specified port.

sParameterOrientationRFmxInstrMXSParameterOrientation

Specifies the orientation of the data in the S-parameter table relative to the port you specify.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.