This submission illustrates how to capture pre-trigger data from a data acquisition system, and it allows the user to define a custom trigger condition for the system.
This example uses an analog input channel as the capture channel and a digital input channel as the trigger channel.
Isaac Noh (2023). Pre-trigger Data Capture and Custom Triggering (https://www.mathworks.com/matlabcentral/fileexchange/41918-pre-trigger-data-capture-and-custom-triggering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Custom triggers with Data Acquisition Toolbox (TM)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!