This section describes how to process the E5052B’s internal data. You can use amongst the following internal data arrays: unformatted data arrays, unformatted memory arrays, formatted data arrays, formatted memory arrays, and X-axis data arrays. For more information on the internal data arrays, see Internal Data Processing.
To read/write a formatted data array, formatted memory array, unformatted data array, or unformatted memory array, use the following objects:
• SCPI.CALCulate.xx.TRACe.DATA.FDATa
• SCPI.CALCulate.xx.TRACe.DATA.FMEMory
• SCPI.CALCulate.xx.TRACe.DATA.UDATa
• SCPI.CALCulate.xx.TRACe.DATA.UMEMory
There are unformatted data array and memory array where the AM noise measurement, the baseband noise measurement, phase noise measurement and segment phase noise measurement are contained with the unit of dBc.
• SCPI.CALCulate.AM(1-1).TRACe(1-1).DATA.PDATa
• SCPI.CALCulate.AM(1-1).TRACe(1-1).DATA.PMEMory
• SCPI.CALCulate.BB(1-1).TRACe(1-1).DATA.PDATa
• SCPI.CALCulate.BB(1-1).TRACe(1-1).DATA.PMEMory
• SCPI.CALCulate.PN(1-1).TRACe(1-1).DATA.PDATa
• SCPI.CALCulate.PN(1-1).TRACe(1-1).DATA.PMEMory
• SCPI.CALCulate.PS(1-1).TRACe(1-1).DATA.PDATa
• SCPI.CALCulate.PS(1-1).TRACe(1-1).DATA.PMEMory
To read an X-axis data array, use the following object:
• SCPI.CALCulate.xx.DATA.XDATa
For the transient measurement, you can use two types of object as follows:
• SCPI.CALCulate.TR(1-1).NARRow(1-2).DATA.XDATa
• SCPI.CALCulate.TR(1-1).WIDE.DATA.XDATa
To read a raw data array, use the following object:
• SCPI.CALClate.xx.DATA.RDATa
For the transient measurement, you can use two types of object as follows:
• SCPI.CALCulate.TR(1-1).NARRow(1-2).DATA.RDATa
• SCPI.CALCulate.TR(1-1).WIDE.DATA.RDATa
There is a raw array where the AM noise measurement, the baseband noise measurement, phase noise measurement and segment phase noise measurement are contained with the unit of dBc.
• SCPI.CALCulate.AM(1-1).DATA.PDATa
• SCPI.CALCulate.BB(1-1).DATA.PDATa
• SCPI.CALCulate.PN(1-1).DATA.PDATa
• SCPI.CALCulate.PS(1-1).DATA.PDATa
The E5052B VBA allows you to deal with multiple pieces of data through variables of the Double-precision Dynamic Array type. For example, a formatted data array that includes five measurement points is stored as shown in the figure below. For more information on contained data, see the section on “Reading/Writing Measurement Data”.
Example of storing data into a Variant variable
When you use one of the objects listed above, the base index number of the array is always 0 even if the declaration section contains the "Option Base 1" statement, which specifies the use of the base array index of 1.