I've seen that you provide Linux drivers for the PT-104, but I could not find any software or SDK download.
Could you tell me how I could go about using the PT-104 from a CentOS (5 or 6) machine, preferably through ethernet?
Drivers for USB PT-104 are in the libusbpt104 package. Configure repository as explained here https://www.picotech.com/downloads/linux and install it. Then navigate to /opt/picoscope/share/doc/libusbpt104 to find an C example. Note that communicating via ethernet your Linux application will require root privileges.
Missing Dependency: libusb-1.0.so.0 is needed by package libusbpt104-1.0.4-1r06.i386 (picoscope)
Error: Missing Dependency: libusb-1.0.so.0 is needed by package libusbpt104-1.0.4-1r06.i386 (picoscope)
Is there a way to solve this?
aLondon
-->
Hi Mario,
Many thanks for the procedure. I managed to set up the repository, however when installing libusbpt104, it failed with the following message:
libusbpt104-1.0.4-1r06.i386 from picoscope has depsolving problems
--> Missing Dependency: libusb-1.0.so.0 is needed by package libusbpt104-1.0.4-1r06.i386 (picoscope)
Error: Missing Dependency: libusb-1.0.so.0 is needed by package libusbpt104-1.0.4-1r06.i386 (picoscope)
Yes, you need to install a package providing this dependency. Since CentOS 5 doesn't have it in standard repositories you need to search for it in your favorite search engine. One of the examples found is here. Download it and install by running rpm -i .
Many thanks for the pointer, I didn't notice it was a Linux library.
Once this was sorted, and after a few more attempts (Linux issues), I managed to run the demo program, which worked. I am now in a good starting place to figure something out with the logger. Thanks again for your help.
In case it's helpful and relevant, I've noticed 2 bugs (which might be Linux ones):
#1. Running ./autogen throws an error from aclocal which cannot find the m4 directory. Creating an empty m4 directory solves the problem; maybe this could be added to autogen ?
#2. Running ./configure throws an error about an unexpected fi at line 18833. In the configure file I have (from the Pico installation file), there's indeed an empty else statement line 18833. Simply adding a : after the else resolved the problem. Maybe this could be fixed too?
Thanks for the pointers about autotools. They are probably occur on your system due to older versions not recognizing syntax correctly. I put them however into our bug tracking system to get them fixed for the next release.