How to trigger analog inputs on a threshold levels using session based interface?

3 views (last 30 days)
Hello,
I am using Matlab 64 bits for data acquisition using NI instruments. I am acquiring the signal from an analog input. I would like to trigger the acquisition when that signal reaches a certain threshold. I am not able to find any help on that using session-based interface (the only help is about using digital triggers). I know it was possible using legacy commands, but I am not sure how to adapt it to session-based commands.
Thank you for your help

Answers (2)

Vinod
Vinod on 7 Dec 2015
Take a look at this example. I believe it does what you're after:

Ke Feng
Ke Feng on 23 Sep 2015
I am also looking for a solution. This is not hard with legacy interface, but we are now forced into the session based interface.

Categories

Find more on Simultaneous and Synchronized Operations 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!