Yes, the scpi.c implementation is very specific to how instruments handle SCPI commands and responses according to the SCPI standard. All SCPI commands that expects a response must be followed by a question mark and then wait to read a response. What you have there is not according to any ...