--- title: "system.device.listDevices" description: "Returns a dataset of information about each configured device." --- # system.device.listDevices > Returns a dataset of information about each configured device. This function is used in **Python Scripting**. ## Description Returns a dataset of information about each configured device. Each row represents a single device. ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.device.listDevices()` ### Parameters Nothing ### Returns **Dataset** - A dataset, where each row represents a device. Contains 4 columns Name, Enabled, State, and Driver. ### Scope All ## Code Examples ```python title="Example 1" deviceDataset = system.device.listDevices() # Assign the deviceDataset to a Power Table. This example assumes # the Power Table is in the same container as the component that called this script event.source.parent.getComponent('Power Table').data = deviceDataset ```