scpi-parser-master
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:130KB
下载次数:4
上传日期:2021-02-09 17:24:20
上 传 者:
baizm
说明: 仪器互联接口代码,或用于解析通讯指令。版权归属未知。
(Instrument interconnection interface code, or used to analyze communication instructions)
文件列表:
.travis.yml (1525, 2018-09-05)
LICENSE (1320, 2018-09-05)
Makefile (208, 2018-09-05)
examples (0, 2018-09-05)
examples\Makefile (284, 2018-09-05)
examples\common (0, 2018-09-05)
examples\common\scpi-def.c (16238, 2018-09-05)
examples\common\scpi-def.cpp (15323, 2018-09-05)
examples\common\scpi-def.h (2232, 2018-09-05)
examples\test-CVI_w_GUI (0, 2018-09-05)
examples\test-CVI_w_GUI\TestLibSCPI_GUI.prj (19227, 2018-09-05)
examples\test-CVI_w_GUI\TestLibscpi.h (7370, 2018-09-05)
examples\test-CVI_w_GUI\TestLibscpi.uir (22648, 2018-09-05)
examples\test-CVI_w_GUI\main.c (10377, 2018-09-05)
examples\test-CVI_w_GUI\scpi_user_config.h (2140, 2018-09-05)
examples\test-LwIP-netconn (0, 2018-09-05)
examples\test-LwIP-netconn\scpi_server.c (10814, 2018-09-05)
examples\test-LwIP-netconn\scpi_server.h (1596, 2018-09-05)
examples\test-interactive (0, 2018-09-05)
examples\test-interactive\Makefile (375, 2018-09-05)
examples\test-interactive\main.c (3271, 2018-09-05)
examples\test-parser (0, 2018-09-05)
examples\test-parser\Makefile (375, 2018-09-05)
examples\test-parser\main.c (4490, 2018-09-05)
examples\test-tcp-srq (0, 2018-09-05)
examples\test-tcp-srq\Makefile (375, 2018-09-05)
examples\test-tcp-srq\main.c (9095, 2018-09-05)
examples\test-tcp (0, 2018-09-05)
examples\test-tcp\Makefile (375, 2018-09-05)
examples\test-tcp\main.c (6135, 2018-09-05)
libscpi (0, 2018-09-05)
libscpi\Makefile (2706, 2018-09-05)
libscpi\inc (0, 2018-09-05)
libscpi\inc\scpi (0, 2018-09-05)
libscpi\inc\scpi\cc.h (5028, 2018-09-05)
libscpi\inc\scpi\config.h (8729, 2018-09-05)
... ...
SCPI parser library v2
===========
[Documentation](http://j123b567.github.io/scpi-parser)
--------
About
--------
[SCPI](http://en.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments) Parser library aims to provide parsing ability of SCPI commands on **instrument side**. All commands are defined by its patterns eg: `"STATus:QUEStionable:EVENt?"`.
Source codes are published with open source BSD 2-Clause License.
SCPI parser library is based on these standards
* [SCPI-99](http://www.ivifoundation.org/docs/scpi-99.pdf)
* [IEEE 488.2-2004](http://dx.doi.org/10.1109/IEEESTD.2004.95390)
**SCPI version compliance**
**Supported command patterns**
Feature | Pattern example |
Short and long form | MEASure means MEAS or MEASURE command |
Common command | *CLS |
Compound command | CONFigure:VOLTage |
Query command | MEASure:VOLTage? , *IDN? |
Optional keywords | MEASure:VOLTage[:DC]? |
Numeric keyword suffix Multiple identical capabilities | OUTput#:FREQunecy |
**Supported parameter types**
Type | Example |
Decimal | 10 , 10.5 |
Decimal with suffix | -5.5 V , 1.5 KOHM |
Hexadecimal | #HFF |
Octal | #Q77 |
Binary | #B11 |
String | "text" , 'text' |
Arbitrary block | #12AB |
Program expression | (1) |
Numeric list | (1,2:50,80) |
Channel list | (@1!2:3!4,5!6) |
Character data | MINimum , DEFault , INFinity |
[![travis build](https://travis-ci.org/j123b567/scpi-parser.svg?branch=master)](https://travis-ci.org/j123b567/scpi-parser) [![Coverage Status](https://coveralls.io/repos/j123b567/scpi-parser/badge.svg?branch=master&service=github)](https://coveralls.io/github/j123b567/scpi-parser?branch=master)
近期下载者:
相关文件:
收藏者: