# BrokenDummySensor

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.

WARNING

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

# Attributes

  • 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.