View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Pre-trigger Data Capture and Custom Triggering

4.5 | 2 ratings Rate this file 6 Downloads (last 30 days) File Size: 2.75 KB File ID: #41918 Version:
image thumbnail

Pre-trigger Data Capture and Custom Triggering


Isaac Noh (view profile)


12 Jul 2013 (Updated )

An example of pre-trigger data capture and custom triggering using the session-based interface.

| Watch this File

File Information

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.


Custom Triggers With Data Acquisition Toolbox (Tm) inspired this file.

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Mar 2015 Raymond

Thanks for this file, but using the legacy interface I can record pre-trigger data with literally around 8-10 lines of code. Doing the same thing in session-based DAQ seems ridiculously complex in comparison - unless I am missing something here?

Mathworks, can we please have an easier way to record pretrigger data in session-based daq? This is a very common requirement among academic colleagues.

09 Apr 2014 Yaw

Yaw (view profile)

Awesome!!!! work...

12 Jul 2013 1.2

Updated comments

01 Sep 2016

Updated license

Contact us