Struct redpitaya_scpi::acquire::Acquire
[−]
[src]
pub struct Acquire { /* fields omitted */ }
Methods
impl Acquire
[src]
fn new(socket: Socket) -> Self
fn start(&mut self)
Starts acquisition.
fn stop(&mut self)
Stops acquisition.
fn is_started(&self) -> bool
fn reset(&self)
Stops acquisition and sets all parameters to default values.
fn set_decimation(&self, decimation: Decimation)
Set decimation factor.
fn get_decimation(&self) -> Decimation
Get decimation factor.
fn enable_average(&self)
Enable averaging.
fn disable_average(&self)
Disable averaging.
fn is_average_enabled(&self) -> bool
Get averaging status.
fn set_gain(&self, source: Source, gain: Gain)
Set gain settings to HIGH or LOW.
This gain is referring to jumper settings on Red Pitaya fast analog inputs.
Trait Implementations
impl Clone for Acquire
[src]
fn clone(&self) -> Acquire
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more