摘 要
随着现代科学技术和现代工业生产的发展,对电子测量和仪器技术的要求越来越高,使得传统的人工测试已经不适应甚至不满足实际测试的需求。作为仪器技术和计算机技术完美结合的虚拟仪器技术为测试带来了绝好的解决方案。
本论文首先介绍虚拟仪器的特点、构成及发展与现状。然后简要介绍了LabVIEW的概况和运行机制。在此基础上论文着重探讨了串口数据接收和发送功能模块、数字键盘功能模块以及数码管的制作与加载三大功能模块:串口数据通信模块我用了LabVIEW自带的Serial系列节点来实现;数字键盘功能模块我则掉用了10个CASE语句框来实现;数码管显示模块我用了LabVIEW的ActiveX容器加载了数码管的控件来实现。最后论文对这三大功能模块的优缺点进行了简要的分析。
本文的设计是用LabVIEW图形化软件编写的,其中制作数码管是用VC编写的源程序。
关键词:虚拟仪器,串口RS-232,LabVIEW, VISA
ABSTRACT
With the development of modern science and technology and development of modern industrial production, higher requests are put forward to electrical testing and instrumental technology, the traditional testing style operated by human is no longer right for modern testing tasks. The virtual instrument technology as a perfect combination of the instrumental technology and computer technology makes a wonderful scheme for testing engineers.
The paper introduces the features, composition and development and the status of virtual instruments. Then briefed the LabVIEW Profiles and operation mechanism. Based on this thesis mainly discusses the three functional modules including the serial data receive and transmit modules, numeric keypad module and the production and the loading of the digital Pipe: I use the series nodes which built-in Serial LabVIEW to achieve serial data communications module; I spent 10 CASE statement frame to achieve numeric keypad module; Digital control I used the LabVIEW ActiveX container loads of the digital control to be achieved. Finally this paper simply Analysis the merits of the three major functional module.
The design discussed in this paper is using LabVIEW graphical software development, the digital Pipe is prepared with VC.
Keywords: Virtual Instrument, Serial RS232,LabVIEW, VISA