an use the default values. Select the terminal configuration you used to connect the signal.
file://C:\Users\monix\AppData\Local\Temp\~hhB829.htm
2010/3/9
w
页码,6/9(W)
3.
Under Timing Settings, select N Samples as the Acquisition Mode. Enter 100.00 for Samples To Read, and enter 1000.00 for Rate (Hz), as shown in the following figure.
Note This example does not use custom scaling or triggering. To learn about scaling and triggering, refer to the NI-DAQmx Help. Previous: 2. Create the Task Next: 4. Test the Task
4. Test the Task
You can view data acquired in the DAQ Assistant to test the task and signal connection. Click Run to test the task. Data acquired appears in the graph. Verify that you are acquiring expected data and that you connected the signal properly. If necessary, modify any settings and run your task again.
file://C:\Users\monix\AppData\Local\Temp\~hhB829.htm
2010/3/9
w
页码,7/9(W)
Click OK when you finish testing your task. Previous: 3. Configure the Task Next: 5. Edit the Task
5. Edit the Task
If you want to make changes to your task later, you can open the task using the DAQ Assistant Express VI in LabVIEW. Complete the following steps to edit the voltage task to acquire data continuously: 1. 2. Double-click the DAQ Assistant Express VI on the block diagram in LabVIEW. When the DAQ Assistant launches, select Continuous Samples for the Acquisition Mode.
3. 4.
Click OK. Save the VI as MyVoltageTask.vi. Next: 6. Generate Code
Previous: 4. Test the Task
6. Generate Code
Using the DAQ Assistant, you have three options for generating code in LabVIEW from a task or channel: Example—Generates all the code necessary to run the task or channel, such as VIs needed to read or write samples, VIs to start and stop the task, loops, and graphs. Choose this option if you want to run the task or channel you created to verify that it works or to use your configuration in a simple application. In LabVIEW, this option adds to the VI you are working in. The generated code is a simple NI-DAQmx example that you can then modify for your application. Configuration—Generates the code that replicates the configuration of the tasks and channels. LabVIEW replaces the DAQmx task name control with a subVI that contains VIs and property nodes used for channel creation and configuration, timing configuration, and triggering configuration used in the task or channel. Choose this option if you want to deploy your application to another system. Refer to Deployment in the NI-DAQmx Help located at Start?All Programs?National Instruments?NI-DAQ for more information. When you generate Configuration code, the link between the application and the DAQ Assistant is lost. Any changes you make to the configuration code are not reflected in the DAQ Assistant. You can regenerate Configuration code from the DAQ Assistant, but the regenerated code does not incorpo
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 ...
热门文档