Commit d61cb79d authored by Matthieu Cattin's avatar Matthieu Cattin

test28: Add configuration constant for acq plot.

parent 77f77b81
......@@ -51,8 +51,11 @@ test28: Long term test
################################################################################
TEST_NB = 28
# Configuration
LOAD_BITSTREAM = True
PLOT_ACQ = True
# Gateware
LOAD_BITSTREAM = False
FMC_ADC_BITSTREAM = '../firmwares/spec_fmcadc100m14b4cha.bin'
EXPECTED_BITSTREAM_TYPE = 0x0
......@@ -682,7 +685,8 @@ def main (default_directory='.'):
#trig_thres = signed2hex(volt2digital_without_offset(trig_thres, fs, ADC_NBITS))
#print("trig thres:0x%04X, data@trig: 0x%04X"%(trig_thres, acq_data_ch[acq_pre_trig_samples]))
#plot_all(acq_data, max(acq_data), trig_thres, acq_pre_trig_samples)
if PLOT_ACQ:
plot_all(acq_data, max(acq_data), trig_thres, acq_pre_trig_samples)
sys.exit()
......
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