I use the ps2000a library on Ubuntu 18.04 64bit.
I have successfully compiles example ps2000aCon.c. It works propertly.
PicoScope 6 works propertly also.
I am writing digitizer module based on code from the example, with almost no changes,
for another application. The device is open successfully, it functions for setting
channels, timebase, and trigger work as expected, but the application is frozen
on ps2000aRunBlock and ps2000aRunStreaming functions.
The digitizer module is a shared library for application (known in science as the fsc2).
What prevents the exit of these functions?
I assume that the problem with threads.
Code: Select all
PicoScope 2000 Series (A API) Driver Example Program Version 2.3 Opening the device... Handle: 1 Device opened successfully, cycle 1 Driver Version: PS2000A Linux Driver, 22.214.171.1240 USB Version: 2.0 Hardware Version: 1 Variant Info: 2206B Serial: GQ870/0235 Cal Date: 02Oct18 Kernel: 0.0 Digital H/W: 1 Analogue H/W: 1 Firmware 1: 126.96.36.199 Firmware 2: 188.8.131.52