Function redpitaya::acquire::sampling_rate_hz[][src]

pub fn sampling_rate_hz() -> Result<f32>

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.