eez-open / modular-psu-firmware

Firmware for EEZ Bench Box 3 (BB3)
https://www.envox.eu/eez-bb3/
GNU General Public License v3.0
94 stars 42 forks source link

EEZ flow SCPI string has quotes #277

Closed fietser28 closed 2 years ago

fietser28 commented 2 years ago

SCPI output strings have the start and ending quotes in the string itself. See screenshot:

image

fietser28 commented 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):

image (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'?

fietser28 commented 2 years ago

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):

image

fietser28 commented 2 years ago

Working now.

prasimix commented 2 years ago

Fixed