Awr script page macro | ||||||||
---|---|---|---|---|---|---|---|---|
|
Where To Find This Script
You can run this script by clicking on Scripts->Data-> Export_P2D from AWRDE menu.
Description
This script will create a P2D data file, which contains two-port large-signal S-parameters generated as a function of a swept input power and possibly one other variable, from a design in the AWR Design Environment. You must have a schematic with at least two ports for the script to run. When you run the script you will get the dialog below.
Fill in the proper settings to choose the schematic, set power levels, etc. When the settings are correct, click the Generate P2D button. The settings on the dialog are largely self-explanatory, with the possible exception of the following:
Clean up on exit: The script will generate several new schematics and graphs to collect up the data needed. With this option selected, those schematics and graphs will be deleted when the script is exited.
Scripting Information
Scripts included in the install are configured to run directly from the NI AWR Design Environment from the Scripts menu.
Scripts that you download must be imported into a project or placed in your global scripts folder to use them. See Working with VB Scripts for information on how to use these scripts.
You can also customize the AWRDE to run scripts from hotkeys, menus, or toolbar buttons. See Working with VB Scripts for more information.
For complete information about the AWRDE API, see the AWRDE API Programming Guide Help in the AWRDE installation. You can also view our Scripting Website for more scripting examples.