Fix SCPI write() not complying with the eol parameter and add an command acknowledge option
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()
towrite_readline()
)