Pico Communications PicoScope 2105, PicoScope 2104 manual Ps2000runblock

Page 17

 

 

 

Technical reference

 

 

 

 

 

ps2000_run_block

 

 

 

 

 

3.3.10

 

 

 

short ps2000_run_block (

short

handle,

 

 

long

no_of_samples,

 

 

short

timebase,

 

 

short

oversample,

 

 

long

* time_indisposed_ms )

This function tells the unit to start collecting data in block mode.

15

Arguments

handle, the handle to the required device.

no_of_samples, the number of samples to return.

timebase, a code between 0 and the maximum timebase (depending on variant). Timebase 0 is the fastest timebase, equal to the maximum sampling frequency () given in the specifications. Each successive timebase is half the frequency of the previous one. , the sampling frequency, is given by:

oversample, the oversample factor, a number between 1 and 256. See oversampling for more information.

time_indisposed_ms, a pointer to the time_indisposed_ms. This is the approximate time, in milliseconds, that the ADC will take to collect data. If a trigger is set, it is measured from the trigger event. It is calculated as:

(sample interval) x (number of samples required)

Note: The actual time may differ from computer to computer, depending on how fast the computer can respond to I/O requests.

Returns

0 if one of the parameters is out of range, otherwise 1.

Copyright 2006 Pico Technology Limited. All rights reserved.

PS2100044-1.0

Image 17
Contents PicoScope 2104 Table of Contents Introduction Safety symbolsOverview IntroductionFCC notice Safety warningLicence conditions CE noticeTrademarks WarrantyCompany details AddressMinimum system requirements Product informationChecking the installation Installation instructionsInput connector Connectors and controlsSpecifications Driver Driver error codesTechnical reference 2 ps2000flashled Functions1 ps2000closeunit 3 ps2000gettimebase 4 ps2000gettimesandvalues Information returned Example 5 ps2000getunitinfo7 ps2000lastbuttonpress 6 ps2000getvalues9 ps2000ready 8 ps2000openunitPs2000runblock 11 ps2000runstreaming Code Enumeration Range Ps2000setchannel13 ps2000setets 15 ps2000stop Ps2000settriggerSampling modes Advanced featuresMore on block mode Triggering More on streaming modeETS Equivalent Time Sampling Voltage rangesOversampling 7 AC/DC operationScaling Reading VoltageCombining oscilloscopes Using block mode Using different modesUsing streaming mode Using ETS mode1 C ProgrammingGUI example Console exampleDelphi Visual BasicExcel Agilent VEESoftware error codes TroubleshootingGlossary Streaming mode Real-time continuous modeGlossary PicoScope software TimebaseETS IndexUSB IndexInterworld Electronics & Computers Inc