Equations and Scripting in Microwave Office Software

Mar 20, 2019 to Mar 21, 2019
Event location: 
Santa Clara, 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
  • The variable browser

Scripting topics covered:

  • The scripting environment in Microwave Office software
  • Object-oriented programming basics
  • The Microwave Office schema
  • Writing basic scripts
  • Interacting with other software

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. Built-in Functions
10:30 a.m. Break
10:45 a.m. Output Equations
12:00 p.m. Lunch
12:30 p.m. The Scripting Environment: the Editor, Running a Script
2:00 p.m. The Basics of Object-Oriented Programming and a Schema
3:00 p.m. Break
3:15 p.m. Writing Our First Script

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

9:00 a.m. Scripting Basics – Control, Conditionals
10:30 a.m. Break
10:45 a.m. Dialog Function
12:00 p.m. Lunch
12:30 p.m Interaction with Microwave Office Software: Graphs, Measurements, Schematics, Layout
1:30 p.m. Scripting to Excel
3:00 p.m. Break
3:15 p.m. Advanced Topics: Python
4:15 p.m. Conclusion