Skip to content Skip to navigation

Connexions

You are here: Home » Content » Creating LabVIEW Instruments to Instrument Circuit Simulations in National Instruments Multisim

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • National Instruments display tagshide tags

    This module is included in aLens by: National InstrumentsAs a part of collection: "Introduction to Multisim Schematic Capture and SPICE Simulation"

    Comments:

    "This course introduces National Instruments Multisim through instructional modules and hands-on exercises. Multisim is an interactive, graphical schematic capture tool and SPICE simulator that […]"

    Click the "National Instruments" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

  • arjun-satyapal-lens display tagshide tags

    This module is included inLens: Arjun Satyapal's Lens
    By: Arjun SatyapalAs a part of collection: "Introduction to Multisim Schematic Capture and SPICE Simulation"

    Comments:

    "my first collection"

    Click the "arjun-satyapal-lens" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Creating LabVIEW Instruments to Instrument Circuit Simulations in National Instruments Multisim

Module by: Janell Rodriguez, Erik Luther. E-mail the authors

Summary: This module provides a brief introduction to creating LabVIEW instruments to instrument circuit simulations in National Instruments Multisim. Multisim is fully featured SPICE schematic capture and simulation tool used for circuit design, simulation, and in combination with Ultiboard for layout of custom PCBs.

Creating LabVIEW Instruments in MultiSim

Multisim ships with four different virtual NI LabVIEW instruments: a microphone, speaker, signal generator, and signal analyzer. The symbols are shown in Figure 1 and the speaker front panel is shown in Figure 2.

Microphone - Records audio from the computer sound device and outputs the sound data as a signal source.

Speaker - Plays input signal using the computer sound device.

Signal Generator - Generates and outputs a sine, triangle, square, or sawtooth wave.

Signal Analyzer - Displays time-domain data, auto power spectrum, or running average of input signal.

Figure 1: NI LabVIEW Instrument Symbols
Figure 1 (Graphic1.png)
Figure 2: Sample NI LabVIEW Front Panel
Figure 2 (Graphic2.png)

Custom instruments can be created using the NI LabVIEW graphical development environment. Instruments that are created using NI LabVIEW can take advantage of the full functionality of the NI LabVIEW development system including data acquisition, instrument control, mathematical analysis, and so on.

For example, you can create an instrument that acquires data from the real world using a National Instruments data acquisition device or modular instrument. Multisim will then use that data as a signal source for circuit simulation.

You can also create an instrument that displays simulation data simultaneously with multiple measurements (running average and power spectrum, for example) made from that simulation data.

NI LabVIEW instruments can be either input instruments or output instruments. Input instruments receive simulation data for display or processing. Output instruments generate data to use as a signal source in simulation. A NI LabVIEW instrument cannot be both an input and output instrument.

Additionally, input and output instruments behave differently. Input instruments continuously receive simulation data from Multisim while simulation is active.

In contrast, at the beginning of circuit simulation, output instruments will first generate a finite amount of data and return that data to Multisim. Multisim will then use that data for circuit simulation. Output instruments do not continuously generate data while simulation is running. To cause an output instrument to generate new data, you must stop and restart simulation.

Output instruments allow the user or creator of the instrument to determine whether the instrument repeats the output data. The LabVIEW instrument must be configured to repeat its output data periodically, or else the simulator will assume the output is 0V once it has no data remaining from the instrument. Alternatively, if you configure the instrument and repeat the output data, the instrument will loop and repeat its output periodically until the simulation has stopped.

Input instruments allow the user or creator of the instrument to set a sampling rate. This sampling rate is the rate at which the instrument receives data from Multisim. This sampling rate is analogous to the sampling rate you would set for a physical data acquisition device or modular instrument that acquires data from the real world. You should observe the Nyquist sampling theorem when choosing a sampling rate for your instrument. Note that the higher the value of the sampling rate, the slower simulation will run.

To create and modify NI LabVIEW instruments, you must have the NI LabVIEW 8.0 (or later) Development System.

To use NI LabVIEW instruments, you must have the NI LabVIEW Run-Time Engine installed on your computer. The version of this Run-Time Engine must correspond to the version of the NI LabVIEW Development System used to create the instrument. The Multisim installer includes the NI LabVIEW Run-Time Engine 8.0 as part of the Electronics Workbench Shared Components installation.

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks