ETS Setup

Bases: PicoScopeBase, Sharedps5000aPs6000a

PicoScope 5000 (A) API specific functions

Methods:

Name Description
set_ets

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

set_ets_time_buffer

This function tells the driver where to find your application's ETS time buffers.

set_ets_time_buffers

This function tells the driver where to find your application's ETS time buffers. These

set_ets(mode, cycles, interleave)

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

Parameters:
  • mode (ETS_MODE) –

    The ETS mode to set.

  • cycles (int) –

    The number of cycles to sample.

  • interleave (int) –

    The interleave mode to use.

Returns:
  • int( int ) –

    The sample time in picoseconds.

set_ets_time_buffer(samples, buffer=None)

This function tells the driver where to find your application's ETS time buffers. These buffers contain the 64- bit timing information for each ETS sample after you run a block-mode ETS capture.

Parameters:
  • samples (int) –

    The number of samples to set the ETS time buffer for.

  • buffer (None | ndarray, default: None ) –

    A single or double numpy array. If None, a buffer will be created. A single numpy array contains a 64-bit integer for each sample. A double numpy array contains a upper and lower unsinged32-bit integer for each sample.

Returns:
  • ndarray

    np.ndarray: The buffer set. If created, the buffer will be returned.

set_ets_time_buffers(samples, buffers=None)

This function tells the driver where to find your application's ETS time buffers. These buffers contain the timing information for each ETS sample after you run a block-mode ETS capture. There are two buffers containing the upper and lower 32-bit parts of the timing information, to allow programming languages that do not support 64-bit data to retrieve the timings. If your programming language supports 64-bit data, you can use set_ets_time_buffer(samples, buffer) instead.

Parameters:
  • samples (int) –

    The number of samples to set the ETS time buffers for.

  • buffers (None | ndarray | list[ndarray], default: None ) –

    A double numpy array or list of two single numpy arrays. If None, a buffer will be created.

Returns:
  • ndarray

    np.ndarray: The buffers set. If created, the buffers will be returned.