Pico Communications PicoScope 2104, PicoScope 2105 manual 13 ps2000setets

Page 20

18

PicoScope 2104 & 2105 PC Oscilloscope User Guide

3.3.13 ps2000_set_ets

long ps2000_set_ets (

short

handle,

 

short

mode,

 

short

ets_cycles,

 

short

ets_interleave )

This function is used to enable or disable ETS (equivalent time sampling) and to set the ETS parameters.

Arguments

handle, the handle to the required device.

mode:

-PS2000_ETS_OFF (0) - disables ETS,

-PS2000_ETS_FAST(1) - enables ETS and provides ets_cycles of data, which may contain data from previously returned cycles,

-PS2000_ETS_SLOW (2) - enables ETS and provides fresh data every

ets_cycles cycles. This takes longer to provide each data set, but the data sets are more stable and are unique.

ets_cycles, specifies the number of cycles to store: the computer can then select ets_interleave cycles to give the most uniform spread of samples. ets_cycles should be between two and five times the value of ets_interleave.

ets_interleave, specifies the number of ETS interleaves to use. If the sample time is 20 ns and the interleave 10, the approximate time per sample will be 2 ns.

Returns

If ETS is enabled, the effective sample time will be returned.

0 if ETS is disabled or one of the parameters is out of range.

PS2100044-1.0

Copyright 2006 Pico Technology Limited. All rights reserved.

Image 20
Contents PicoScope 2104 Table of Contents Safety symbols IntroductionOverview IntroductionSafety warning FCC noticeCE notice Licence conditionsWarranty TrademarksCompany details AddressProduct information Minimum system requirementsInstallation instructions Checking the installationInput connector Connectors and controlsSpecifications Driver Driver error codesTechnical reference 2 ps2000flashled Functions1 ps2000closeunit 3 ps2000gettimebase 4 ps2000gettimesandvalues 5 ps2000getunitinfo Information returned Example6 ps2000getvalues 7 ps2000lastbuttonpress8 ps2000openunit 9 ps2000readyPs2000runblock 11 ps2000runstreaming Ps2000setchannel Code Enumeration Range13 ps2000setets Ps2000settrigger 15 ps2000stopSampling modes Advanced featuresMore on block mode More on streaming mode TriggeringETS Equivalent Time Sampling Voltage ranges7 AC/DC operation OversamplingScaling Reading VoltageCombining oscilloscopes Using different modes Using block modeUsing streaming mode Using ETS modeProgramming 1 CGUI example Console exampleVisual Basic DelphiExcel Agilent VEETroubleshooting Software error codesGlossary Real-time continuous mode Streaming modeGlossary PicoScope software TimebaseIndex ETSIndex USBInterworld Electronics & Computers Inc