摘 要
隨著現(xiàn)代科學(xué)技術(shù)和現(xiàn)代工業(yè)生產(chǎn)的發(fā)展,對電子測量和儀器技術(shù)的要求越來越高,使得傳統(tǒng)的人工測試已經(jīng)不適應(yīng)甚至不滿足實(shí)際測試的需求。作為儀器技術(shù)和計(jì)算機(jī)技術(shù)完美結(jié)合的虛擬儀器技術(shù)為測試帶來了絕好的解決方案。
本論文首先介紹虛擬儀器的特點(diǎn)、構(gòu)成及發(fā)展與現(xiàn)狀。然后簡要介紹了LabVIEW的概況和運(yùn)行機(jī)制。在此基礎(chǔ)上論文著重探討了串口數(shù)據(jù)接收和發(fā)送功能模塊、數(shù)字鍵盤功能模塊以及數(shù)碼管的制作與加載三大功能模塊:串口數(shù)據(jù)通信模塊我用了LabVIEW自帶的Serial系列節(jié)點(diǎn)來實(shí)現(xiàn);數(shù)字鍵盤功能模塊我則掉用了10個(gè)CASE語句框來實(shí)現(xiàn);數(shù)碼管顯示模塊我用了LabVIEW的ActiveX容器加載了數(shù)碼管的控件來實(shí)現(xiàn)。最后論文對這三大功能模塊的優(yōu)缺點(diǎn)進(jìn)行了簡要的分析。
本文的設(shè)計(jì)是用LabVIEW圖形化軟件編寫的,其中制作數(shù)碼管是用VC編寫的源程序。
關(guān)鍵詞:虛擬儀器,串口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