Skip to content

Vrekrer/Vrekrer_scpi_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.