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.

Page 20
Image 20
Pico Communications PicoScope 2104, PicoScope 2105 manual 13 ps2000setets