diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py
index bf862fb2d329295dd79083021f4e2ee065480cc1..fa6df79d8ec613b77dc504e091d670b620a5256d 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -469,7 +469,7 @@ class OhmPiHardware:
         if 1. / self.rx.sampling_rate > pulse_duration:
             sampling_rate = 1. / pulse_duration  # TODO: check this...
         else:
-            sampling_rate = self.tx.sampling_rate
+            sampling_rate = self.rx.sampling_rate
         current, voltage = 0., 0.
         if self.tx.pwr.voltage_adjustable:
             self.tx.pwr.voltage = vab