摘 要
隨著現代科學技術和現代工業生產的發展,對電子測量和儀器技術的要求越來越高,使得傳統的人工測試已經不適應甚至不滿足實際測試的需求。作為儀器技術和計算機技術完美結合的虛擬儀器技術為測試帶來了絕好的解決方案。
本論文首先介紹虛擬儀器的特點、構成及發展與現狀。然后簡要介紹了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