code: def rsl_dump_stream_next(self, output_format):
          
  
          timestamp = 0
          stream_id = 0
          value = 0
          reading_id = 0
          error = Error.NO_ERROR
  
          reading = self.sensor_log.dump_next()
          if reading is not None:
              timestamp = reading.raw_time
              stream_id = reading.stream
              value = reading.value
              reading_id = reading.reading_id
          else:
              error = pack_error(ControllerSubsystem.SENSOR_LOG, SensorLogError.NO_MORE_READINGS)
  
          if output_format == 0:
              return [struct.pack("<LLL", error, timestamp, value)]
          elif output_format != 1:
              raise ValueError("Output format other than 1 not yet supported")
  
          return [struct.pack("<LLLLH2x", error, timestamp, value, reading_id, stream_id)]
docs: Dump the next reading from the output stream.