I am still writing a C-code to communicate with my 5244B Picoscope.
After some troubles with the ps5000aOpenUnit everything seems to be ok.
Thanks to Hitesh for his help on this first problem.
The C-code is written with the graphical library gtk+. The program is very simple.
It displays a window in which the signal on channel A is given. Some buttons and combo boxes allow timebase, sensitivity and trigger tunings.
The whole code is given in attachement.
My question is about the number of samples in the CallBack function "Oscilloscope".
I don't understand why the the number of samples that is required with the function ps5000aGetValues (4096) is not the actual number retrieved (1024). This actual number is always 1024 whatever the timebase parameter in ps5000aRunBlock function.
I think I haven't understood something, but what ?
Thank you for your help.