Controls writing and reading VNA measurement data.
CALCulate:MEASure:DATA | PORTs? | SAVE |
Click a keyword to view the command details.
See Also
(Read) CALCulate<cnum>:MEASure<mnum>:DATA:<char>?
Applicable Models: All Reads or writes Measurement data, Memory data, or Normalization Divisor data from the Data Access Map location.
Equation Editor Notes:
Note: The Calc:Data SCORR command to read/write error terms is Superseded with SENS:CORR:CSET:DATA. SCORR commands do NOT accommodate greater than 12 error terms. |
||
Parameters |
||
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
|
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
|
<char> |
Formatted measurement data to or from Data Access Map location. Display (access point 2). Note: When querying FDATA, data is received in degrees. When setting phase using FDATA, the command expects the data in radians.
|
|
|
Complex measurement data. Writes data to Data Access Map location. Raw Measurement (access point 0).
Reads data from Apply Error Terms (access point 1).
|
|
|
Formatted memory data to or from Data Access Map location. Memory result (access point 4).
|
|
|
Complex memory data to or from Data Access Map location. Memory (access point 3).
|
|
Examples |
CALC:MEAS:DATA:FDATA Data(x) See another example using this command. |
|
Return Type |
|
|
Not Applicable |
|
Applicable Models: All (Read-only) Reads SnP data from the selected measurement. Learn more about SnP data. This command is valid ONLY with standard S-parameter measurements.
|
||
Parameters |
||
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
|
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
|
<n> |
Amount of data to return. If unspecified, <n> is set to 2. The number you specify must be less than or equal to the number of available ports on the VNA. Choose from: 1 (S1P) returns 1-Port data for the active measurement if the active measurement is a reflection parameter such as S11 or S22. The behavior is UNDEFINED if the active measurement is a transmission parameter such as an S21. 2 (S2P) returns data for the four 2 port parameters associated with the current measurement. Default. Data that is not available is zero-filled. 3 (S3P) returns data for the nine 3 port parameters associated with the current measurement. Data that is not available is zero-filled. 4 (S4P) returns data for the sixteen 4 port parameters associated with the current measurement. Data that is not available is zero-filled. SnP data can be output using several data formatting options. See MMEM:STORe:TRACe:FORMat:SNP. See also MMEM:STOR <file>.<snp> |
|
Examples |
CALC:MEAS1:DATA:SNP? 1 |
|
Return Type |
Depends on FORMat:DATA. |
|
Not Applicable |
Applicable Models: All (Read-only) Reads SNP data from the selected measurement for the specified ports. Learn more about SNP data. This command is valid ONLY with standard S-parameter measurements.
|
||
Parameters |
||
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
|
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
|
<"x,y,z"> |
Comma or space delimited port numbers for which data is requested, enclosed in quotes. SNP data can be output using several data formatting options. See MMEM:STORe:TRACe:FORMat:SNP. |
|
Examples |
CALC:MEAS2:DATA:SNP:PORTs? "1,2,4,5,7" 'read data for these ports |
|
Return Type |
Depends on FORMat:DATA |
|
Not Applicable |
Applicable Models: All (Write-only) Saves SNP data from the selected measurement for the specified ports. Learn more about SNP data.
|
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<"x,y,z"> |
String Comma or space delimited port numbers for which data is requested, enclosed in quotes. |
<filename> |
String Path, filename, and suffix of location to store the SNP data, enclosed in quotes. The suffix is not checked for accuracy. If saving 2 ports, specify "filename.s2p"; If saving 4 ports, specify "filename.s4p.", and so forth. SNP data can be output using several data formatting options. See MMEM:STORe:TRACe:FORMat:SNP. |
Examples |
CALC:MEAS2:DATA:SNP:PORTs:Save '1,2,4','D:\MyData.s3p';*OPC? |
Return Type |
Depends on FORMat:DATA |
Not Applicable |