Using Different Modes - PICO picoscope 3204 User Manual

Picoscope 3000 series pc oscilloscopes
Table of Contents

Advertisement

PicoScope 3000 Series User Guide
29
3.5

Using different modes

3.5.1
Introduction
The previous section on advanced features supplied the programmer with extended
information on PicoScope 3000 Series PC Oscilloscopes. The C sample program,
ps3000con.c, demonstrates how to use the functions of the driver software, and
includes examples showing how to use each of the modes available.
3.5.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 ps3000_stop.
3.5.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
3.5.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
Only the 3204/5/6 variants provide this function.
PS3000044 1.4
ps3000_open_unit
ps3000_run_block
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents