![pico Technology PicoScope 3425 User Manual Download Page 17](http://html1.mh-extra.com/html/pico-technology/picoscope-3425/picoscope-3425_user-manual_1555395017.webp)
Programmer's reference
13
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.4
Sampling modes
PicoScope 3425 PC Oscilloscopes can run in various sampling modes.
At the highest sampling rates, the oscilloscope collects data much
faster than a PC can read it. To compensate for this, the oscilloscope stores a block
of data in an internal memory buffer, delaying transfer to the PC until the required
number of data points have been sampled.
At all but the highest sampling rates, these modes allow
accurately timed data to be transferred back to the PC without gaps. The
computer instructs the oscilloscope to start collecting data. The oscilloscope then
transfers data back to the PC without storing it in its own memory, so the size of
the data set is limited only by the size of the PC's memory. Sampling intervals
from less than one microsecond to 60 seconds are possible.
3.2.4.1
Block mode
In block mode, the computer prompts a PicoScope 3425 PC Oscilloscope to collect a
block of data into its internal memory. When the oscilloscope has collected the whole
block, it will signal that it is ready and then transfer the whole block to the computer's
memory through the USB port.
The maximum number of values depends upon the size of the oscilloscope's memory.
A PicoScope 3425 can sample at a number of different rates. These rates correspond
to the maximum sampling rate divided by 1, 2, 4, 8 and so on.
There is a separate memory buffer for each channel. When a channel is unused, its
memory can be borrowed by the enabled channels. This feature is handled
transparently by the driver.
The driver normally performs a number of setup operations before collecting each
block of data. This can take up to 50 milliseconds. If it is necessary to collect data
with the minimum time interval between blocks, avoid calling setup functions between
calls to
,
and
.
See
for programming details.
3.2.4.2
Using block mode
This is the general procedure for reading and displaying data in
1.
Open the oscilloscope using
2.
Select channel ranges and AC/DC coupling using
3.
, set the trigger if required
4.
, select timebases until the required number of
nanoseconds per sample is located
5.
Start the oscilloscope running using
6.
Wait until the oscilloscope says it is ready using
7.
Transfer the block of data from the oscilloscope using
or
8.
Display the data
9.
Repeat steps 5 to 8
10.
Stop the oscilloscope using
13
14
35
37
38
39
13
13
18
22
25
23
35
37
39
40
38
Summary of Contents for PicoScope 3425
Page 2: ......
Page 66: ......
Page 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...