Skip to content

Generic instruments (generic.scpi, generic.serial)

For an instrument that has no plugin yet.

  • Generic SCPI instrument (generic.scpi): any instrument that understands SCPI / IEEE 488.2, over serial://, tcp://, prologix:// or visa://. It has the common SCPI commands only: idn, reset, clear, get_error, write, query and query_number. It does not know the instrument's outputs, so it switches nothing off when a test ends.
  • Line-based serial device (generic.serial): Arduino sketches and other devices that exchange lines of text, over serial:// or tcp://: write_line, read_line, read_number, query, query_number.
  • Simulators: the SCPI one answers *IDN? and 0 to every other query; the serial one sends every line back.