Function redpitaya::acquire::get_sampling_rate_hz [] [src]

pub fn get_sampling_rate_hz() -> Result<f32, String>

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

Although this method returns a float value representing the current value of the sampling rate, there is only a set of pre-defined sampling rate values which can be returned. See the SamplingRate enum values.