usbtmc_list_devices
Identify all USBTMC test instruments connected via USB, returning their manufacturer, product, and serial number for device selection.
Instructions
List all available USBTMC devices connected via USB.
This is typically the first step in the workflow:
usbtmc_list_devices() - Discover available devices
usbtmc_connect() - Connect to a device and get device_id
Use device_id for operations (send/query/etc.)
usbtmc_disconnect() - Close connection when done
Returns: dict: Result containing: - count (int): Number of devices found - devices (list[dict]): List of device info dictionaries, each containing: - manufacturer (str): Device manufacturer name - product (str): Device product/model name - serial_number (str): Unique device serial number
Example: >>> result = usbtmc_list_devices() >>> result { "count": 1, "devices": [ { "manufacturer": "Keysight Technologies", "product": "DSO-X 3024A", "serial_number": "MY12345678" } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||