Creating a Macro
To make a useful macro:
-
Learn and practice the measurement procedure on the 89600 VSA software.
-
Record a macro while performing the measurement.
Click
, select a programming language, and click .Click
when you are finished changing VSA parameters.You can also view the corresponding lines of code as you change VSA parameters when you enable code output in the window.
-
Review the generated code.
Open the macro in an editor by clicking the dropdown part of the editor.
button and selecting an -
Complete the macro by adding commands that:
-
Collect and compute the measurement results
-
Display and save the results
-
Prompt the operator for input
-
Loop and branch the macro
-
The next topic, Creating a Macro: Example, shows you how to use portions of the above process to create a macro that measures ACPR Adjacent Channel Power Ratio - A measurement of the amount of interference, or power, in the adjacent frequency channel. ACPR is usually defined as the ratio of the average power in the adjacent frequency channel (or offset) to the average power in the transmitted frequency channel. ACPR is a critical measurement for CDMA transmitters and their components. It describes the amount of distortion generated due to nonlinearities in RF components. The ACPR measurement is not part of the cdmaOne standard. of an IQ modulated signal.
See Also