# boulderopalscaleup.QctrlScaleUpClient.get_device_data

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

```python
*async* QctrlScaleUpClient.get_device_data(device_name=None)
```

Get latest data for a device.

### Parameters
**device_name** (*str* *or* *None* *,* *optional*) – The name of the device. Defaults to the current device.
### Returns
Object containing information about the QPU and the classical hardware
controller.
### Return type
[DeviceData](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/device/DeviceData.md#boulderopalscaleup.device.DeviceData)
### Raises
* `ScaleUpClientError` – If the device name is not set.
* `ScaleUpUserError` – If the device is not found.
* `ScaleUpServerError` – If the response from the server is invalid.
