Automate your Multisim design in LabVIEW
The Multisim Automation API and the LabVIEW Multisim API Toolkit (which uses the API) recognize and can be used to control the values of all circuit parameters in the design. This lets you control most component parameters from the API.
This example uses Multisim version 14.2 and LabVIEW 2021
First open Multisim file RLC values from the blue sample folder → LabView Multisim API Toolkit.
After the file is loaded into Multisim workspace, open LabVIEW, click the "File" tab and open the RLC Values vi as shown.
The simulation should run from here if all the necessary NI Modules, toolkits, and drivers are installed correctly. However, we will explore further by clicking the "Windows" tab and opening the associated block diagram. *The original design was modified by removing the blocks section "Multisim preparation" and replaced with a single "Select File Path" block form the Multisim Add-on tab.
💬This may differ depending on software version.
If any errors should occur, in this diagram by block location is where they will be listed. From the LabVIEW front panel or from the block diagram, press the white arrow icon to run the simulation on the Multisim RLC Values circuit.
This demonstrates how to sweep a resistor value to calculate a phase shift plot. (set to R2 by default)
In Multisim alternative analyses and simulations can be performed such as "Parameter Sweep", "Transfer Function", and "Pole Zero" to name a few.
🤔 Enjoyed this blog? Learned something useful? Consider following us for more content.
If you have errors visit this link: NI LABS TOOLKITS or comment if you find solutions to help others.