If I pass illegal parameter value (for example maxc), it will report -224, "Illegal parameter value", which is expected, but it will continue as error didn't happened (SCPI_ParamNumber returns SCPI_RES_OK) and param will be as def parameter was given.
This is the code to get number parameter with
scpi_special_numbers_def
:If I pass illegal parameter value (for example
maxc
), it will report-224, "Illegal parameter value"
, which is expected, but it will continue as error didn't happened (SCPI_ParamNumber
returnsSCPI_RES_OK
) and param will be asdef
parameter was given.