Module redpitaya::acquire[][src]

Modules

trigger

Enums

Decimation

Type representing decimation used at acquiring signal.

Gain
SamplingRate

Type representing acquire signal sampling rate.

Functions

acq_set_decimation_factor

Sets the decimation used at acquiring signal.

arm_keep

Gets status of continous acquirement even after trigger has happened.

averaging

Returns information if averaging of data between samples is enabled or disabled.

buffer_fill_state

Indicates whether the ADC buffer was full of data. The length of the buffer is determined by the delay. By default, the delay is half the buffer.

buffer_size
data_pos_raw

Returns the ADC buffer in raw units from start to end position.

data_pos_v

Returns the ADC buffer in Volt units from start to end position.

data_raw

Returns the ADC buffer in raw units from specified position.

data_raw_v2

Returns the ADC buffer in raw units from specified position.

data_v

Returns the ADC buffer in Volt units from specified position.

data_v2

Returns the ADC buffer in Volt units from specified position.

decimation

Gets the decimation used at acquiring signal.

decimation_factor

Gets the decimation factor used at acquiring signal in a numerical form.

gain

Returns the currently set acquire gain state in the library.

gain_v

Returns the currently set acquire gain in the library.

latest_data_raw

Returns the latest ADC buffer samples in raw units.

latest_data_v

Returns the latest ADC buffer samples in Volt units.

normalized_data_pos

Normalizes the ADC buffer position.

oldest_data_raw

Returns the ADC buffer in raw units from the oldest sample to the newest one.

oldest_data_v

Returns the ADC buffer in Volt units from the oldest sample to the newest one.

reset

Resets the acquire writing state machine.

sampling_rate

Gets the sampling rate for acquiring signal.

sampling_rate_hz

Gets the sampling rate for acquiring signal in a numerical form in Hz.

set_arm_keep

Enables continous acquirement even after trigger has happened.

set_averaging

Enables or disables averaging of data between samples.

set_decimation

Sets the decimation used at acquiring signal.

set_gain

Sets the acquire gain state.

set_sampling_rate

Sets the sampling rate for acquiring signal.

start

Starts the acquire.

stop

Stops the acquire.

write_pointer

Returns current position of ADC write pointer.

write_pointer_at_trig

Returns position of ADC write pointer at time when trigger arrived.