Clear Filters
Clear Filters

Running a program with an external trigger

3 views (last 30 days)
Feng on 4 Sep 2014
Edited: per isakson on 5 Sep 2014
I am looking for a function that is very much like the timer function, but executing a timer function not with a pre-defined time, rather with an external trigger. The main program should be running all the time, and this trigger will only temporarily interrupt the main program. Any suggestions? Thanks!
Feng on 5 Sep 2014
'external trigger' is from one of the NI daq board's digital outputs, for example.
per isakson
per isakson on 5 Sep 2014
Edited: per isakson on 5 Sep 2014
I have no answer, but I take for granted the Matlab has a solutions in an appropriate toolbox.
  • Instrument Control Toolbox
Search the FEX:
and see

Sign in to comment.

Answers (0)


Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!