rate previous changes that you made to the code. Caution Although generated configuration code includes code to create virtual channels and tasks, it does not include code to create scales. If you generate configuration code for deployment of applications that include scales, you must ensure that the scales are configured in the target computer. Refer to Deployment in the NI-DAQmx Help located at Start?All Programs?National Instruments?NI-DAQ for more information. Configuration and Example—Generates both Configuration code and Example code for the task or channel in one step. Tip If you configure a task using the DAQ Assistant Express VI, you can right-click the VI and select Generate NI-DAQmx Code to generate configuration and example code. The code replaces the DAQ Assistant Express VI.
Complete the following steps to generate code to run the voltage task. 1. 2. Right-click the DAQ Assistant Express VI on the block diagram, and select Generate NI-DAQmx Code from the shortcut menu. The DAQ Assistant generates all the code necessary to run the task, as shown in the following block diagram.
file://C:\Users\monix\AppData\Local\Temp\~hhB829.htm
2010/3/9
w
页码,8/9(W)
3. 4.
Save the VI as MyVoltageTask.vi. Display the front panel. Click the Run button to start the application. Note Any changes you make to the generated code apply only to the VI and are not saved into the task configuration stored in MAX.
Previous: 5. Edit the Task
Next: What's Next
What's Next
In this tutorial, you learned how to
Launch the DAQ Assistant by using the DAQ Assistant Express VI in LabVIEW ? Configure the task in the DAQ Assistant ? Test the task using test panels ? Edit the task ? Generate the code to run the task
Related Documentation
The following documents contain information that you might find helpful as you use NI-DAQmx and LabVIEW:
DAQ Assistant Help—This help file contains information about using the DAQ Assistant to interactively configure common measurement
tasks, channels, or scales. In LabVIEW 2009 or later, LabWindows?/CVI? 7.x or later, or Measurement Studio 7.x or later, you also can use the DAQ Assistant to generate NI-DAQmx code from the tasks and channels. to confirm that the device is operating properly.
DAQ Getting Started Guide—This guide describes how to install NI-DAQmx driver software and data acquisition (DAQ) devices and how ? Getting Started with LabVIEW—This manual contains information you use to familiarize yourself with the LabVIEW graphical
programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications. Select Start?All Programs?National Instruments?LabVIEW?Search the LabVIEW Bookshelf.
LabVIEW Help—This help file contains information about LabVIEW palettes, menus, tools, VIs, and functions. This help file also includes
step-by-step instructions for using LabVIEW fea
labview入门手册_计算机软件及应用_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 labview入门手册_计算机软件及应用_IT/计算机_专业资料。每个人都有提升...
LabVIEW 快速参考指南-提供帮助资源、键盘快捷键、数据类型接线端,以及编辑、执行、调试工具的相关信息。 LabVIEW 入门 x ni.com/china LabVIEW 虚拟仪器入门 1 ...
结构 顺序结构 结构连线中的常见问题 公式节点 局部变量和全局变量 学习指导 LabVIEW 有四种结构控制程序流程: While Loop循环,For Loop循环,Case 结构和Sequence结构...
入门教程 Labview 7.1 入门教程第一讲: 第一讲:认识 Labview 1.1 Labview 简介 在开始菜单里找见 NI Labview7.1 点击打开,会出现如下界面: 从 File>>New...
LabVIEW入门教程_IT/计算机_专业资料。LabVIEW入门教程计算机虚拟仪器图形编程 ...这些模板程序符合仪器驱动程序的标准,并且每个程 序都有指导帮助指令以便修改程序...
LabVIEW+8.5入门指导_机械/仪表_工程科技_专业资料。LabVIEW8.5入门指导LabVIEW LabVIEW 入门 LabVIEW 入门 TM 2007 年 8 月 373427C-0118 僒亿乕僩 全球技术...
labview入门教程_信息与通信_工程科技_专业资料。Labview 概述虚拟仪器(virtual ... LabVIEW+8.5入门指导 76页 1下载券 喜欢此文档的还喜欢 LabVIEW入门教程 67...
LabVIEW和cRIO入门_IT/计算机_专业资料。CompactRIO 入门指南注 ? 和 LabVIEW ? 新用户可通过 LabVIEW 入门指南了解 LabVIEW 基本信息和相关术语。 本教程详细介绍...
LabVIEW 快速参考指南-提供帮助资源、键盘快捷键、数据类型接线端,以及编辑、执行、调试工具的相关信息。 LabVIEW 入门 x ni.com/china LabVIEW 虚拟仪器入门 1 ...
热门文档