Tutorial: Setting Up the LabVIEW Co-simulation Terminals

Multisim Help


Edition Date: February 2017
Part Number: 375482B-01
View Product Info

DOWNLOAD (Windows Only)


Multisim 14.0 and 14.0.1 Help
Multisim 14.1 Help
Multisim 14.2 Help

This tutorial demonstrates how to use the LabVIEW Co-simulation Terminals view to configure a Multisim design for co-simulation in LabVIEW.

In this tutorial, you will create an inverting summer with three inputs and one output. You will then add and configure terminals so that the design can be co-simulated from LabVIEW.

Complete the following steps:

  1. Build the following design in Multisim:


  2. Select View»LabVIEW Co-simulation terminals. The LabVIEW Co-simulation Terminals view displays.
  3. The Input, Output and Generic rows in the LabVIEW terminal column are empty because the design does not include any terminals.



  4. Click the Terminal button in the LabVIEW Co-simulation Terminal View and select Voltage input terminal from the list that appears. A ghost image of the terminal appears on the pointer.
  5. Place the terminal on the wire that is connected to the left side of R1.
  6. Double-click on the terminal and change its Name to in1 as shown in the figure below.


  7. The LabVIEW Co-simulation Terminals view changes accordingly, as shown in the figure below.



  8. Place the remaining terminals, double-click on them and Name them in2, in3 and out, as shown in the figure below.
  9. The terminal wired to the output of the opamp is a voltage output terminal.



    The LabVIEW Co-simulation Terminals view changes accordingly, as shown in the figure below.



  10. Save the Multisim design as summer.
  11. This design is ready to be co-simulated in LabVIEW.

      To access the Multisim Co-simulation Interface Help, right-click on a placed Multisim Design VI in a LabVIEW block diagram, and select Help.

Other Functionality

You can also:

  • Rename the LabVIEW terminals. To do this:
    1. Select the desired terminal in the LabVIEW terminal column.
    2. Type a new name into the selected field. Do not use Unicode characters for terminal names.
    3. Click outside of the field. The corresponding terminal on the preview changes to the new name.
    4.   If you rename a LabVIEW terminal and wish to revert to the old name, you must rename the corresponding terminal on the workspace to the new name first. Then, rename the terminal on the workspace and the LabVIEW terminal to the original name. Otherwises, error messages may display.

      Do not rename the LabVIEW terminals for this example.

  • Change the Negative connection.
  • A LabVIEW terminal consists of a Positive connection and a Negative connection. The Positive connection is the hierarchical connector. The Negative connection can be 0 (ground) or one of the other hierarchical connectors on the Multisim design.

    If you select one of the hierarchical connectors for a Negative connection, it will be removed from the LabVIEW terminal list.

    The Negative connection defaults to 0 (ground).

    Do not change the Negative setting for this example.

 

Related Information

LabVIEW Multisim Co-simulation Overview

Tutorial: Using a Multisim Design VI in LabVIEW

WAS THIS ARTICLE HELPFUL?

Not Helpful