Memory / Buffer Management
Bases: PicoScopeBase, Sharedps5000aPs6000a
PicoScope 5000 (A) API specific functions
Methods:
| Name | Description |
|---|---|
memory_segments |
Configure the number of memory segments that the PicoScope will use. |
set_data_buffer |
Allocate and assign NumPy-backed data buffers |
set_data_buffer_for_enabled_channels |
Sets data buffers for enabled channels set by picosdk.set_channel() |
set_data_buffer_rapid_capture |
Allocates and assigns multiple data buffers for rapid block capture on a specified channel. |
set_data_buffers |
Allocate and assign max and min NumPy-backed data buffers |
memory_segments(n_segments)
Configure the number of memory segments that the PicoScope will use.
| Parameters: |
|
|---|
| Returns: |
|
|---|
set_data_buffer(channel, samples, segment=0, datatype=None, ratio_mode=cst.RATIO_MODE.NONE, action=None, buffer=None)
Allocate and assign NumPy-backed data buffers
| Parameters: |
|
|---|
| Returns: |
|
|---|
set_data_buffer_for_enabled_channels(samples, segment=0, datatype=cst.DATA_TYPE.INT16_T, ratio_mode=cst.RATIO_MODE.RAW, clear_buffer=False, captures=0)
Sets data buffers for enabled channels set by picosdk.set_channel()
| Parameters: |
|
|---|
| Returns: |
|
|---|
set_data_buffer_rapid_capture(channel, samples, captures, segment=0, datatype=DATA_TYPE.INT16_T, ratio_mode=RATIO_MODE.RAW, action=ACTION.CLEAR_ALL | ACTION.ADD)
Allocates and assigns multiple data buffers for rapid block capture on a specified channel.
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
set_data_buffers(channel, samples, segment=0, datatype=None, ratio_mode=cst.RATIO_MODE.AGGREGATE, action=None, buffers=None)
Allocate and assign max and min NumPy-backed data buffers
| Parameters: |
|
|---|
| Returns: |
|
|---|