I'm trying to connect to a keysight DSO1072B osciloscope. However, the scope return an 'X' character when only float numbers are expected. sr: [00:07.315886] scpi: Got response: '0', length 1. sr: [00:07.315920] rigol-ds: Current analog channel state: sr: [00:07.315955] rigol-ds: CH1 on sr: [00:07.315981] rigol-ds: CH2 off sr: [00:07.316134] scpi_usbtmc: Successfully sent SCPI command: ':TIM:SCAL?'. sr: [00:07.317011] scpi: Got response: '1.000e-03', length 9. sr: [00:07.317050] rigol-ds: Current timebase 0,001 sr: [00:07.317259] scpi_usbtmc: Successfully sent SCPI command: ':CHAN1:PROB?'. sr: [00:07.317885] scpi: Got response: '50X', length 3. sr: [00:07.317927] rigol-ds: Failed to get device config: generic/unspecified error. Notifying user of session error: "generic/unspecified error" https://pastebin.com/n8M2JwM4 As it seems, sr_scpi_get_float is throwing the error. https://sigrok.org/gitweb/?p=libsigrok.git;a=blob;f=src/scpi/scpi.c;h=2477cf2323971c314880c3bc235732fd076c0af3;hb=HEAD#l745
On IRC, https://www.keysight.com/upload/cmc_upload/All/1000_series_prog_guide.pdf was provided as reference
Fixed in 34ce4d8258e61cb98446e027b2af0d6b522388fc, thanks!
*** Bug 1397 has been marked as a duplicate of this bug. ***