Overview
The Channels view is the primary interface for interacting with Accordion hardware. Channels represent individual hardware endpoints such as GPIO pins, ADC inputs, I2C buses, power supplies, audio outputs, and more. This page provides tools for browsing, searching, reading, writing, and monitoring all available channels.
Accessing Channels
-
Click Channels in the navigation panel (left sidebar)
-
Or use the keyboard shortcut (if configured)
-
Channels page is the default view on application startup
Channel List View
Grid Columns
The channel list displays the following information:
|
Column |
Description |
|---|---|
|
NetName |
Technical channel identifier (e.g., |
|
Alias |
User-friendly name from loaded alias file (e.g., |
|
Group Name |
Logical grouping of related channels |
|
Channel Type |
Hardware type (GPIO, ADC, DAC, I2C, Audio, etc.) |
|
Capability |
Supported operations (Read, Write, ReadWrite, Execute) |
|
Index |
Channel index number |
|
Direction |
Current direction for bidirectional channels (Input/Output) |
|
Description |
Channel description |
|
Device Name |
Associated device or module name |
|
Usage |
Current usage status |
|
Value |
Current value (displayed when polling enabled) |
Grid Features
Sorting:
-
Click column header to sort ascending
-
Click again to sort descending
-
Hold Shift and click multiple columns for multi-column sorting
Grouping:
-
Drag column header to group panel (if enabled)
-
Channels group by that column value
-
Expand/collapse groups by clicking
Filtering:
-
Use the Find Panel (Ctrl+F or enable via checkbox)
-
Type search text to filter channels
-
Supports wildcard and regex patterns
Column Customization:
-
Right-click column header → Column Chooser
-
Drag columns to reorder
-
Right-click header → Hide Column to remove
-
Resize columns by dragging header borders
Reading Channel Values
Manual Read
Method 1: Double-Click
-
Double-click a channel row
-
Current value appears in a popup or updates in the Value column
Method 2: Context Menu
-
Right-click the channel
-
Select "Get Value"
-
Value is retrieved and displayed
Method 3: Keyboard
-
Select channel row
-
Press Enter (if configured)
Automatic Polling
Enable Polling:
-
Check "Polling" checkbox in the toolbar
-
Or use Ribbon → Appearance → Enable Polling
Configure Poll Interval:
-
Ribbon → Appearance → Polling Interval
-
Enter interval in milliseconds (default: 500ms)
-
Recommended: 100-1000ms depending on requirements
How It Works:
-
Selected or visible channels are polled automatically
-
Value column updates with current value
-
Changed values may be highlighted (depending on skin)
-
High-frequency polling (< 100ms) may impact performance
Performance Considerations:
-
Lower intervals = more network traffic
-
Poll only visible/needed channels
-
Use filtering to reduce polled channel count
-
Disable polling when not needed
Writing Channel Values
Set Value Dialog
-
Right-click channel → "Set Value"
-
Or select channel and press configured shortcut
-
Dialog appears with:
-
Channel name
-
Current value (if readable)
-
Input field for new value
-
Value type information
-
Value Types:
Boolean Channels:
-
Enter:
true,false,1,0,on,off -
Case-insensitive
Numeric Channels:
-
Enter decimal number:
123,3.14 -
May support hexadecimal:
0x1A,0xFF -
Check channel range limits
String Channels:
-
Enter text value
-
May have length restrictions
Enum Channels:
-
Select from dropdown list
-
Or type enum value name
Special Channels:
-
Some channels have custom editors
-
Media channels: select from available media files
-
File channels: browse for file path
Batch Operations
Set Multiple Channels:
Currently not directly supported in GUI. Use AccordionShell for batch operations:
AccordionShell set --channel "CH1" --value "1"
AccordionShell set --channel "CH2" --value "2"
Channel Configuration
Configure Channel Properties
Some channels support runtime property configuration:
-
Right-click channel → "Configure" (if available)
-
Dialog shows configurable properties:
-
GPIO: Pull-up/pull-down, drive strength, slew rate
-
ADC: Sample rate, resolution, averaging
-
I2C: Clock speed, timeout
-
Audio: Sample rate, bit depth, channels
-
-
Modify properties as needed
-
Click OK to apply
Note: Property availability depends on channel type and hardware capabilities.
Change Channel Direction
For bidirectional channels (e.g., GPIO):
-
Right-click channel → "Set Direction"
-
Select Input or Output
-
Direction changes immediately
-
Value behavior changes:
-
Input: Can read external signal
-
Output: Can write value to pin
-
Channel Filtering and Search
Find Panel
Enable Find Panel:
-
Press Ctrl+F
-
Or check "Find Panel Visible" in toolbar
-
Or Right-click grid → Find Panel
Search Options:
-
Simple Text: Type partial name to filter
-
Wildcard: Use
*and?(e.g.,GPIO_*) -
Regular Expression: Advanced pattern matching
Examples:
GPIO → Shows all channels containing "GPIO"
I2C_*_SCL → Shows all I2C SCL channels
^CH_ADC_[0-9]+$ → Regex: Channels starting with CH_ADC_ followed by numbers
Filter by Type
To show only specific channel types:
-
Use Find Panel with type name:
I2C,GPIO,ADC,Audio -
Or use Column Filter:
-
Click filter icon in Channel Type column header
-
Check desired types
-
Click OK
-
Filter by Capability
Show only readable, writable, or both:
-
Column Filter on Capability column
-
Check desired capabilities:
-
Read
-
Write
-
ReadWrite
-
Execute
-
Channel Groups
View by Group
-
Enable Group Panel (if not visible)
-
Drag "Group Name" column to group panel
-
Channels organize by group
-
Expand/collapse groups
Common Groups:
-
Power: Power supply channels
-
GPIO: General purpose I/O
-
I2C: I2C bus channels
-
Audio: Audio playback/capture
-
Video: Video output
-
Sensors: Environment sensors
Create Custom Groups
Custom grouping requires alias file modification:
-
Download current alias file (Ribbon → Alias → Download)
-
Edit XML to add
GroupNameattribute -
Upload modified file
-
Activate alias file
Example alias file excerpt:
<Channel NetName="CH_GPIO_01" Alias="LED_Red" GroupName="LEDs" />
<Channel NetName="CH_GPIO_02" Alias="LED_Green" GroupName="LEDs" />
<Channel NetName="CH_ADC_01" Alias="Voltage_3V3" GroupName="PowerMon" />
Channel Details and Properties
View Channel Properties
Method 1: Properties Window
-
Select channel
-
View properties panel (if visible)
-
Shows all channel metadata
Method 2: Details Dialog
-
Right-click channel → "Details"
-
Dialog shows:
-
All channel properties
-
Current configuration
-
Capabilities
-
Associated module
-
Channel Metadata
Each channel includes:
-
NetName: Unique identifier
-
Alias: User-friendly name
-
ChannelType: Hardware type interface
-
Capability: Read/Write/Execute permissions
-
Direction: Input/Output (for bidirectional)
-
Description: Purpose and usage information
-
DeviceName: Parent device or module
-
SerializationVersion: Configuration version
Advanced Features
Numeric Results View
For numeric channels with statistical capabilities:
-
Right-click numeric channel → "Numeric Results"
-
Opens Numeric Results viewer
-
Shows:
-
Current value
-
Statistics (min, max, mean, std dev)
-
Histogram
-
Sample count
-
-
Configure:
-
Sample count
-
Histogram bins
-
Auto-update interval
-
Use AccordionShell for detailed numeric analysis:
AccordionShell num --channel "ADC_1" --target "Value" --samples 1000 --full --histogram
Chart View
Plot channel values over time:
-
Navigate to Chart page
-
Add channels to chart
-
Configure:
-
Lookback points (data history)
-
Update interval
-
Y-axis scaling
-
Multiple series
-
-
Export chart data if needed
Instrument Panel
For specialized instrument-style displays:
-
Certain channels support instrument views (gauges, meters)
-
Right-click → "Open Instrument" (if available)
-
Visual representation of channel value
-
Real-time updates
Keyboard Shortcuts
|
Shortcut |
Action |
|---|---|
|
Ctrl+F |
Open Find Panel |
|
F5 |
Refresh channel list |
|
Ctrl+A |
Select all channels |
|
Ctrl+C |
Copy selected channels |
|
Enter |
Read value (if configured) |
|
Delete |
Clear filter (if in find panel) |
|
Arrows |
Navigate channels |
|
Home |
First channel |
|
End |
Last channel |
Context Menu Options
Right-click channel for quick access to:
-
Get Value: Read current value
-
Set Value: Write new value
-
Configure: Channel property configuration (if supported)
-
Set Direction: Change Input/Output direction (bidirectional channels)
-
Numeric Results: Open statistical analysis (numeric channels)
-
Details: View all channel properties
-
Copy: Copy channel information
-
Open Instrument: Open specialized view (if available)
Tips and Best Practices
Performance Optimization
-
Disable Polling When Not Needed: Polling generates network traffic
-
Filter Channels: Show only channels you're working with
-
Increase Poll Interval: Use 500-1000ms for normal monitoring
-
Close Unused Views: Minimize active views consuming updates
Organization
-
Use Aliases: Load alias files for readable channel names
-
Group Related Channels: Use grouping to organize view
-
Save Column Layout: Customize columns and save workspace
-
Create Multiple Workspaces: Different layouts for different tasks
Workflow Efficiency
-
Learn Shortcuts: Master Ctrl+F, F5, Enter for faster operation
-
Use Context Menus: Right-click for quick access
-
Customize Grid: Hide unused columns, reorder important ones
-
Multi-Select: Select multiple channels for batch operations (where supported)
Data Quality
-
Check Capability: Ensure channel supports read before polling
-
Verify Ranges: Check min/max values before writing
-
Monitor Transactions: Watch transaction log for bus errors
-
Review Logs: Check log panel for warnings/errors
Common Operations
Monitor GPIO State
1. Filter: GPIO
2. Enable polling (500ms)
3. Group by: Group Name
4. Watch value column for state changes
Configure I2C Bus
1. Find I2C bus channel
2. Right-click → Configure
3. Set clock speed (e.g., 100kHz, 400kHz)
4. Configure timeout
5. OK to apply
Test ADC Reading
1. Find ADC channel
2. Right-click → Numeric Results
3. Set samples: 100
4. Enable histogram
5. Observe statistics and distribution
Control Power Supply
1. Find power supply channel (e.g., VOUT_1)
2. Set Value → enter voltage (e.g., "3.3")
3. Find enable channel (e.g., ENABLE_1)
4. Set Value → "1" or "true" to enable
5. Monitor current draw on I_OUT_1 channel
Troubleshooting
Channel Values Not Updating
Problem: Values don't update with polling enabled
Solutions:
-
Verify connection status (status bar)
-
Check channel capability (must support Read)
-
Reduce polling interval
-
Refresh channel list (F5)
-
Check logs for errors
Cannot Write to Channel
Problem: Set Value operation fails
Solutions:
-
Verify channel capability (must support Write)
-
Check value format (boolean, numeric, string)
-
Verify value is within range
-
Check for write protection
-
Review transaction log for bus errors
Too Many Channels
Problem: Channel list overwhelming
Solutions:
-
Use Find Panel to filter
-
Filter by channel type
-
Filter by group
-
Load alias file with groups
-
Create custom filtered views
Performance Issues
Problem: Application slow with polling enabled
Solutions:
-
Increase polling interval (500-1000ms)
-
Filter channel list to show fewer channels
-
Disable polling on Chart/other views
-
Close unused application windows
-
Check network latency to device