Repository navigation
feat: Optimize Data Length Restrictions in Software Trigger Mode
π New Features
Software Trigger Mode Data Length Optimization
- Range Restriction: Limited data length to 2048-16777216 range in software trigger mode
- Power of 2 Validation: Ensured data length must be a power of 2 for optimal performance
- Auto-Adjustment: Implemented automatic adjustment to nearest valid value when user input is invalid
- Smart UI Hints: Added orange hint text to inform users about data length requirements
User Experience Improvements
- Real-time Validation: Automatic validation during trigger type switching, initialization, and manual modification
- Visual Feedback: Clear visual indicators for data length constraints
- Seamless Adjustment: Transparent value correction without disrupting user workflow
π§ Technical Improvements
- Helper Functions: Added utility functions for power-of-2 calculations (IsPowerOfTwo, GetLowerPowerOfTwo, GetNextPowerOfTwo)
- Reactive Validation: Implemented reactive property subscriptions for real-time constraint enforcement
- UI Enhancement: Updated settings view layout to accommodate hint display
π Documentation
- Parameter Constraints: Clear documentation of data length limitations in software trigger mode
- User Guidance: Improved user interface with contextual hints and validation feedback