PicoScope 7 Software
Available on Windows, Mac and Linux
and it is running on a laptop with the following uname -a output:Code: Select all
Driver Version: 3.6.2.0 Linux USB Version: 2.0 Hardware Version: 16 Variant Info: 2205 Serial: AU333/360
The code must be recompiled to change which channel is enabled (lines 72 & 77), with the 3rd parameter controlling the enablement. (This is just for general reference.)Code: Select all
Linux localhost.localdomain 2.6.32.26-175.fc12.i686 #1 SMP Wed Dec 1 21:52:04 UTC 2010 i686 i686 i386 GNU/Linux
Code: Select all
martyn@ubuntu:~/pico/ps2000$ ./picotest
Handle: 1
Device opened successfully
Driver Version: 3.6.2.0 Linux
USB Version: 2.0
Hardware Version: 16
Variant Info: 2204
Serial: AY149/118
Model 2205 supported
count=50
0 : 42 0
1 : 42 0
2 : 42 0
3 : 42 0
4 : 42 0
5 : 42 0
6 : 42 0
7 : 42 0
8 : 42 0
9 : 42 0
10 : 42 0
11 : 42 0
12 : 42 0
13 : 42 0
14 : 42 0
15 : 42 0
16 : 42 0
17 : 42 0
18 : 42 0
19 : -261 0
20 : -261 0
21 : -261 0
22 : 42 0
23 : 42 0
24 : 42 0
25 : 42 0
26 : 42 0
27 : -261 0
28 : 42 0
29 : -261 0
30 : 42 0
31 : 42 0
32 : 42 0
33 : 42 0
34 : 42 0
35 : 42 0
36 : -261 0
37 : -261 0
38 : 42 0
39 : 42 0
40 : 42 0
41 : 42 0
42 : 42 0
43 : 42 0
44 : 42 0
45 : 42 0
46 : -261 0
47 : 42 0
48 : -261 0
49 : -261 0
martyn@ubuntu:~/pico/ps2000$ ./picotest
Handle: 1
Device opened successfully
Driver Version: 3.6.2.0 Linux
USB Version: 2.0
Hardware Version: 16
Variant Info: 2204
Serial: AY149/118
Model 2205 supported
count=50
0 : 0 -165
1 : 0 137
2 : 0 137
3 : 0 -165
4 : 0 -165
5 : 0 137
6 : 0 137
7 : 0 -165
8 : 0 -165
9 : 0 137
10 : 0 -165
11 : 0 137
12 : 0 137
13 : 0 137
14 : 0 137
15 : 0 137
16 : 0 137
17 : 0 -165
18 : 0 -165
19 : 0 -165
20 : 0 -165
21 : 0 137
22 : 0 -165
23 : 0 137
24 : 0 -165
25 : 0 137
26 : 0 137
27 : 0 137
28 : 0 137
29 : 0 137
30 : 0 137
31 : 0 137
32 : 0 -165
33 : 0 137
34 : 0 137
35 : 0 137
36 : 0 -165
37 : 0 137
38 : 0 137
39 : 0 137
40 : 0 -165
41 : 0 -165
42 : 0 -165
43 : 0 137
44 : 0 -165
45 : 0 137
46 : 0 137
47 : 0 137
48 : 0 -165
49 : 0 137
martyn@ubuntu:~/pico/ps2000$ ./picotest
Handle: 1
Device opened successfully
Driver Version: 3.6.2.0 Linux
USB Version: 2.0
Hardware Version: 16
Variant Info: 2204
Serial: AY149/118
Model 2205 supported
count=50
0 : 42 137
1 : 42 137
2 : 42 137
3 : 42 137
4 : 42 137
5 : 42 137
6 : 345 137
7 : 42 137
8 : 345 137
9 : 42 137
10 : 42 -165
11 : 42 137
12 : 42 137
13 : 42 137
14 : 42 137
15 : 42 137
16 : 42 137
17 : 42 137
18 : 42 137
19 : 42 137
20 : 42 137
21 : 42 137
22 : 42 137
23 : 42 137
24 : 42 137
25 : 42 137
26 : 42 137
27 : 42 137
28 : 42 137
29 : 42 137
30 : 42 137
31 : 42 137
32 : 42 137
33 : 42 137
34 : 42 137
35 : 42 137
36 : 42 137
37 : 42 137
38 : 42 137
39 : 42 137
40 : 42 137
41 : 42 137
42 : 42 137
43 : 42 137
44 : 42 137
45 : 42 137
46 : 42 137
47 : 42 137
48 : 42 137
49 : 42 137
martyn@ubuntu:~/pico/ps2000$
Code: Select all
ps2000_run_block(handle, 50, 2, 1, &runtime);
for(; ; )
if(ps2000_ready(handle) == 1)
break;
(The table should be viewed in a proportional font.) For 320ns sampling rate, I can obtain about 6000 samples, not the 8000-odd that the code report ought to be available from get_timebase.rate/ns | 32| 64|128|256|512|
10| 0| 0| 0| 0|139|
20| 0| 0|139|139|139|
40| 0|139|139| 0|139|
80|139|139| 0|139|139|
160|139|139|139|139|139|
320| 0| 0| 0| 0| 0|
640| 0| 0| 0| 0| 0|
1280| 0| 0| 0| 0| 0|
2560| 0| 0| 0| 0| 0|
5120| 0| 0| 0| 0|139|
10240| 0| 0| 0|139| 0|
20480| 0| 0| 0|139|139|
40960| 0|139|139|139|139|
81920|139|139| 0|139|139|
163840|139|139|139|139|139|
327680| 0| 0| 0| 0| 0|
655360| 0| 0| 0| 0| 0|
1310720| 0| 0| 0| 0| 0|
2621440| 0| 0| 0| 0| 0|
5242880| 0| 0| 0| 0|139|
10485760| 0| 0| 0|139|139|
20971520| 0| 0|139|139| 0|
41943040| 0|139|139|139|139|