Using Different Modes - PICO PicoScope 2104 User Manual

Pc oscilloscopes
Table of Contents

Advertisement

PicoScope 2104 & 2105 PC Oscilloscope User Guide
24
3.5

Using different modes

3.5.1
Introduction
The previous section on advanced features supplied the programmer with extended
information on PicoScope 2000 Series PC Oscilloscopes. The
ps2000con.c
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 unit using
2.Select channel range and AC/DC switch using
3.Using ps2000_set_trigger(), set the trigger if required
4.Using ps2000_get_timebase(), select timebases until the required time per sample
in nanoseconds is located
5.Start the unit running using
6.Wait until the unit says it is ready using
7.Transfer the block of data from the unit using
ps2000_get_times_and_values()
8.Display the data
9.Repeat steps 5 to 8 as many times as necessary
10.Stop the unit using ps2000_stop().
3.5.3
Using streaming mode
This is the general procedure for reading and displaying data in streaming mode:
1.Open the unit using
2.Select channel range and AC/DC switch using
3.Start the unit running using
4.Transfer the block of data from the unit using
5.Display the data
6.Repeat steps 4 to 5 as necessary
7.Stop the unit using
3.5.4
Using ETS mode
This is the general procedure for reading and displaying data in
1.Open the unit using
2.Select channel range and AC/DC switch using
3.Using ps2000_set_trigger(), set the trigger if required
4.Set ETS mode using
5.Start the unit running using
6.Wait until the unit says it is ready using
7.Transfer the block of data from the unit using
8.Display the data
9.Repeat steps 5 to 8 as necessary
10.Stop the unit using
PS2100044-1.0
, demonstrates how to use the functions of the driver software, and
ps2000_open_unit()
ps2000_run_block()
ps2000_open_unit()
ps2000_run_streaming()
ps2000_stop()
ps2000_open_unit()
ps2000_set_ets()
ps2000_run_block()
ps2000_stop()
ps2000_set_channel()
ps2000_ready()
ps2000_get_values()
ps2000_set_channel()
ps2000_get_values()
ps2000_set_channel()
ps2000_ready()
ps2000_get_times_and_values()
Copyright 2006 Pico Technology Limited. All rights reserved.
C
sample program,
or
ETS
mode:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Picoscope 2105

Table of Contents