Pre-trigger Data Capture and Custom Triggering
Version 1.2.0.1 (2.75 KB) by
Isaac Noh
An example of pre-trigger data capture and custom triggering using the session-based interface.
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.
Cite As
Isaac Noh (2026). Pre-trigger Data Capture and Custom Triggering (https://se.mathworks.com/matlabcentral/fileexchange/41918-pre-trigger-data-capture-and-custom-triggering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Simultaneous and Synchronized Operations in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Custom triggers with Data Acquisition Toolbox (TM)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
