完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
labview_基础教程(一).pdf
LabVIEW_基础教程(一).pdf
(4.57 MB, 下载次数: 756
)
--------------------------------------------------------------------------------------------------------------------------- 本教程的目标是帮助您掌握以下内容: • 理解前面板、程序框图、图标和连线板的概念 • 学会使用LabVIEW 的编程结构和数据类型 • 学会使用各种各样的编辑和调试技巧 • 创建和保存VI,以便作为子VI 调用 • 显示和记录数据 • 创建使用插入式DAQ 设备的应用程序 • 创建使用串口和GPIB 设备的应用程序 --------------------------------------------------------------------------------------------------------------------------- 目录结构如下: 学员指南 A. 关于本手册.................................................................................................vii B. 学习本教程前的准备工作..................................................................viii C. 安装教程软件............................................................................................ix D. 教程目标......................................................................................................ix E. 教程的行文规范.......................................................................................ix 第1 课 设计解决方案 A. 软件开发规范............................................................................................1-2 B. 问题描述......................................................................................................1-2 C. 设计................................................................................................................1-2 D. 实现................................................................................................................1-5 E. 测试................................................................................................................1-6 F. 维护................................................................................................................1-6 练习 1-1 软件开发规范.........................................................................1-7 G. 教程项目......................................................................................................1-9 第2 课 LabVIEW 导航 A. 虚拟仪器(VI) .............................................................................................2-2 B. VI 的组成部分............................................................................................2-2 C. 启动VI...........................................................................................................2-4 D. 项目浏览器.................................................................................................2-7 E. 前面板窗口.................................................................................................2-10 F. 程序框图窗口............................................................................................2-16 练习 2-1 概念:浏览VI ..........................................................................2-23 G. 搜索控件、VI 和函数...........................................................................2-24 练习 2-2 概念:浏览选板....................................................................2-26 H. 选择工具......................................................................................................2-27 练习 2-3 概念:选择工具....................................................................2-33 I. 数据流...........................................................................................................2-36 练习 2-4 概念:数据流.........................................................................2-37 J. 创建一个简单的VI..................................................................................2-38 练习 2-5 Simple AAP VI ..........................................................................2-41 第3 课 疑难解答和调试VI A. LabVIEW 帮助工具.................................................................................3-2 练习 3-1 概念:帮助指南....................................................................3-5 B. 纠正断开的VI............................................................................................3-8 C. 调试技术......................................................................................................3-9 D. 未定义或不可预期数据........................................................................3-13 E. 错误检查和处理.......................................................................................3-14 练习 3-2 概念:调试...............................................................................3-16 目录 LabVIEW 编程简介教程iv ni.com/china 第4 课 实现VI A. 设计前面板窗口.......................................................................................4-2 B. LabVIEW 数据类型.................................................................................4-7 C. 为代码添加说明信息.............................................................................4-13 练习 4-1 DetermineWarnings VI ......................................................4-15 D. While 循环...................................................................................................4-21 练习 4-2 Auto Match VI..........................................................................4-24 E. For 循环.........................................................................................................4-29 练习 4-3 概念:While 循环与For 循环对比...........................................................................................4-32 F. 为VI 设置定时..........................................................................................4-34 G. 迭代数据传递............................................................................................4-34 练习 4-4 AverageTemperature VI ..................................................4-37 H. 数据绘图......................................................................................................4-40 练习 4-5 TemperatureMultiplot VI ...................................................4-45 I. 条件结构......................................................................................................4-48 练习 4-6 DetermineWarnings VI ......................................................4-53 J. 公式节点......................................................................................................4-58 练习 4-7 自学:Square Root VI .........................................................4-59 练习 4-8 自学:Determine Warnings VI (挑战) ...............................................................................4-62 练习 4-9 自学:Determine Warnings VI (挑战) ...............................................................................4-65 第5 课 相关数据 A. 数组................................................................................................................5-2 练习 5-1 概念:操作数组....................................................................5-7 B. 簇.....................................................................................................................5-13 练习 5-2 概念:簇....................................................................................5-18 C. 自定义类型.................................................................................................5-22 练习 5-3 自定义类型...............................................................................5-25 第6 课 存储测量数据 A. 理解文件I/O..............................................................................................6-2 B. 理解高层文件I/O....................................................................................6-3 练习 6-1 SpreadsheetExample VI ...................................................6-4 C. 底层文件I/O..............................................................................................6-7 练习 6-2 Temperature LogVI..............................................................6-9 练习 6-3 自学:Read VCard VI.........................................................6-11 第7 课 开发模块化应用程序 A. 理解模块化.................................................................................................7-2 B. 创建图标和连线板..................................................................................7-3 C. 使用子VI......................................................................................................7-7 练习 7-1 DetermineWarnings VI ......................................................7-9 目录 © National Instruments Corporation vLabVIEW 编程简介教程 第8 课 数据采集 A. 使用硬件......................................................................................................8-2 B. 与硬件通信.................................................................................................8-4 C. 模拟一个DAQ 设备...............................................................................8-6 练习 8-1 概念:MAX................................................................................8-7 D. 测量模拟输入............................................................................................8-12 练习 8-2 触发的模拟输入VI ................................................................8-14 E. 产生模拟输出............................................................................................8-18 F. 使用计数器.................................................................................................8-19 练习 8-3 事件计数VI ..............................................................................8-20 G. 使用数字I/O..............................................................................................8-23 练习 8-4 可选:数字计数VI ...............................................................8-24 第9 课 仪器控制 A. 使用仪器控制............................................................................................9-2 B. 使用GPIB.....................................................................................................9-2 C. 使用串口通信............................................................................................9-3 D. 使用其它接口............................................................................................9-5 E. 软件架构......................................................................................................9-5 练习 9-1 概念:用MAX 配置GPIB .................................................9-7 F. 使用仪器I/O 助手...................................................................................9-9 练习 9-2 概念:仪器I/O 助手 ...........................................................9-10 G. 使用VISA .....................................................................................................9-16 练习 9-3 VISA 写入& 读取 VI .............................................................9-18 H. 使用仪器驱动程序..................................................................................9-21 练习 9-4 概念:NI Devsim VI...............................................................9-23 第10 课 常用设计技巧和设计模型 A. 使用顺序编程............................................................................................10-2 B. 使用状态编程............................................................................................10-4 C. 状态机...........................................................................................................10-5 练习 10-1 State MachineVI ...................................................................10-13 D. 使用并行机制............................................................................................10-19 附录 A 分析和处理数值数据 A. 选择分析的正确方法.............................................................................A-2 B. 分析类别......................................................................................................A-3 练习 A-1 概念:分析类型....................................................................A-5 附录 B 测量基础 A. 使用基于计算机的测量系统..............................................................B-2 B. 理解测量概念............................................................................................B-3 C. 提高测量质量............................................................................................B-10 练习 B-1 理论:测量基础....................................................................B-14 目录 LabVIEW 编程简介教程vi ni.com/china 附录 C CAN:控制器局域网 A. CAN 的发展历史......................................................................................C-2 B. CAN 基础.....................................................................................................C-3 练习 C-1 概念:CAN 设备配置 .........................................................C-6 C. 通道配置......................................................................................................C-8 练习 C-2 通道配置....................................................................................C-11 D. CAN API........................................................................................................C-15 E. LabVIEW 中的CAN 编程(通道API)........................................C-16 练习 C-3 读写CAN 通道 .......................................................................C-19 练习 C-4 同步CAN 和DAQ.................................................................C-23 |
|
相关推荐
|
|
饿诶什么。发布了帖子
|
|
|
|
|
|
thank you very much !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
真好,帮助很大
|
|
|
|
|
|
非常感谢,说不准以后就能用得到
|
|
|
|
|
|
xiexie 很好很强大
|
|
|
|
|
|
感谢分享!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
好好学习,天天向上,不错~~
|
|
|
|
|
|
好东西~~~不错~~~谢谢分享~~~
|
|
|
|
|
|
收藏,学习学习~~~~~~
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
有没有大佬知道labview中使用Halcon拍照算子采集图像后,如何把图像传入调用的Halcon算子?
4172 浏览 0 评论
LabVIEW对51单片机电压的采集,用VISA写入函数发送字符串voltage,VISA读取函数也是字符串?
2117 浏览 1 评论
1837 浏览 0 评论
7127 浏览 1 评论
2478 浏览 0 评论
3076浏览 1评论
4316浏览 0评论
有没有大佬知道labview中使用Halcon拍照算子采集图像后,如何把图像传入调用的Halcon算子?
4172浏览 0评论
3262浏览 0评论
3209浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 16:53 , Processed in 0.840442 second(s), Total 81, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号