Skip to content

Fix SCPI write() not complying with the eol parameter and add an command acknowledge option

Samuel Debionne requested to merge fix-scpi-write into master

This MR aims to help supporting the Iseg SHR SCPI dialect that:

  • has a fixed \r\n EOL
  • returns a command acknowledgement (empty line \r\n) which is unusual

The MR:

  • Fixes the write method (for commands) to comply with the eol defined at the interface level (previously using only the default n)
  • Adds an option to the SCPI class to allow a command acknowledgement (changing the write() to write_readline())

Merge request reports