PicoScope 3000 series
13
4
Using different modes
4.1
Introduction
The previous section on advanced features aimed to supply the programmer with
extended information on PicoScope 3000 series oscilloscopes. The C sample program,
adc300con.c, demonstrates how to use the functions of the driver software, and
includes examples showing how to use each of the modes available.
4.2
Using block mode
This is the general procedure for reading and displaying data in block mode:
1 Open the oscilloscope using
2 Select channel ranges and AC/DC switches using
3 Using ps3000_set_trigger, set the trigger if required
4 Using ps3000_get_timebase, select timebases until the required ns per sample is
located
5 If required, set the signal generator frequency using
6 Start the oscilloscope running using
7 Wait until the oscilloscope says it is ready using
8 Transfer the block of data from the oscilloscope using
ps3000_get_times_and_values
9 Display the data
10 Repeat steps 6 to 9
11 Stop the oscilloscope using
4.3
Using streaming mode
This is the general procedure for reading and displaying data in streaming mode:
1 Open the oscilloscope using
2 Select channel ranges and AC/DC switches using
3 Start the oscilloscope running using
4 Transfer the block of data from the oscilloscope using
5 Display the data
6 Repeat steps 3 to 5 as necessary
7 Stop the oscilloscope using
4.4
Using ETS mode
This is the general procedure for reading and displaying data in ETS mode:
1 Open the oscilloscope using
2 Select channel ranges and AC/DC switches using
3 Using ps3000_set_trigger, set the trigger if required
4 Set ETS mode using
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
8 Display the data
9 Repeat steps 5 to 8 as necessary
10 Stop the oscilloscope using
ps3000_open_unit
ps3000_run_block
ps3000_stop
ps3000_open_unit
ps3000_run_streaming
ps3000_stop
ps3000_open_unit
ps3000_set_ets
ps3000_run_block
ps3000_stop
Copyright 2005 Pico Technology Limited. All rights reserved.
ps3000_set_channel
ps3000_set_siggen
ps3000_ready
ps3000_get_values
ps3000_set_channel
ps3000_get_values
ps3000_set_channel
ps3000_ready
ps3000_get_times_and_values
or