Running a program with an external trigger

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 Kommentare

per isakson
per isakson am 4 Sep. 2014
Bearbeitet: per isakson am 4 Sep. 2014
"external trigger" &nbsp could elaborate a bit?
Feng
Feng am 5 Sep. 2014
'external trigger' is from one of the NI daq board's digital outputs, for example.
per isakson
per isakson am 5 Sep. 2014
Bearbeitet: per isakson am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox Supported Hardware finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Sep. 2014

Bearbeitet:

am 5 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by