Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.24 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.24 KB

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.