EasyManuals Logo

pico Technology PicoScope 2000 Series Programmer's Guide

pico Technology PicoScope 2000 Series
68 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #37 background imageLoading...
Page #37 background image
API Functions
37Copyright © 20062022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.17 ps2000_run_block
int16_t ps2000_run_block
(
int16_t handle,
int32_t no_of_samples,
int16_t timebase,
int16_t oversample,
int32_t *time_indisposed_ms
)
This function tells the oscilloscope to start collecting data in block mode.
Applicability
Block mode only.
Arguments
handle: the oscilloscope of the required oscilloscope
no_of_samples: the number of samples to return
timebase: a code between 0 and the maximum timebase available
(consult the driver header file). Timebase 0 gives the maximum sample rate
available, timebase 1 selects a sample rate half as fast, timebase 2 is half as
fast again and so on. For the maximum sample rate, see the specifications
for your oscilloscope. The number of channels enabled may affect the
availability of the fastest timebases.
oversample: the oversampling factor, a number between 1 and 256. See
Oversampling for details.
time_indisposed_ms: a pointer to the approximate time, in milliseconds,
that the ADC will take to collect data. If a trigger is set, it is the amount of
time the ADC takes to collect a block of data after a trigger event,
calculated as (sample interval) x (number of points required). The actual
time may differ from computer to computer, depending on how quickly the
computer can respond to I/O requests.
Returns
0: if one of the parameters is out of range
non-zero: if successful

Table of Contents

Other manuals for pico Technology PicoScope 2000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the pico Technology PicoScope 2000 Series and is the answer not in the manual?

pico Technology PicoScope 2000 Series Specifications

General IconGeneral
Brandpico Technology
ModelPicoScope 2000 Series
CategoryTest Equipment
LanguageEnglish

Related product manuals