R&D Staff Pick
One of my favorite features in NI Multisim 10 is the ability to natively read and write data to the LabVIEW measurement (LVM) file format. This allows you to integrate simulation data of board-level designs, with the acquired output of real hardware, via NI LabVIEW applications.
This interaction between Multisim and LabVIEW therefore opens many possibilities for advanced signal analysis, most notably to compare how a prototyped design compares to the theoretical simulated output. To make this task easier for the user, Multisim re-samples the simulation data by interpolating it from uneven simulated data, to evenly sampled measurements that can be written to the LVM format.
Quality Assurance Team Lead
National Instrument Electronics Workbench Group
Try For Yourself
In this example we will learn how to easily export data to LabVIEW from NI Multisim using a shipping example.
- Select File >> Open Samples.
- In the samples folder, select Speechfilter.ms10
- Click on the Open button
- In the simulate toolbar, click on the green play button to begin simulation
- Double-click on the oscilloscope measurement instrument identified by XSC2 (you will notice the waveform looks as it does in Figure 1)
Figure 1 - Waveform in the Multisim oscilloscope
- In the simulate toolbar, click on the pause button to halt simulation
- In the oscilloscope interface click on the Save button to save the simulation data to the LVM format.
- In the Save Scope Data dialog box select the file type Text-Based Measurement File (*.lvm)
- Click on the Save button
The Data resampling settings dialog box (as seen in Figure 2) allows you to interpolate the data in-between unevenly sampled time-value pairs generated by the SPICE simulator so that it can be properly mapped in an LVM file for further analysis.
In NI Multisim 10 you are able to select one of three interpolation methods (Linear, Coerce or Spline) as well as set the delta in-between samples in time or frequency domains.
Figure 2 - Data resampling settings dialog box
- In this example we will use the default settings and click on the OK button.
The data is now ready to be exported to NI LabVIEW!