Yes, it's working fine now. 4096 samples retrieved with no lost. Here is the last version with a spin button for threshold tuning. PicoV1.jpeg The gtk widget "curve" is used to display the signal. This widget is deprecated by gtk developers. Does somebody know or use a gtk graphical tool that could ...
Hi,
Sorry for this silly question (in very poor english).
I haven't seen that parameters 2 and 3 of ps5000aRunBlock function give the number
of required samples.
Here is a better code.
Regards
Hi, 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...
Well, it's not so good.
If we check the 11a return value in the documentation. It's better than 3f (PICO_NOT_USED).
11a gives : PICO_POWER_SUPPLY_NOT_CONNECTED.
Perhaps it means that an external power supply is mandatory to play with this library ...
Hi Hitesh,
Thank you for your help.
I'm using a 5244A dual channel Picoscope and I'm using the dual-headed USB cable.
I have also tried to plug the power head in an auxiliary PC USB port and the second head in the Rasp.
No result.
Hi Hitesh,
Yes, I have tried running it with sudo command or as root.
Do you think that the raspberry usb ports give enough current for the picoscope ?
The pico is supplied with a double usb plug. Perhaps should I use an external power unit.
Hi, I'm a new user of the libps5000a.so library with gcc on a Raspberry. I have written my first C program with this library. No problem for linking and the functions are fully called by the main program. The first I've used is : ps5000aEnumerateUnits. It gives results. The picoscope is detected, it...