You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ondřej Hruška
912f467c0b
|
9 years ago | |
---|---|---|
source | 9 years ago | |
.gitignore | 9 years ago | |
LICENSE | 9 years ago | |
Makefile | 9 years ago | |
README.md | 9 years ago | |
errorgen.php | 9 years ago | |
main.c | 9 years ago | |
scpi.pro | 9 years ago | |
scpi.pro.user | 9 years ago | |
style.astylerc | 9 years ago |
README.md
SCPI parser
This library provides a simple ("KISS") SCPI implementation for embedded devices (instruments).
The implementation is not 100% complete, but it's sufficient for basic SCPI communication.
What's supported
- The hierarchical header model (commands with colon)
- Semicolon for chaining commands on the same level
- String, Int, Float, Bool arguments
- Block data argument with callback each N received bytes (configurable)
- Status Register model
- Error queue including error messages from the SCPI spec
- All mandatory SCPI commands (headers) are implemented as built-ins
Built-in commands can be overriden in user command array.
See main.c for example of how to use the library.