This space contains information for developers of Visual Basic scripts in AWRDE. This is a landing page for users developing scripts and wizards for the AWR Design Environment. There are many resources on this page including the_API Coding FAQ.
To search for specific content about developing scripts, you can use the search below.
You can also view the Scripting Users Guide which will walk your step by step through creating your first script and then onto accessing all the information in a project. This is available from the help within the AWRDE, select he following table and find the section called "API Scripting Guide". This is also available for download as a pdf file from the AWR download website.
For example you'll learn how to:
add elements to a schematic
collect and change element parameters
create graphs, measurements and access measurement data
work with em structures
collect and create layout shapes
and much, much more…
See the Scripting Development Environment page for documentation on the Scripting Development Environment that is included with the AWRDE.
The AWR Design Environment Sax Basic documentation, AWR_Sax_Basic.pdf. This is to document the Sax Basic commands and anyone getting started will need this reference.
The Utilities page has tons of scripts that have already been written. You might just find what you need here.
The AWR Design Environment Sax Basic documentation has information about language not pertaining to specific functionality in AWR, as well as information about the scripting IDE: AWR_Sax_Basic.pdf.
If you're trying to control MWO from other programming languages
There are some tips if you're having some issues with scripting
If intellisense is not working (this is the name completion while editing scripts) then you need to re-register sb6ent.ocx. In a command prompt change directories to your install directory and type "regsvr32 sb6ent.ocx".
Please see this article for more details including additional steps for Windows 7.
Sometimes when you open any scripting window to edit the code, it appears that there is no code there. The lower window where the code is stored looks gray and you don't see any text.
This is caused by the font set for the scripting environment to be set to something large, in the case we saw, it was set to 900. Setting this font back to something reasonable fixed the problem.
Open the Scripting Editor
Select "Edit > Font" from the menus
From the dialog that comes up, set the font size to 12.