Running a program with an external trigger

3 views (last 30 days)
Feng
Feng on 4 Sep 2014
Edited: per isakson on 5 Sep 2014
Hi,
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!
  3 Comments
Feng
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)

Community Treasure Hunt

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

Start Hunting!