- 1、本文档共14页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《2. Customize a Virtual Instrument (VI)》.pdf
Customizing a VI
Approximate Time
You can complete this exercise in approximately 30 minutes.
Background
You can choose one of many LabVIEW template VIs to use as a starting point when building VIs.
However, sometimes you need to build a VI for which a template is not available. This tutorial
teaches you how to build and customize a VI without using a template.
Overview
In the following exercises, you will open a blank VI and add structures and Express VIs to the
block diagram to build a new VI. You will build a VI that generates a signal, reduces the number
of samples in the signal, and displays the resulting data in a table on the front panel.
1
Completed Exercise
2
Step-by-Step Instructions
1. Opening a Blank VI
If no template is available for the VI you want to build, you can start with a blank VI and add
Express VIs to accomplish a specific task. Complete the following steps to open a blank VI:
a. In the Getting Started window, click the Blank VI link in the New section or press the
Ctrl-N keys to open a blank VI. A blank front panel and block diagram appear.
You also can open a blank VI by selecting File » New VI or by selecting File » New
and selecting Blank VI from the Create New list.
b. You can right-click any blank space on the front panel to
display a temporary version of the Controls palette. The
Controls palette appears with a thumbtack icon in the
upper left corner. Click the thumbtack to pin the palette
so it is not temporary.
3
2. Adding an Express VI that Simulates a Signal
Complete the following steps to find the Express VI you will use and add it to the block diagram:
a. Click the Show Context Help Window button on the front panel or
文档评论(0)