Where To Find This Script
You can run this script by clicking on Scripts->Graphs->Create_Sparameter_Graphs from AWRDE menu.
Description
This script will create graphs with Sparameter measurements for the existing EM Structures, schematics or data files. The script currently only works for documents with 1 or 2 ports. If the document has more than 2 ports, the script will do nothing.
To use the script, have the document open and the active window and then run the code listed above. Below is a picture of the new graphs added to this project after "Schematic_1" was opened and the active window.
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.