# boulderopalscaleup.QctrlScaleUpClient.set_current_device

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/client/set_current_device

```python
*async* QctrlScaleUpClient.set_current_device(device_name)
```

Set which device to use in routines and experiments.

### Parameters
**device_name** (*str*) – The name of the device to mark as the current device.
### Raises
* `ScaleUpUserError` – If the device is not found.
* `ScaleUpServerError` – If the response from the server is invalid.
