Example Code

Call By Reference Node Example Code Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

Overview

This VI shows how to call VI by reference using LabVIEW.

 

Description

You can use the Call By Reference Node function in LabVIEW to access the connector pane of your subVI.  There are clear instructions of how to create the required strictly typed VI reference in the LabVIEW Help file entry for this VI.  However, it is nice to be able to see, instead of reading, so here is a quick example of how to do it.

 

Requirements

Software:

  • LabVIEW 2012 (or compatible) 

 

Steps to Implement or Execute Code

1. Select subVI part for calling it.
2. Run VI.
3. Observe the result of called VI on front panel.

 

Additional Information or References

2012.png

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.