Loads the data from the input file to the measurement memory specified by the Selector String.
This method will overwrite the contents of the measurement memory if it already exists.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int LoadDataToMeasurementMemoryFromFile(string selectorString, string filePath, string parameter, string measurementMemoryName)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the measurement number. You must specify the measurement number.
Example:
"sparam0"
You can use the BuildSParameterString(string, int) method to build the selector string.

filePathstring

Specifies the path to the file that contains the measurement data.
Example:
For S-Parameter measurement use a *.SnP file.

parameterstring

Specifies the measurement parameter to load from the file.
Example:
Specify S11 for an *.S1P file.
Specify 'S11 or S12 or S21 or S22 for an *.S2P file.

measurementMemoryNamestring

Measurement Memory Name specifies the name to associate with the data you load to the measurement memory. Provide a unique name.

Returns

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