毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

基于LABVIEW的虚拟示波器的实现

时间:2019-12-23 19:36来源:毕业论文
准备一台PC机作为数据采集系统的发送端发送信号,另一台PC机作为接收端接收信号。两个PC机基于LABVIEW图形软件以RS232串行通信的方式通信

摘要:在本论文设计的实验中,两台PC电脑之间的数据传输通常是用字符串的形式进行传输的。针对采集出来的数据显示不明显的问题,本文中设计了这样一种方案。首先准备一台PC机作为数据采集系统的发送端发送信号,另一台PC机作为接收端接收信号。两个PC机基于LABVIEW图形软件以RS232串行通信的方式通信,将数据转化为波形的方式以后进行传送。制定的方案为在数据发送端PC机上设计程序模块,由可多波形选择的信号发生器和将波形转化成字符串发送给数据接收端PC机的程序组成。在作为数据接收端的PC机上,我设计编写了将字符串转化成波形的程序以及虚拟示波器,以及数字滤波器中的有限冲激响应FIR数字滤波器。为便于分析传输误差,将发送端波形与接收端波形进行比较。实验结果表明,两台PC传输准确,波形无失真。43270

毕业论文关键字: LABVIEW;波形传输;RS232;信号发生器;虚拟示波器。

A Transmit of Waveform between Two PC through the RS-232 Interface Based on LABVIEW

Guo Hua (School of Electrical and Electronic Engineering, Shanghai Institute of Technology, Shanghai201418,China)

Abstract: In this paper, the design of experiments, between two personal computers for data transfer mode is usually transmitted wave data in the form of a string, the data collection for the obvious question out of show in this article, designed in such a scheme. Preparing a personal computer as the sender sends a signal, another personal computer as a receiver to receive the signal analog data acquisition system. Two personal computers based on LABVIEW manner RS232 serial communication mode waveform data into the transmission. To develop solutions for the data transmission side, design modules to be multi-waveform selection signal generator and the waveform is converted to a string of data transmitted to the receiving end of the personal computer program consists in the data receiving terminal on the personal computer is designed to waveform string into the program, there is a virtual oscilloscope and FIR filter point by point. To facilitate the analysis of transmission errors, we compare the waveform of sending end with the receiving end. Experimental results show that the waveform between two personal computer transmission accurately, without distortion.

Keywords: LABVIEW;waveform transmission;RS232;signal generator;virtual oscilloscope.

目 录

1绪论 8

1.1课题研究的意义 8

1.2课题的目的和要求 9

1.3进度安排 9

2原理及技术 10

2.1 LABVIEW 10

2.1.1 LABVIEW简介 10

2.2.2 LABVIEW软件设计基本原理 11

2.2.3 LABVIEW 程序组成 11

2.2 RS232 14

2.2.1 RS232串行通信 14

2.2.2 RS232标准 17

3程序设计原理 21

3.1虚拟信号发生器的设计 21

3.2   串口通信环节的设计 23

3.3   虚拟示波器及FIR滤波器的设计 25

3.4 FIR滤波器特性 26

4软件模块的设计 27

4.1 程序的流程图 27

4.2 实验设计 基于LABVIEW的虚拟示波器的实现:http://www.youerw.com/tongxin/lunwen_44027.html

------分隔线----------------------------
推荐内容