SCPI query returning "ERR!"

Applications, development tools, FPGA, C, WEB
Post Reply
hutzlerlab
Posts: 4
Joined: Wed Feb 21, 2018 5:22 am

SCPI query returning "ERR!"

Post by hutzlerlab » Tue Mar 13, 2018 11:47 pm

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!".

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 16 guests