I´m totally aware about pythons overhead but it´s required for my project. As I saw for the ADC DAC board it states that with python 12ksps would be possible. Those boards are comparable, or am I misstaking?
I did some basic testing of sampling one channel with 512 samples and timed it. If I break it down to one sample it results in ~21ksps.
Just wanted to double check if some experienced simimlar performance or can give me some guidance.
Thanks & greetings
N=512test = np.zeros(N)adc = ExpanderPi.ADC()adc.set_adc_refvoltage(4.096)while True: T_start = datetime.datetime.now() for n in np.arange(0, N): test[n] = adc.read_adc_voltage(1, 0) T_end = datetime.datetime.now() T_sample_all = (T_end - T_start).total_seconds() T_sample_one = T_sample_all/N f_sample= 1/T_sample_all f_sample2=1/T_sample_one