I'm using a PS4824 with MatLab and i would like to set the number of memory segment at 512 in order to get 300+ measurements. However, when there are more than 128 segments, i have an error with the fonction 'ps4000aGetTimebase2' and the corresponding status is 'PICO_TOO_MANY_SAMPLES’.
I can't figure out why this occur and i would apreciate some help.
I saw on the programer's guide that we can set the number of samples in 'ps400aGetTimebase2' but i cannot do it on matlab. i just need 40k samples per waves whereas maxSamples=262048 with 512 segments, 2 channels and timebase=1.