首页 | 本学科首页   官方微博 | 高级检索  
     

函数/任意波形发生器SCPI解释器设计与实现
引用本文:于红雨,李智,刘畅.函数/任意波形发生器SCPI解释器设计与实现[J].国外电子测量技术,2009,28(4):70-73.
作者姓名:于红雨  李智  刘畅
作者单位:桂林电子科技大学电子工程学院,桂林,541004
基金项目:广西研究生科研创新项目 
摘    要:SCPI是程控仪器标准命令集,被广泛应用于测试测量仪器的操作控制。SCPI解释器是使得仪器能够“理解”控制器发送命令的关键工具。本文针对函数/任意波形发生器的SCPI命令子集,分别使用已排序数组链表和二分查找算法存储、查询命令节点,使用数组存储命令参数的语法信息,并使用词法分析和语法分析相结合的方法分析命令的参数部分,最后在Windows平台上实现了对应的SCPI解释器。与传统的使用树存储结构,按孩子指针查询命令节点的方法所设计的SCPI解释器相比,提出的SCPI解释器具有更高的解释效率。

关 键 词:函数/任意波形发生器SCPI解释器  已排序数组链表  二分查询算法

Research and implementation of SCPI interpreter for function/arbitrary waveform generator
Yu Hongyu,Li Zhi,Liu Chang.Research and implementation of SCPI interpreter for function/arbitrary waveform generator[J].Foreign Electronic Measurement Technology,2009,28(4):70-73.
Authors:Yu Hongyu  Li Zhi  Liu Chang
Affiliation:School of Electronic Engineering;Guilin University of Electronic Technology;Guilin 541004;China
Abstract:SCPI(standard commands for programmable instruments)are widely used in operating and controlling of test and measurement instrument.SCPI interpreter is the key tool which make commands understandable to instrument.This paper implements a SCPI interpreter which uses Function/Arbitrary waveform generator SCPI subset on Windows OS.The interpreter uses sorted array linked list to store command nodes and binary search algorithm to query command node;uses array to store syntax information of each command and lexi...
Keywords:function/arbitrary waveform generator  SCPI interpreter  sorted array linked list  binary search algorithm  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号