API Functions
47
Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.
ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.25
ps2000_set_ets
int32_t ps2000_set_ets
(
int16_t handle,
int16_t mode,
int16_t ets_cycles,
int16_t ets_interleave
)
This function is used to enable or disable
and to set the ETS parameters.
Applicability
Not PicoScope 2202
Argument s
handle
: the handle of the required oscilloscope
mode
:
PS2000_ETS_OFF (0)
- disables ETS
PS2000_ETS_FAST (1)
- enables ETS and provides
ets_cycles
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.
PS2000_ETS_SLOW
takes longer to provide each
data set, but the data sets are more stable and unique
ets_cycles
: 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
: 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
The effective sample time in picoseconds, if ETS is enabled
0: if ETS is disabled or one of the parameters is out of range
Summary of Contents for PicoScope 2000 Series
Page 1: ...Programmer s Guide ps2000pg en 12 PC Oscilloscopes PicoScope 2000 Series ...
Page 2: ......
Page 67: ......