Example Code

Call By Reference Node Example Code Using LabVIEW

产品和环境

本部分要求填写创建该范例所需的产品和操作系统。

如要下载NI软件(包括以下所示产品),请访问ni.com/downloads

    软件

  • LabVIEW

代码和文档

添加附件

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.**

 

NI社区“代码范例交流区”(Example Code Exchange)中的代码范例已获得MIT许可