Search found 11 matches

by tobczo
Sat Feb 14, 2015 7:42 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario, great news! Actually, we have entered a "production phase", and I am not allowed to change the configuration now. My solution is to keep the connection with picoscopes. So I just don't disconnect after each measurement. I have 4 picoscopes read-out by a PC and one by Raspberry Pi. They h...
by tobczo
Mon Feb 02, 2015 1:09 pm
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario,

I have just realized, that the picoscopes are plugged into a usb 1.1 port.

Could that cause the problems?
by tobczo
Sat Jan 31, 2015 12:07 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario,

my bad - it seems that on 64bit machine I had to link one more library..

Buy anyhow, I see you reached loop 65. I always catch exception "11" in loop 42.

Cheers,
Tobiasz
by tobczo
Fri Jan 30, 2015 10:24 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario,

unfortunately, I can't compile my program with new libps3000a.so :(

I attached source of my test program. Maybe I do something wrong?

Tobiasz
by tobczo
Fri Jan 23, 2015 11:39 pm
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario, finally I had time to come back to the exception issue... So to make things simple, I wrote a program that connects and disconnects to 3 picoscopes in a loop with few second sleep in between. I also installed Your version of libusb-1. Unfortunately I still get exception 11 and PICO_OPEN_...
by tobczo
Fri Dec 12, 2014 8:35 pm
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario, it took some time to wait for the exception to appear... Indeed, as You expected, when I caught exception 11, handle was equal to -1. I am sure &handle is a valid address. I do not use asynchronous picoscope opening. I use libusb-1, version 2:1.0.11-1 (from debian wheezy repositories). I...
by tobczo
Fri Dec 05, 2014 7:34 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario,

as you suggested, I have caught the exception.
It is number 11.
Since I catch it, it no longer terminates my program.
Each following call to ps3000aOpenUnit() results with
PICO_OPEN_OPERATION_IN_PROGRESS...

Tobiasz
by tobczo
Fri Nov 28, 2014 9:03 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

The segfault is, indeed, gone! Thank you!

Unfortunately from time to time now I get:
"terminate called after throwing an instance of 'unsigned int'"
while using ps3000aOpenUnit...

Tobiasz
by tobczo
Tue Nov 11, 2014 1:51 pm
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mario,

great news! As soon as I find some time (next week, maybe?), I'll test this new release and let you know how it goes.

Regards,
Tobiasz
by tobczo
Sun Nov 09, 2014 7:37 pm
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

Re: libps3000a.so segfault

Dear Mariusz, each time I connect a picoscope, there appears: usb 2-1.3: new full-speed USB device number 51 using uhci_hcd usb 2-1.3: New USB device found, idVendor=0ce9, idProduct=1012 usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-1.3: Product: PicoScope 3000 usb 2-1.3:...
by tobczo
Sat Nov 01, 2014 8:17 am
Forum: PicoScope 6 for Linux
Topic: libps3000a.so segfault
Replies: 17
Views: 81508

libps3000a.so segfault

Hello, I get a segfault trying to open the device: picoscope[32666]: segfault at 0 ip b71ef0cb sp b52fd9b0 error 4 in libps3000a.so.2.0.0[b712d000+45f000] I have 4 picoscopes 3406B connected to one computer via an usb hub. My program opens one picoscope, does block readout from three channels 200 ti...