Effacer les filtres
Effacer les filtres

How to setup analog trigger in daq

2 vues (au cours des 30 derniers jours)
jon smith
jon smith le 18 Sep 2012
I have a NI-6259. I want to use APFI0 as a trigger from a reference oscillator. I have tried all the examples I could find. But all I can get to work is a single self triggered channel on the AIx
So i have something like this:
ai = analoginput ('nidaq', 'Dev1');
ch1 = addchannel(ai, ch);
%tgr = addchannel(ai,'HwAnalogChannel');
ai.TriggerType = 'HwAnalogChannel';
ai.TriggerChannel = ch1;% this should be APFI0 but doesnt work
ai.TriggerCondition = 'AboveHighLevel';
ai.TriggerConditionValue = 0;
I am using NI-DAQmx 7.3 and Matlab 2011b
I am still looking for an answer to this...
  3 commentaires
Andrew Scott-Mackie
Andrew Scott-Mackie le 26 Oct 2012
I have the same problem. I am using a DAQ NI-6251 with matlab 7.9.0 (2009b) The driver was installed last year and at the time the latest version 7.4 I really need to use the dedicated trigger port APFI0, because if I use one of the measurement channel the trigger voltage bleeds over into my measurement channels. And no it is not a legacy interface
Walter Roberson
Walter Roberson le 26 Oct 2012
R2009b only has what is now called the legacy interface, as compared to the newer session-based interface.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simultaneous and Synchronized Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by