class BrokenDummySensor(name: Union[str, NoneType] = None)

A dummy sensor returning the number of times it has been read. After a few reads, it fails, raising a RuntimeError.

Using this component during real protocol execution will result in a failure.


  • name (str, optional): The name of the Sensor.
  • rate (Quantity): Data collection rate in Hz. A rate of 0 Hz corresponds to the sensor being off.