michpro / Vrekrer_scpi_parser

Simple SCPI parser for Arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vrekrer scpi parser

A simple SCPI parser for Arduino projects.

Features

  • Small memory footprint, implemented for reduced RAM usage.
  • Minimal, clean code API.
  • Can process char* strings or input from any Stream interface like Serial or Ethernet.
  • Flash strings (F() macro) support for lower RAM usage.
  • Automatic Stream communication errors handling (timeout, buffer overflow)

SCPI features:

  • Commands defined using stings
    E.g. "MEASure:VOLTage:DC?"
  • Short and long token forms, and upper and lower case commands
    E.g. "MEASURE:VOLTAGE:DC?", "meas:VoLt:DC?"
  • Numeric suffixes using the # character:
    E.g. definition : "CHANnel#:SELect"
    E.g. usage : "CHAN0:SEL", "chan5:sel", "chan13:sel"
  • Comma separated parameters recognition.
  • Parameters treated as text, processed by the user program.
  • Option to process large raw data parameters.

About

Simple SCPI parser for Arduino

License:MIT License


Languages

Language:C 69.3%Language:C++ 30.7%