基于WPF的虚拟示波器设计  被引量:2

Design of Virtual Oscilloscope Based on WPF

在线阅读下载全文

作  者:张博 李黎[1] 何海龙[1] 刘艳行[1] Zhang Bo;Li Li;He Hailong;Liu Yanhang(Xi'an Electronic Engineering Research Institute,Xi'an 710100)

机构地区:[1]西安电子工程研究所,西安710100

出  处:《火控雷达技术》2018年第2期91-95,共5页Fire Control Radar Technology

摘  要:随着计算机技术和通信技术的飞速发展,虚拟仪器技术以其高性能、高扩展性、高集成性,和开发周期短等优势,逐渐成为测试测量行业仪器设计的发展趋势。虚拟示波器是虚拟仪器基础平台的重要组成部分,也是应用最广、需求最大的测试软件。本文基于PC平台,在广泛应用的Windows系统下,采用WPF作为软件开发环境,设计并开发了一个经串口录取数据的四通道虚拟示波器软件。该虚拟示波器软件通过对数据流的合理规划和设计,以及PingPong缓冲机制的引用,实现了对高速串口数据的完整录取。运用高精度自旋定时器,使本文虚拟示波器软件与DSP下位机的指令通信达到了200Hz稳定可靠的数据率。With rapid development of computer and communication technique,virtual instrument(VI)gradually becomes development trend in measurement field because of its high performance,scalability,integration and short development period.Virtual oscilloscope is an important component of VI platform and it is also the most widely used testing software.A four-channel virtual oscilloscope extracting data via serial ports was designed based on WPF(Windows Presentation Foundation)technique.Through reasonable programming and design to data flow,and introducing of ping-pong buffer mechanism,high-speed serial port data can be extracted completely by the virtual oscilloscope;and by using high precision timer,command communication rate between virtual oscilloscope and DSP can be up to 200Hz reliably.

关 键 词:WPF 高精度定时器 PingPong缓冲区 多线程 

分 类 号:TM935.3[电气工程—电力电子与电力传动]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象