Equations and Scripting in Microwave Office Software

Apr 16, 2019 to Apr 17, 2019
Event location: 
El Segundo, CA

This two-day class focuses on equations and scripting. Equations and variables are used at some point by most designers using Microwave Office software. Variables are used in everything from sweeping parameters, to storing data, to changing layout dimensions. Equations, on the other hand, are used in conjunction with variables to manipulate data and control the software.  For example, custom measurements (output equations) can be written that extend the measurement capabilities of the software. Scripting is a more sophisticated way to customize the software, enabling the designer to write a script that automatically performs various useful functions, such as manipulating data, changing layouts, and creating graphs. The scripting environment built into Microwave Office software, which uses VBScript, will be highlighted and Python scripting will be briefly mentioned.

Prerequisites: Some familiarity with Microwave Office software is useful but not essential. No prior knowledge of scripting or programming is required.

Equations and variables topics covered:

  • The various types of variables available, including scalar, complex, arrays
  • Elementary manipulations of data
  • Built-in functions
  • Output equations
  • Doc Sets

Scripting topics covered:

  • The scripting environment in Microwave Office software
  • Object-oriented programming basics
  • The Microwave Office schema
  • Writing basic scripts: control statements, input/output, dialog functions
  • Interacting with other software
  • Python in Microwave Office environment

Course Equipment/Hardware:

  • Bringing your own laptop is preferred, if necessary, a laptop can be provided
  • Special note: 64-bit PCs are required to run the software
  • Software, licenses, and required training materials will be provided


Agenda Day 1 - Variables, Equations, and the Scripting Environment

9:00 a.m. Introduction
9:15 a.m. Variables: Types, Manipulation, and Control
10:00 a.m. Output Equations
10:30 a.m. Break
10:45 a.m. Output Equations and Doc Sets
12:00 p.m. Lunch
12:30 p.m. The Scripting Environment: the Editor, Running a Script
2:00 p.m. First Scripts: Declaring variables, Objects, Collections, Methods
3:00 p.m. Break
3:15 p.m. Object Classification: Schema, Debugging, Control Loops


Agenda Day 2 - Scripting Features and Examples, Interaction with Other Programs

9:00 a.m. Scripts for Graph Functions, Schematics, and Layout
10:30 a.m. Break
10:45 a.m. Dialog Function
12:00 p.m. Lunch
12:30 p.m Interaction with Other Programs: Excel Example
1:30 p.m. Using the Script Template
3:00 p.m. Break
3:15 p.m. Advanced Topics: Python
4:15 p.m. Conclusion