Test and Measurement Forum

Rapid Block Mode in Ubuntu 16.04: setting up BlockReady

Post your Linux discussions here

Rapid Block Mode in Ubuntu 16.04: setting up BlockReady

Postby Lars2 » Tue Apr 24, 2018 3:00 pm


I am encoutering some problems using the RapidBlockMode of the PicoScope 6402C in Ubuntu 16.04. The driver version is PS6000 Linux Driver, and I updated and installed all files from your Debian repository. In my setup, the function calls are done with a wrapper in Python 3.5.

When trying to set the callback function BlockReady, I receive the following error message:
Code: Select all
`AttributeError: /opt/picoscope/lib/libps6000.so.2: undefined symbol: ps6000BlockReady`

So my questions would be: is the function call currently supported by the library you deliver and if so, how would I use it correctly? Any help as well as code examples are very much appreciated.

Edit: when listing the functions of the shared library by running
Code: Select all
nm -Dlibps6000.so.2.0.0
, the function ps6000BlockReady does not show up. From my understanding, without this callback function, the RapidBlockMode is not applicable. Is there any way to use it with other means?

Kind regards,
Posts: 0
Joined: Tue Apr 24, 2018 2:49 pm

Re: Rapid Block Mode in Ubuntu 16.04: setting up BlockReady

Postby Martyn » Wed Apr 25, 2018 12:34 pm

It will not show up, the ps6000BlockReady callback function is part of your application. You register it with the PicoScope 6000 Series driver using ps6000RunBlock, and the driver calls it back when block- mode data is ready. You can then download the data using the ps6000GetValues function.
Technical Support Manager
Site Admin
Site Admin
Posts: 3217
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests