Picoscope 2206B & Ubuntu 18.04. Freezing RunBlock and RunStreaming functions.

Discussion forum for the new Picoscope Linux software
Post Reply
bizmish
Newbie
Posts: 0
Joined: Mon May 06, 2019 5:09 am

Picoscope 2206B & Ubuntu 18.04. Freezing RunBlock and RunStreaming functions.

Post by bizmish » Mon May 06, 2019 2:21 pm

Hi!
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, 2.1.0.570
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: 1.3.3.0
Firmware 2: 1.0.55.0
Regards,
Mikhail.

Martyn
Site Admin
Site Admin
Posts: 3724
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Picoscope 2206B & Ubuntu 18.04. Freezing RunBlock and RunStreaming functions.

Post by Martyn » Thu May 09, 2019 8:53 am

We would need to see you code to be able to comment on any potential issue, you can post it here or send it to support@picotech.com
Martyn
Technical Support Manager

Post Reply