# Routing with Buttons

> Route two sources to one monitor and switch between them from Bitfocus Buttons over the Videohub protocol.

Build two sources feeding one monitor, then change the route from a real control surface. Use it to teach the distinction between cabling and routing or to demonstrate Buttons at a trade show.

## Before you begin

Complete [your first working signal](/docs/bitfocus-training-studio/v1.7.15/getting-started/first-studio). Have Buttons available on the same Mac or a reachable LAN computer. Use the current hub endpoint shown in Studio rather than assuming a port.

## Steps

![Buttons changes the Videohub crosspoint while the cables between two Idents, the router, and a Monitor stay connected.](https://bitfocus.io/api/docs-media/file/cables-and-crosspoints.svg?prefix=docs-media)

1. Give two Ident sources different banners, `CAM A` and `CAM B`.
2. In Video Patch, connect them to Videohub inputs 1 and 2, and connect output 1 to a Monitor.
3. Name the hub ports so their purpose is visible in both Studio and the controller.
4. Select the Videohub and note its actual TCP port; allocation starts at `9990`.
5. In Buttons, add a connection supporting the Blackmagic Videohub protocol. Enter the operating Studio station's address and hub port. On the same Mac use `127.0.0.1`.
6. Configure two buttons that route inputs 1 and 2 respectively to output 1.
7. Press the buttons while watching Studio's Routing section and monitor picture.

## Check the result

Both the displayed banner and the hub's route change. The cable connections in the diagram stay the same. A route changed inside Studio should also be reported back to the connected controller.

## If the demonstration stalls

No controller connection: check address, TCP port, listener state, and device owner in Stations. Connected but wrong picture: inspect the input cable, then the output crosspoint. Use the module's port labels to avoid confusing human-facing numbering with protocol indexes.

To reset, route output 1 to input 1. To make a camera demonstration, replace an Ident with a Camera once routing works.

**Related:** [Video routing and displays](/docs/bitfocus-training-studio/v1.7.15/features/video-routing), [External control](/docs/bitfocus-training-studio/v1.7.15/features/control).
