Skip to end of metadata
Go to start of metadata

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 restrictions.

Syntax

system.device.listDevices()

  • Parameters

none

  • Returns

Dataset - A dataset, where each row represents a device. Contains 4 columns NameEnabledState, and Driver.

  • Scope

All

Code Examples
Code Snippet
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
  • No labels