【正文】
bVIEW graphical programming language of the virtual instrument programming methods and technology. 1 Virtual Oscilloscope structure and position of The virtual digital oscilloscope PCI bus by a multifunction data acquisition card and the corresponding software. They are installed on a PC running the Windows95/98/NT machine (remended configuration in PENTIUM Ⅱ / 233 and above), which constitute a powerful digital oscilloscope can be stored. Data Acquisition Card PCI bus transfer rate of highdata throughput large future data acquisition board design mainstream. The design uses the PCI1200 data acquisition card is a better value for money products, support DMA mode and dualbuffer mode, ensuring the uninterrupted realtime signal acquisition and storage. It supports a unipolar and bipolar analog signal input, signal input in the range of 5 ~ +5 V and 0 ~ 10V. Provide 16 singleended / 8 differential analog input channels, 2 independent DA output channels, 24line TTL digital I / O, 3 16bit timer counters, such as multiple functions. These features allow us not only can use the card design virtual oscilloscope, but also can design a virtual function generator or virtual counter, to achieve a multipurpose card. Of course, limited to funding conditions, we chose the PCI1200 card sampling rate can only be reached 100kS / s, the actual Oscilloscopes, this much can not meet the signal bandwidth requirements. Currently on the market sampling rate up to 200MS / s of PCI data acquisition card has been a mature product, the technical realization of highbandwidth virtual oscilloscope problem does not exist. When the actual measurement input signal through the BNC connector from the input data acquisition card to enter the collection. Instrument Function The virtual digital oscilloscope design reference to HP39。 虛擬面板即用戶界面 , 是用戶與儀器交流 信息的橋梁。儀器硬件主要負(fù)責(zé)信號(hào)調(diào)理和模數(shù)轉(zhuǎn)換 , 通過(guò) PC總線與計(jì)算機(jī)進(jìn)行數(shù)據(jù)交換。TG8 文獻(xiàn)標(biāo)識(shí)碼 A 文章編號(hào) 1009一 4334(2022)03一 0086一 03 一、引言 儀器儀表長(zhǎng)期以來(lái)在實(shí)驗(yàn)科學(xué)中占據(jù)著十分重要的地位 , 儀器儀表也是我們進(jìn)行物理教學(xué) ,開(kāi)展物理實(shí)驗(yàn)的一個(gè)重要基礎(chǔ)。s customers do not understand the acquisition card interface circuit and principles of the instrument can be modified or expanded features. Measuring the parameters of modular software structure, is a reasonable division of the measurement modules, and enhance the use of mon parts of the general, and to provide the parameters of the plex graphics and tables output. Calibration and error correction module, not only on the sensor can be calibrated to amend the source of error, but also the use of the average, and so on the relevant calculation of inhibition and to reduce interference and improve the measurement accuracy and increase the reliability of measurement. The apparatus of the software used NI39。 二、儀器構(gòu)成和工作原理 用一臺(tái)儀器完成多個(gè)參數(shù)的測(cè)量一直是測(cè)試領(lǐng)域的一個(gè)實(shí)際問(wèn)題 , 用傳統(tǒng)儀器往往很難實(shí)現(xiàn)。 16位的 A/D完全可滿足這一要求 。 digital oscilloscope。 in memory state, the maximum memory display A, B twochannel input signal 17 waveform (A memory channel can display 16 Group signal data, Bchannel memory can only show 1 signal data). In practice, memory display the main signal used to measure jitter or a parative analysis of two or more of the signal waveform. This article describes a virtual digital oscilloscope desktop not only has the general function of digital storage oscilloscope, and give full play to a powerful puter and software design flexibility, the main technical characteristics of the performance in the following: oriented programming techniques, software development, high efficiency, good operability and maintainability。一方面,目前我國(guó)高檔臺(tái)式儀器如數(shù)字示波器、頻譜分析儀、邏輯分析儀等還主要依賴進(jìn)口,這些儀器 加工工藝復(fù)雜、對(duì)制造水平要求高,生產(chǎn)突破有困難,采用虛擬儀器技術(shù)可以通過(guò)只采購(gòu)必要的通用數(shù)據(jù)采集硬件來(lái)設(shè)計(jì)自己的儀器系統(tǒng);另一方面,用戶可以將一些先進(jìn)的數(shù)字信號(hào)處理算法應(yīng)用于虛擬儀器設(shè)計(jì),提供傳統(tǒng)臺(tái)式儀器不具備的功能,而且完全可以通過(guò)軟件配置實(shí)現(xiàn)多功能集成的儀器設(shè)計(jì)。儀器主要功能包括:雙通道信號(hào)輸入 、觸發(fā)控制、通道控制、時(shí)基控制、波形顯示、參數(shù)自動(dòng)測(cè)量、頻譜分析、波形存儲(chǔ)和回放等。 波形顯示模塊 軟件提供了三種波形顯示模式: 處于正常狀態(tài)時(shí),最多只能顯示 A、 B 兩通道輸入的 2 個(gè)信號(hào)的波形;處于記憶狀態(tài)時(shí),最多可以記憶顯示 A、 B 兩通 道輸入的 17 個(gè)信號(hào)的波形( A 通道可記憶顯示 16 組信號(hào) 數(shù)據(jù), B 通道只能記憶顯示1組信號(hào)數(shù)據(jù))。從軟盤(pán)或硬盤(pán)上讀取的數(shù)據(jù)同實(shí)時(shí)采集的數(shù)據(jù)一樣,能夠進(jìn)行自動(dòng)參數(shù)測(cè)量以及顯示波形并保留在顯示窗口(顯示模式可以設(shè)置為三種模式中的任意一種),還可以根據(jù)需要設(shè) 置進(jìn)行頻譜分析。其中: 當(dāng)然,限于經(jīng)費(fèi)條件,我們選擇的 PCI- 1200 卡的采樣速率只能達(dá)到 100kS/ s,對(duì)實(shí)際示波器而言,這遠(yuǎn)不能滿足信號(hào)帶寬的要求。 傳統(tǒng)臺(tái)式儀器是由儀器廠家設(shè)計(jì)并定義好功能的一個(gè)封閉結(jié)構(gòu),它有固定的輸入/ 輸出接口和儀器操作面板,每種儀器實(shí)現(xiàn)一類特定的測(cè)量功能,并以確定的方式提供給用戶。 ? A + B AB model: When the two channels are in a gated state, use this mode to display twochannel signal algebraic sum, after the subtraction of the waveform. Parameter Measurement Module Parameter measurement module HP54603B the parameters of the main analog measurement functions, including Vrms, such as the pletion of 12 voltage and frequency parameters, cycle time parameter 7 measurement and display its results. Spectrum Analyzer Module Spectrum analysis module fast FFT algorithm, the pletion of the frequency domain signal analysis. The spectrum analyzer can be controlled include: ? Windows choice, provided the nine kinds of spectral analysis window。 五、結(jié)束語(yǔ) 用虛擬儀器實(shí)現(xiàn)多參數(shù)的測(cè)量能夠簡(jiǎn)化硬件 , 極大地降低儀器的成本 , 增加測(cè)試的可靠性。 按照使用的計(jì)算機(jī)是臺(tái)式機(jī)還是便攜機(jī) , 可選擇不同的數(shù)據(jù)采集板。 。 multiparameter measurement. Key words: TAB24。操作人員通過(guò)友好的圖形界面及圖形化編程語(yǔ)言控制儀器的運(yùn)行 , 完成對(duì)被測(cè)試量的采集、分析、判斷、顯示、存儲(chǔ)及數(shù)據(jù)生成。為覆蓋較大測(cè)量范圍并滿足一定的測(cè)量精度 , 各參數(shù)選用不同測(cè)量范圍的多只傳感器。 各參數(shù)測(cè)量軟件采用模塊化結(jié)構(gòu) , 既合理劃分各測(cè)量模塊 , 又增強(qiáng)采用公用部分的通用性 , 并提供復(fù)雜參數(shù)的圖形和表格輸出功能。 ? Timebased control of the main control acquisition card scanning rate, each channel scanning frequency (sampling number). Waveform Di