10
基于GPIB总线的虚拟示波器软件设计论文+程序.rar
2008-09-09 13:36:52 admin 浏览:2451次 【

   

基于虚拟仪器的概念,通过GPIB接口总线实现PC机与可编程仪器的通信。虚拟示波器较传统的示波器,大大降低了成本,而且使用起来方便,需调用一个VI,就可以完全实现传统示波器的功能。本文介绍了虚拟仪器的GPIB总线接口技术。

    主要任务是实现函数发生器产生的波形能够在电脑显示器上显示。函数发生器通过GPIB卡与电脑连接并传输数据,电脑上通过LABVIEW软件环境完成与GPIB卡的数据通信。在LABVIEW环境下完成了对虚拟仪器前面板以及后台程序框图的设计与编程。在LABVIEW开发环境下,实现对GPIB控制时,采用VISA模块驱动的方法进行编程。设计结果在LABVIEW环境下的虚拟示波器能够实现示波器的功能,能够显示函数发生器所产生的任意波形。

 

 

 

 

关键词:  GPIB 虚拟仪器; LABVIEW 示波器

 

 

 

 

 

 

 

 

 

 

 

 


 

 

Abstract

  

 

    According to the concept of the virtual instrumentthe pc achieved commnication with the programmble equipment with GPIB Interface bus. The Virtual oscilloscope reduce the cost more  than the traditional oscilloscopes and convenient to use, we need to call a VI, which can be realized the function of traditional oscilloscope fully. This text presents a Virtual instrument's GPIB bus interface technology. 

    The main task is to achieve the waveform can be displayed on the screen of the computer which send out by the function generator. The function generator connect to computer through a GPIB card and transfer data. Labview can be communicated with GPIB card and save data on computer. The virtual instrument front panel design and background process diagram programming can achieved under Labview software environment. The realization of GPIB control, using VISA module-driven approach to program in Labview. The result of the design is that the virtual oscilloscope is able to complete the Real oscilloscope function in Labview.

 

 

Keywords:  GPIB;  virtual instrument;  LABVIEW;  oscilloscope

 

 

 

 

 

 

 

 

 

 


 

 

  ............................................................................................................................ I

Abstract........................................................................................................................ II

第一章    .......................................................................................................... 1

1.1 虚拟仪器发展现状.............................................................................................. 1

1.2 GPIB概述........................................................................................................... 2

1.3 课题任务以及研究意义....................................................................................... 3

1.3.1 课题任务................................................................................................. 3

1.3.2 研究意义................................................................................................. 3

第二章  原理框图与设计思路................................................................................. 5

2.1 原理及框图........................................................................................................ 5

2.2 设计思路............................................................................................................ 5

第三章 Labview软件环境及其编程...................................................................... 7

3.1 Labview软件环境介绍........................................................................................ 7

3.2 Labview编程...................................................................................................... 8

3.2.1 GPIB命令................................................................................................ 8

3.2.2 前面板设计............................................................................................ 12

3.2.2 Labview程序编写.................................................................................. 13

第四章 显示波形.............................................................................................. 23

4.1 显示正弦波波形............................................................................................... 23

4.2 显示波形................................................................................................... 23

4.3 显示三角波波形............................................................................................... 24

4.4 显示噪声波形................................................................................................... 24

第五章    ......................................................................................................... 25

结束语......................................................................................................................... 26

   ....................................................................................................................... 27

参考文献..................................................................................................................... 28

 

 

take a test
10 条评论
查看更多评论
  • 附件包括开题报告、论文、源程序1本选题的意义及国内外发展状况1.1研究目的和意义    随着工业自动化程度不断发展,对位移测量的精准度、效率以及..

    浏览:3991次 评论:0
    2020-02-21 09:30:14
浏览:5525次 评论:0
2018-05-13 22:08:20
浏览:8087次 评论:1
2018-04-14 20:41:34
  • 摘 要:探讨在MATLAB中使用FIS编辑器与Simulink相结合的方法构造模糊推理结构,并通过MATLAB Script Node实现LabVIEW与MATLAB的混合编程,设计出具有模糊自整..

    浏览:4553次 评论:0
    2017-07-28 15:43:26
  • 摘要:针对现代工业过程控制中实时通讯要求和现场总线存在的缺点,用现在流行的开放式标准接口技术OPC规范,设计了一种基于LabV IEW的PC与PCC实时数据通讯方..

    浏览:4588次 评论:0
    2017-07-28 15:27:50
作者专栏
  • sltang

    注册时间:2024-12-21 15:45:59

  • samhuang63

    注册时间:2024-12-20 09:42:58

  • csq663347

    注册时间:2024-12-05 16:34:39

  • guohuiming

    注册时间:2024-11-14 08:49:44

  • 机飞弹打

    注册时间:2024-11-11 13:46:27

Copyright@http://nilab.com.cn all rights reserved 备案号:京ICP备12043750号-1
Powered by qibosoft V9.0 Code © 2003-2017 qibosoft
LABVIEW之家 QQ:181237912; email:Labviewzj@qq.com 项目合作 微信及手机:18510627229