Skip to content
Open Source SCPI device library
C C++ Other
Branch: master
Clone or download

Latest commit

Latest commit a077a73 Apr 10, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Add basic VXI11 support Aug 12, 2019
libscpi Resolve unused argument warning in SCPI_ErrorAddInternal Sep 5, 2018
.gitignore Add code coverage support Nov 25, 2015
.travis.yml Fix ASAN unit tests for travis Jan 29, 2018
LICENSE Fix license wordings to correspond with BSD-2-Clause Jul 13, 2018
Makefile Add building of shared library Oct 1, 2015
README.md Fix license wordings to correspond with BSD-2-Clause Jul 13, 2018

README.md

SCPI parser library v2

Documentation

About

SCPI 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 version compliance

SCPI versionv1999.0

Supported command patterns

FeaturePattern example
Short and long formMEASure means MEAS or MEASURE command
Common command*CLS
Compound commandCONFigure:VOLTage
Query commandMEASure:VOLTage?, *IDN?
Optional keywordsMEASure:VOLTage[:DC]?
Numeric keyword suffix
Multiple identical capabilities
OUTput#:FREQunecy

Supported parameter types

TypeExample
Decimal10, 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 dataMINimum, DEFault, INFinity

travis build Coverage Status

You can’t perform that action at this time.