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 in SCPI command reading a negative value stores wrong value #289

Closed fietser28 closed 2 years ago

fietser28 commented 2 years ago

If a SCPI command returns a negative value and I store it in a float it stores the wrong value.

Example in screenshot note, the second line in SCPI command is the problem. The SCPI command returns -5 (good), but the value stored is a large number. The screenshot was taken after the SCPI command executed.

image

fietser28 commented 2 years ago

I still have the problem (loaded latest firmware and studio):

To reproduce: Using MIO168 in slot 3, set AO1 to range -5 to +5V, query minimum voltage: image The global variable I write to is a float.

fietser28 commented 2 years ago

Working now.