Thanks a lot for your response. I do not have much experience with developing under Linux environment, so let me try to understand your questions.
1. Does the PicoScope 3406D work when connected to the PicoScope 6 software on the CentOS platform?
ND: I do not know what you mean by PicoScope 6 software. I downloaded the libraries and headers a few months ago for my PS3406B machine. It works like with those libraries. Specifically, here are the .so files in my /opt/Picoscope/lib directory:
-rw-r--r--. 1 root root 1213154 Jan 24 2014 libiomp5.so
lrwxrwxrwx. 1 root root 19 May 12 17:46 libpicoipp.so -> libpicoipp.so.1.0.1
lrwxrwxrwx. 1 root root 19 May 12 17:46 libpicoipp.so.1 -> libpicoipp.so.1.0.1
-rwxr-xr-x. 1 root root 23301686 Jan 24 2014 libpicoipp.so.1.0.1
lrwxrwxrwx. 1 root root 19 May 12 17:46 libps3000a.so -> libps3000a.so.2.0.0
lrwxrwxrwx. 1 root root 19 May 12 17:46 libps3000a.so.2 -> libps3000a.so.2.0.0
-rwxr-xr-x. 1 root root 4680408 Jan 28 2015 libps3000a.so.2.0.0
2. Which version of the libps3000a driver are you using? Does running the usbtest application detect the PicoScope?
when I run shared/doc/libps3000a/usbtest on command line, I get this message
" Pico USB device not found. Please try again"
I believe the current version is 1.4.5.-6r40. Here are some details.
sudo yum install libps3000a
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.sesp.northwestern.edu
* extras: mirror.vtti.vt.edu
* updates: mirror.netdepot.com
--> Running transaction check
---> Package libps3000a.x86_64 0:1.4.4-6r45 will be updated
---> Package libps3000a.x86_64 0:1.4.5-6r40 will be an update
--> Finished Dependency Resolution
Package Arch Version Repository Size
libps3000a x86_64 1.4.5-6r40 picoscope 1.7 M
Upgrade 1 Package(s)
Total download size: 1.7 M
Is this ok [y/N]: y
libps3000a-1.4.5-6r40.x86_64.rpm | 1.7 MB 00:01
Running Transaction Test
Transaction Test Succeeded
Updating : libps3000a-1.4.5-6r40.x86_64 1/2
Cleanup : libps3000a-1.4.4-6r45.x86_64 2/2
Verifying : libps3000a-1.4.5-6r40.x86_64 1/2
Verifying : libps3000a-1.4.4-6r45.x86_64 2/2
I do not have the usbtest application in the installation CD I got (Picoscope R6.10.11). What is the source code for that application and how do I compile it? How do I get that application?
3. Here is another confusing thing:
I am trying to run the machine in centOS VM. When I first connect the machine, the computer OS asks whether it should be connected to Mac or Linux. I select Linux. But when I run my executable, it asks the same question again in a pop-up window. I select Linux again. After that, a new pop-up window informs me that
"The device "PicoScope 4000 Series PC Oscilloscope" was unable to connect to its ideal host controller.
An attempt will be made to connect this device to the best available host controller. This might result in undefined behavior for this device".
I select OK and the result comes as "no pico device found", which is my own display text for no device found.
BTW, I can use the machine in a windows box using the GUI.
thanks a lot for all your help,