Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: May 16, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Exporting NI Multisim SPICE Simulation Data to NI LabVIEW

1 ratings | 5.00 out of 5
Print | PDF

Overview

In the modern design cycle, engineers often use simulations to predict circuit behavior. These simulations form a benchmark to which prototype and production printed circuit boards (PCBs) are measured.



[+] Enlarge Image

Multisim 10.1 provides a simple and effective method for taking these simulation results into the verification and validation phases of a design. Simulation data can now be saved natively into the standard LabVIEW measurement file format (.LVM) for easy integration with test and measurement tools. This article will focus on saving results to LabVIEW measurement files; however Multisim also provides the ability to save data in the .TDM and .txt formats.

You can save simulations to LabVIEW measurement files from the Multisim oscilloscope virtual instruments and from the Grapher.

 

Saving Simulation Data from Oscilloscope Instruments


To save LabVIEW data from an oscilloscope virtual instrument in Multisim:

1. Place and connect the instrument to your circuit.

Circuit for Simulation



2. Begin simulation and ensure the oscilloscope settings produce a desirable view of your data.

3. Click the Save button.

Simulation Results to be Saved



4. Choose a name for your data and select LabVIEW Measurement File as the data type.


[+] Enlarge Image


Your data will now be saved in a LabVIEW Measurement File. To view these results in LabVIEW, see the related resources below.

Multisim can also read from LabVIEW Measurement Files, to learn more about this, see the article Importing Data from LabVIEW Measurement (.LVM) Files into Multisim.

See Also:
Importing Data from LabVIEW Measurement (.LVM) Files into Multisim


Saving SPICE Simulation Data from the Grapher


If the instrument you use does not provide a Save option or if you are using an analysis, you can save your data to a LabVIEW measurement file using the Grapher.

Note: LabVIEW measurement files require linearly spaced data points, so it is not possible to save logarithmic data to a LabVIEW measurement file. You can, however, save logarithmic data to .TDM files.

To save results using the Grapher:

1. Open the Grapher by clicking on the Grapher toolbar icon .The Grapher icon is part of the main toolbar.

2. The Grapher appears and displays the data from each analysis and simulation in a separate tab. With the tab containing your desired data selected, click File » Save As…


[+] Enlarge Image



3. Choose a name for your data and choose LabVIEW Measurement File as the data type.


[+] Enlarge Image

Your data will now be saved in a LabVIEW measurement file.

 

Related Links:
Importing Data from LabVIEW Measurement (.LVM) Files into Multisim
Reading Data Using the Read From Measurement File Express VI
Specification for the LabVIEW Measurement File (.lvm) Version 1.0

 


 

1 ratings | 5.00 out of 5
Print | PDF

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).