Drivers for BeagleBoneBlack and Raspberry Pi

Discussion forum for the Picoscope 6 Linux software
DigitalArcSystems
Newbie
Posts: 0
Joined: Tue Jul 19, 2016 8:54 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by DigitalArcSystems »

Hi!
I'm enjoying these drivers and have recently moved up from a PicoScope 2000 class scope to a Picoscope 3403D. When I installed libps3000 I didn't recieve all of the same files as when I installed the libps2000.

The libps2000 Files included:

Code: Select all

aclocal.m4 compile       config.h     config.log     config.sub  depcomp     libtool    m4        
Makefile.in  ps2000con    stamp-h1 autom4te.cache  config.guess  config.h.in  config.status
configure   install-sh  ltmain.sh  Makefile  missing      PS2000con.o
The libps3000 files were only:

Code: Select all

Copyright usbtest
Where can I find the rest of these files? I need them to develop the software we're working on. Thanks!

Noah Ternullo

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

For the Picoscope 3403D you will need libps3000a, not libps3000 which is for the very old 3000 series devices.
Martyn
Technical Support Manager

DigitalArcSystems
Newbie
Posts: 0
Joined: Tue Jul 19, 2016 8:54 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by DigitalArcSystems »

Thanks!
I thought that might be the case so I tried installing that driver as well. I have the exact same issue. Where can I find the C files, example program, etc for the libps3000a on a Raspberry Pi?

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

From memory I think opt/pico, or a directory underneath, but I will have to check when back in the office tomorrow.
Martyn
Technical Support Manager

DigitalArcSystems
Newbie
Posts: 0
Joined: Tue Jul 19, 2016 8:54 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by DigitalArcSystems »

Thanks for looking into this for me. The file structure is as follows:

/opt/picoscope/
|
|--------- lib This is where the .so files are stored
|
|--------- include This is where the header files are stored
|
|--------- share/doc/libps3000a This is where I would expect the C files for the example/test application to be,
but they appear to be missing.

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

They are not in the latest release, not sure why, attached is the example code from the previous release, try using these files
Attachments
libps3000a.zip
Example App
(21.59 KiB) Downloaded 477 times
Martyn
Technical Support Manager

DigitalArcSystems
Newbie
Posts: 0
Joined: Tue Jul 19, 2016 8:54 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by DigitalArcSystems »

Thanks again!
The files look to be exactly what I needed. The issue I have is that they don't appear to be working. That is, using the compiled sample program provided, I can find and open my PicoScope, but any attempt to get data from it results in either a repeating exception or no data being obtained. Hmm. Any suggestions? I'll post more details as I get them.

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

Can you post the errors, then we can see what they are linked to.
Martyn
Technical Support Manager

DigitalArcSystems
Newbie
Posts: 0
Joined: Tue Jul 19, 2016 8:54 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by DigitalArcSystems »

Here's a couple of them:

1st on attempt to obtain a block of Data:

B - Immediate block V - Set voltages
T - Triggered block I - Set timebase
E - Collect a block of data using ETS A - ADC counts/mV
R - Collect set of rapid captures
S - Immediate streaming
W - Triggered streaming
X - Exit
Operation:

Collect block immediate...
Press a key to start

Timebase: 2 SampleInterval: 4nS oversample: 1
Waiting for trigger...Press a key to abort
BlockDataHandler:ps3000aGetValues ------ 0x00000046
Status 46: PICO_BUFFERS_NOT_SET
An attempt was made to get data before a data buffer was defined

Here's an attempt to set the Voltages

PS3000A driver example program

Enumerating Units...
Found one device, opening...

Handle: 1
Device opened successfully, cycle 1

Model : 3403D
S/N : DU009/010


Readings will be scaled in (mV)



B - Immediate block V - Set voltages
T - Triggered block I - Set timebase
E - Collect a block of data using ETS A - ADC counts/mV
R - Collect set of rapid captures
S - Immediate streaming
W - Triggered streaming
X - Exit
Operation:

0 -> 10 mV
Specify voltage range (0..0)
99 - switches channel off

** At least 1 channel must be enabled **

Specify voltage range (0..0)
99 - switches channel off

** At least 1 channel must be enabled **

Specify voltage range (0..0)
99 - switches channel off

[THIS REPEATS]



Thanks,


Noah

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

I would suggest cutting the code back to basics and add in the calls in sequence, not using the console menu, to make a simple block collection routine.
Martyn
Technical Support Manager

manasi
Newbie
Posts: 0
Joined: Fri Nov 04, 2016 10:45 am

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by manasi »

Hi,

I am using pico data logger TC-08 and want to use it with my raspberry pi3 (newer model B). I referred this website "https://www.picotech.com/downloads/linux" to install the drivers for raspberry pi. I read somewhere it is the same for debian and raspberry pi since it is based on debian.

At the first step when I run this command "sudo bash -c 'echo "deb http://labs.picotech.com/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope.list' ", I get this message "bash: /etc/apt/sources.list.d/picoscope.list: No such file or directory."

Not sure what is the issue. Do you have any idea about why its not working?

Regards,
Mansi

Hitesh

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Hitesh »

Hi Mansi,

Did you run the command

Code: Select all

sudo bash -c 'echo "deb http://labs.picotech.com/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope.list'
as a single line?

Regards,

Lotharyx
Newbie
Posts: 0
Joined: Tue Dec 02, 2014 9:55 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Lotharyx »

Without meaning to hijack the topic (too much, anyway ;-) )...is there any plan to release the PicoScope application for armhf architecture? Is it that big of a deal to build the application to target armhf, now that the drivers are done? (I have no idea)

I'd like to add my vote for that to be released! Thanks!

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

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by Martyn »

Not at the present time, we are looking to get Mac and Linux versions fully compatible with Windows before this would be considered.
Martyn
Technical Support Manager

maltman1
Newbie
Posts: 0
Joined: Tue Dec 06, 2016 5:01 pm

Re: Drivers for BeagleBoneBlack and Raspberry Pi

Post by maltman1 »

Hi,
I just loaded the libps4000 and libps2000a to my raspberry pi and there are no sample apps in either one of these library directories, just the usbtest app. Any idea where I can get the sample apps?

Post Reply