---
title: "Replay candump or CSV"
description: "Play a candump or CSV recording onto a CAN bus"
source: https://developer.remotivelabs.com/docs/get-started/examples/replay-can
last_updated: 2026-11-24
---

# Replay candump or CSV

- Goal: Replay
- From: [Topology examples v0.9.0](https://github.com/remotivelabs/remotivelabs-topology-examples/tree/v0.9.0)
- Protocols: CAN
- Vehicle domains: Chassis
- Requires: Linux with RemotiveBus

## Run it

```bash
git clone https://github.com/remotivelabs/remotivelabs-topology-examples.git
cd remotivelabs-topology-examples

remotive topology build -f basic_restbus/instances/recording.instance.yaml build

docker compose -f build/basic_restbus_recording/docker-compose.yml up --build
```

Open and play recordings/sample_csv.recordingsession.yaml in RemotiveStudio, or with remotive broker playback as the example README shows.

Instead of setting the values of a [restbus](https://developer.remotivelabs.com/docs/get-started/examples/restbus.md) programmatically, you can load them from a recording, such as
a CSV file of signals or a candump of raw frames, and replay it onto the CAN bus.

- [Restbus example](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/README.md#playback-recorded-data)
- Instance file: [recording.instance.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/instances/recording.instance.yaml)
- Recording sessions: [sample_csv.recordingsession.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/sample_csv.recordingsession.yaml)
  (a single signal, `SteeringAngle.SteeringAngle`) and
  [sample_candump.recordingsession.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/sample_candump.recordingsession.yaml) (all frames in
  the database)

Build and start it:

```bash
remotive topology build -f basic_restbus/instances/recording.instance.yaml build
docker compose -f build/basic_restbus_recording/docker-compose.yml up --build
```

Then open the recording session, set it to repeat and play it from [RemotiveStudio](https://developer.remotivelabs.com/docs/remotive-studio)
or with `remotive broker playback`, as the [example README](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/README.md#playback-recorded-data) shows.

Notice:
- A recording session can transform signals, for when the recording comes from a different channel or platform than
  the one it is replayed on. [Signal playback](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/main/usecases/PLAYBACK_SIGNALS.md)
  in RemotiveCar shows a larger example.
- Read more about recordings in the [documentation](https://developer.remotivelabs.com/docs/remotive-topology/usage/recordings).

## Where it lives in the repo

- [basic_restbus/instances/recording.instance.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/instances/recording.instance.yaml)
- [basic_restbus/recordings/candump.log](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/candump.log)
- [basic_restbus/recordings/log.csv](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/log.csv)
- [basic_restbus/recordings/sample_candump.recordingsession.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/sample_candump.recordingsession.yaml)
- [basic_restbus/recordings/sample_csv.recordingsession.yaml](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/basic_restbus/recordings/sample_csv.recordingsession.yaml)

[Read this use case on GitHub](https://github.com/remotivelabs/remotivelabs-topology-examples/blob/v0.9.0/usecases/REPLAY_CAN.md)

## Works well with

- [Restbus](https://developer.remotivelabs.com/docs/get-started/examples/restbus.md): Send every frame of an ECU from its database, and set signal values from Python
- [Raw playback with video](https://developer.remotivelabs.com/docs/get-started/examples/raw-playback.md): Replay a recorded Tesla Model 3 drive, with its camera videos, onto its CAN buses
- [Signal playback](https://developer.remotivelabs.com/docs/get-started/examples/signal-playback.md): Recorded VSS signals, converted by models into platform signals
