Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Automation API

Multisim Help

Edition Date: February 2017

Part Number: 375482B-01

»View Product Info
Download Help (Windows Only)

Multisim provides an Application Programming Interface (API) that allows the automation of circuit simulation and analyses using Multisim. This is a COM interface that you can use to programmatically control Multisim without directly interacting with it.

The COM interface supports a limited set of circuit editing features. For example, from the client application, you can open a Multisim circuit, simulate the circuit, and then retrieve simulation results for further processing in the client. In addition, the client program can select output variables and substitute client-supplied data for power supplies. Other applications include:

  • Component Evaluator—This lets you test multiple components under the same circuit topology. You can replace the device under test with others from the database and compare the results. You can also vary the values of the resistors, capacitors, and inductors in the circuit to determine their impact.
  • Stress Analysis—This is akin to an automated worst-case analysis, where circuit elements are successively replaced by elements that are within the original elements' tolerances to see whether power consumption or other such variables exceed allowed values.
  • Fault Diagnosis—This simulates a number of faults in a circuit (for example, short circuits, burned-out components, missed connections) that can be compared against a faulty prototype PCB to try to diagnose where the error in the prototype actually lies. This may require the addition of extra circuit elements to simulate the faults.

The COM interface in Multisim can be used by clients written in any COM-aware programming language, such as LabVIEW, Visual Basic or C++. The Automation API exposes two objects: MultisimApp and MultisimCircuit. You can view the details in the object browser of your development environment.

  MCU designs do not build when running simulation using the API. If a design includes any MCU components, it will not simulate.


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit