Overview
The TextFileExporter allows you to export DMX channel data to human-readable text files. This is useful for debugging fixture configurations, analyzing channel usage, or creating documentation of your lighting state.Configuration
If true, only channels with non-zero values will be included in the exported file. This helps reduce file size and focus on active channels.
YAML Example
Usage
The TextFileExporter is triggered manually through the HNode user interface:- Enable the exporter in your YAML configuration
- Run HNode and navigate to the exporter settings
- Click “Export channels to text file” button
- Choose a location and filename
- The file will be saved with a
.chinfoextension
File Format
The exported text file contains one channel per line in the format:Example Output
- Channel index in universe.channel format (e.g.,
0.0= Universe 0, Channel 0) - Channel value as a byte (0-255)
With onlyNonZeroChannels
WhenonlyNonZeroChannels is enabled, the output only includes active channels:
Technical Implementation
User Interface
The exporter provides two UI elements:Enable or disable filtering of zero-value channels in the export.
Opens a save dialog and exports the current channel state to a text file.
Use Cases
Debugging Fixture Mapping
Export your channel data to verify that fixtures are mapped to the correct DMX addresses:Documentation
Create snapshots of lighting states for documentation purposes:Analysis
Analyze channel usage patterns:File Extension
The exporter uses the.chinfo (Channel Information) extension by default. This can be changed when saving through the file browser dialog.
Integration with Other Tools
The text format is easily parseable by other tools:Performance Notes
- Export is performed on-demand, not every frame
- No performance impact during normal operation
- Export time depends on number of channels (typically < 1 second)
- Memory usage is minimal - only stores reference to current frame data
Limitations
- Export is a snapshot of the current frame only
- Does not support real-time streaming to file
- No automatic export functionality (must be triggered manually)
- File format is simple text - no binary or compressed formats supported