SCPI命令解释器的实现  被引量:7

Implementation of Standard Commands for Programmable Instruments interpreter

在线阅读下载全文

作  者:韦荣昌[1] 赖小红[1] 

机构地区:[1]电子科技大学自动化工程学院,四川成都611731

出  处:《信息与电子工程》2012年第3期377-381,共5页information and electronic engineering

摘  要:可程控仪器命令标准(SCPI)目前被广泛应用于测试测量仪器的操作控制中。针对数字示波器的SCPI命令集,研究并设计了一种SCPI命令解释器,此命令解释器通过采用二叉树结构来存储数字示波器的SCPI命令集,并在此基础上通过遍历二叉树来实现SCPI命令的查找过程。设计的解释器具有命令解析效率高,移植性好等优点,现已应用于数字示波器中,实践证明了此设计方案是可行的。Standard Commands for Programmable Instruments(SCPI) are widely used in operating and controlling of test and measurement instrument. Aiming at SCPI command subsets of digital oscilloscope, a kind of SCPI interpreter is researched and implemented in this paper. This interpreter adopts a structure based on the binary tree to build up the SCPI command tree. By traversing the binary tree, the SCPI command interpreting process is realized. The interpreter designed by this method features the advantages of quick parsing speed, good transplanting and so on, which is used in Digital Oscilloscope. The practice has proved this design scheme is efficient and feasible.

关 键 词:数字示波器 SCPI解释器 命令树 二叉树 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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