Hi Roberto, I think if you tie the external sync to 1 (so it has no edges), you have to issue a software sync. You can do this with the man_trig optional argument of snapshot_get():
roach.snapshot_get('snap_name', man_trig=True) Hope that helps, Jack On Thu, 17 Dec 2015 at 18:58 Roberto F. <rmfuent...@ing.uchile.cl> wrote: > Hi there, > I'm working on the ROACH II and came across a problem with the snapshot > block. I put the snapshots to capture the signal from the ADC (adc5g) usign > the following configuration: > -number of samples: 2^16 > -Data width: 64 > - check Start delay support and Use DsP48s to implement counters. > > The din comes from a bus of length 64, this are all the samples of one of > the channels of the ADC appended. > we and trig ports with a constant set to one. > This configuration has work but recent it started to througth the > following error: > Traceback (most recent call last): File "snap_shot_plot.py", line 254, in > <module> exit_fail() File "snap_shot_plot.py", line 247, in <module> > continuePloting = continuous_plot(fpga) File "snap_shot_plot.py", line 163, > in continuous_plot adc00, adc01, adc10, adc11, adc20, adc21 = get_data() > File "snap_shot_plot.py", line 65, in get_data hola = > numpy.array(adc5g.get_snapshot(fpga, "snapshot0")) File > "/home/roach/Desktop/Roberto/git/ROACH2_ADC5g_Calibration/python/adc5g/tools.py", > line 31, in get_snapshot grab = roach.snapshot_get(snap_name, > man_trig=man_trig, wait_period=wait_period) File > "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 946, > in snapshot_get raise RuntimeError("A snap block logic error occurred or it > didn't finish capturing in the allotted %2.2f seconds. Reported %i bytes > captured."%(wait_period,bram_size)) RuntimeError: A snap block logic error > occurred or it didn't finish capturing in the allotted 2.00 seconds. > Reported 0 bytes captured. > > I tried to seek the error out, but the only thing that i came across is > that the status register in the snapshot block has value 0. > > Could someone give me some advice on this matter? > > Greatings, > Roberto Fuentes >