Closed fietser28 closed 2 years ago
It works for normal strings/responses like the initial one. There is a case where it is now messing up the string: If the SCPI answer is a list of strings: In this case the quotes should remain (I think):
(BB3 shows the string the same as in studio debug)
I'm not sure what the best way to handle this is, probably: 'remove first and last quotes only if the string doesn't contain more quotes'?
Look at this example: I'm not sure if the string is not parsed and propagated properly or the text widget is removing the quotes. In the example below it 'look' like the local variable teststring has the right value, but it is not displayed properly (first and last quote are missing):
Working now.
Fixed
SCPI output strings have the start and ending quotes in the string itself. See screenshot: