Originaldokumentationen är på engelska. Visa som Markdown (för AI/KB)
Description
The list command displays all available channels and their current values. It provides a quick overview of the hardware state and can be filtered to show specific channels.
Syntax
list [options]
Optional Options
| Option | Short | Description | Default |
|---|---|---|---|
--filter |
-f |
Apply a regular expression filter to channel names | (none) |
--disabled |
-d |
Show disabled channels in addition to enabled ones | false |
Examples
list
list --disabled
list --filter "VOLTAGE.*"
list -f "GPIO_[0-9]+"
list --filter "TEMP.*" --disabled
Output Format
Channels are displayed in the format <channel_alias> <value>, for example:
VOLTAGE_SENSOR_1 3.3
GPIO_PIN_5 1
I2C_BUS_MAIN (<data>)
TEMPERATURE_AMBIENT 25.4
DISABLED_CHANNEL (disabled)
Output Colors
- Green: Enabled channels with values
- Cyan: Special data channels (ByteStream, I2C, UART, etc.)
- Gray: Disabled channels
Special Channel Types
Some channel types display (<data>) instead of actual values: ByteStream, I2C, UART, SPI, Socket, Waveform and NumericResult channels.
Performance Information
At the end of the output, query execution time is displayed, e.g. Query took 45.23 ms.
Behavior
- Retrieves all channels from the hardware
- Orders channels alphabetically by alias
- Filters by disabled state if requested
- Applies regex filter if provided
- Queries values for all enabled channels
- Displays results with color coding
Filter Patterns
The filter option supports standard .NET regular expressions:
| Pattern | Matches |
|---|---|
VOLTAGE.* |
All channels starting with “VOLTAGE” |
.*_SENSOR |
All channels ending with “_SENSOR” |
GPIO_[0-9]+ |
GPIO channels with numeric suffixes |
^ADC_CH[0-7]$ |
Exactly ADC_CH0 through ADC_CH7 |
Notes
- Requires an active connection (use
initfirst) - Values are fetched in a single bulk operation for efficiency
- Disabled channels don’t have values queried
Error Handling
- Not connected: Run
initcommand first - Invalid regex: Check filter pattern syntax