Commit 2226462e authored by Matthieu Cattin's avatar Matthieu Cattin

fmc_adc_demo: display data from trigger and after.

parent 6d5f2088
......@@ -86,7 +86,7 @@ def acq_plot():
channels_data = carrier.get_data(carrier_addr, (NB_POINTS*8))
else:
print('Multi-shot acq')
channels_data = carrier.get_data(0, (NB_POINTS*8))
channels_data = carrier.get_data((trig_pos<<3), (NB_POINTS*8))
channels_data = [hex2signed(item) for item in channels_data]
channels_data = [digital2volt(item,ADC_FS,ADC_NBITS) for item in channels_data]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment