SCPI parser library v2
===========
Documentation
--------
Documentation is available at [http://j123b567.github.io/scpi-parser](http://j123b567.github.io/scpi-parser).
Examples
--------
Library contains several [examples](https://github.com/j123b567/scpi-parser/tree/master/examples) of usage but please note, that this code is just for educational purpose and not production ready.
Examples are from several contributors and they are not tested and it is also not known, if they really work or can compile at all.
The core library itself is well tested and has more then 93% of the code covered by unit tests and integration tests and tries to be SCPI-99 compliant as much as possible.
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**
<table>
<tr><td>SCPI version<td>v1999.0</tr>
</table>
**Supported command patterns**
<table>
<tr><th>Feature<th>Pattern example</tr>
<tr><td>Short and long form<td><code>MEASure</code> means <code>MEAS</code> or <code>MEASURE</code> command</tr>
<tr><td>Common command<td><code>*CLS</code></td>
<tr><td>Compound command<td><code>CONFigure:VOLTage</code><tr>
<tr><td>Query command<td><code>MEASure:VOLTage?</code>, <code>*IDN?</code></tr>
<tr><td>Optional keywords<td><code>MEASure:VOLTage[:DC]?</code></tr>
<tr><td>Numeric keyword suffix<br>Multiple identical capabilities<td><code>OUTput#:FREQunecy</code></tr>
</table>
**Supported parameter types**
<table>
<tr><th>Type<th>Example</tr>
<tr><td>Decimal<td><code>10</code>, <code>10.5</code></tr>
<tr><td>Decimal with suffix<td><code>-5.5 V</code>, <code>1.5 KOHM</code></tr>
<tr><td>Hexadecimal<td><code>#HFF</code></tr>
<tr><td>Octal<td><code>#Q77</code></tr>
<tr><td>Binary<td><code>#B11</code></tr>
<tr><td>String<td><code>"text"</code>, <code>'text'</code></tr>
<tr><td>Arbitrary block<td><code>#12AB</code></tr>
<tr><td>Program expression<td><code>(1)</code></tr>
<tr><td>Numeric list<td><code>(1,2:50,80)</code></tr>
<tr><td>Channel list<td><code>(@1!2:3!4,5!6)</code></tr>
<tr><td>Character data<td><code>MINimum</code>, <code>DEFault</code>, <code>INFinity</code></tr>
</table>
[](https://travis-ci.org/j123b567/scpi-parser) [](https://coveralls.io/github/j123b567/scpi-parser?branch=master)

iwbunny
- 粉丝: 38
最新资源
- MPC模型预测控制在Matlab Simulink与Carsim联合仿真的参数配置及应用
- 以太网PHY电路设计详析:基于Gpdk90nm与Gpdk180nm工艺的系统级电路设计及关键模块解析
- MATLAB仿真光伏电池12V升压至48V双闭环Boost电路控制策略及9A电流输出
- 三相全桥型并联APF有源电力滤波器的PI与重复控制及SVPWM调制仿真研究 完整版
- 光伏板太阳能充电MATLAB仿真与双闭环控制Boost电路研究
- 永磁同步电机三矢量模型预测电流控制:基于PI控制器的电流给定与期望电压矢量合成优化
- 基于蜣螂优化算法求解分布式置换流水车间调度问题及其应用 详细版
- 定位助手_202507251.apk
- 基于蜣螂优化算法求解置换流水车间调度问题(PFSP)并绘制甘特图 智能优化算法
- MATLAB环境下振动与声音信号解卷积方法研究:冲击信号提取及工程应用
- 基于MI-UKF多新息无迹卡尔曼滤波的电池电量SOC估算方法与性能研究
- 永磁同步电机双矢量MPC模型预测电流控制:提升动态性能与减少电流波动的技术解析
- 利用星鸦优化算法(NOA)求解FJSP问题及'MK01'算例甘特图演示
- 基于遗传算法求解混合流水车间调度问题的MATLAB实现及甘特图展示
- 基于ADRC控制的半车主动悬架建模及其与PID控制效果对比的研究 - MATLABSimulink v3.5
- PVD真空预压与FLAC3D数值模拟:四根竖向排水板在软土地基处理中的应用研究 - PVD真空预压
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



评论0