Board ID: 2
Board Name: STEMlab 125-14 v1.1
My current system is using DMA to acquire Ch 1, using an external (DIO_0) Trigger via the SCPI server.
All is well, and I am very happy with the results so far.
I have sped up acquisition considerable by switching from VOLT units to RAW (in my case, a decrease of about 0.5 seconds for 65k samples at 125 MHz).
Code: Select all
# UNITS selection may be VOLTS or RAW. RAW takes 1/2 the time, but numbers come back as COUNTS.
# self.com.tx_txt('ACQ:AXI:DATA:UNITS VOLTS')
self.com.tx_txt('ACQ:AXI:DATA:UNITS RAW')
Normal Acquisition Mode from the python EXAMPLES:
https://redpitaya.readthedocs.io/en/lat ... ode-python
Code: Select all
rp_s.tx_txt('ACQ:DATA:FORMAT BIN')
rp_s.tx_txt('ACQ:DATA:Units RAW')
...
rp_s.tx_txt('ACQ:SOUR1:DATA?')
buff_byte = rp_s.rx_arb()
Code: Select all
# *** Read the data in ***
# Get write pointer at trigger location
pos_a = int(self.com.txrx_txt('ACQ:AXI:SOUR1:Trig:Pos?'))
# There doesn't seem to be a BINARY ("arb") transfer mode when using DMA.
# Perhaps that would be even faster?
self.com.tx_txt(f"ACQ:AXI:SOUR1:DATA:Start:N? {pos_a},{self.ts.num_samples}")
So, is there an equivalent binary transfer strategy for AXI / DMA acquisitions?
I'll be really happy to nail this down, if possible, and be ready to move on...
Many thanks,
Chris