LabVIEW 教程
目录
第一课 LABVIEW 概述 ......................................................................................................................4
第一节
虚拟仪器(VI)的概念 ......................................................................................................4
第二节
LABVIEW 的操作模板 ............................................................................................................6
工具模板(
Tools Palette
)
.............................................................................................................6
控制模板
(Controls Palette).............................................................................................................7
功能模板
(Functions Palette)...........................................................................................................8
第三节
创建一个 VI 程序 ..............................................................................................................10
1.
前面板
...........................................................................................................................10
框图程序
........................................................................................................................................11
从框图程序窗口创建前面板对象
................................................................................................12
4.
数据流编程
...................................................................................................................12
第四节
程序调试技术 ....................................................................................................................13
1.
找出语法错误
...............................................................................................................13
2.
设置执行程序高亮
.......................................................................................................13
3.
断点与单步执行
...........................................................................................................13
4.
探针
...............................................................................................................................14
第五节
练习 1-1 .............................................................................................................................14
第六节
把一个 VI 程序作为子 VI 程序调用 ................................................................................17
第七节
练习 1-2 .............................................................................................................................18
第八节
练习 1-3 .............................................................................................................................20
第九节
练习 1-4 .............................................................................................................................22
第十节
练习 1-5 .............................................................................................................................24
第二课 数据采集................................................................................................................................27
第一节
概述 ....................................................................................................................................27
第二节
数据采集 VI 程序的调用方法 ..........................................................................................29
第三节
模拟输入与输出 ................................................................................................................30
练习
2-1 .........................................................................................................................................31
第四节
波形的采集与产生 ............................................................................................................34
练习
2-2 .........................................................................................................................................35
第五节
扫描多个模拟输入通道.....................................................................................................36
练习
2-3 .........................................................................................................................................36
第六节
连续数据采集 ....................................................................................................................37
练习
2-4 .........................................................................................................................................38
第三课 仪器控制................................................................................................................................40
第一节
概述 ....................................................................................................................................40
第二节
串行通讯 ............................................................................................................................40
第三节
IEEE 488(GPIB)概述 ....................................................................................................41
练习
3-1 .........................................................................................................................................43
第四节 VISA 编程 ...........................................................................................................................44
北京中科泛华测控技术有限公司 2/2