Page 1 of 1

SCPI query returning "ERR!"

Posted: Tue Mar 13, 2018 11:47 pm
by hutzlerlab
Hi everyone,

Quick question about SCPI commands and python. After initializing the connection to the red pitaya, I have the following code:

Code: Select all

rp.tx_txt('ACQ:BUF:SIZE?')
rp.rx_txt()
This returns '16384'. However, if I add another command to the code, I get something different:

Code: Select all

rp.tx_txt('ACQ:DATA:FORMAT FLOAT')
rp.tx_txt('ACQ:BUF:SIZE?')
rp.rx_txt()
Now this returns 'ERR!16384'. What gives? Why am I getting an error? I've tried reading out a response from the RP after sending the FLOAT command, but there's no response. Only after I query buffer size do I get a response with "ERR!".