Borrar filtros
Borrar filtros

How to setup analog trigger in daq

2 visualizaciones (últimos 30 días)
jon smith
jon smith el 18 de Sept. de 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 comentarios
Andrew Scott-Mackie
Andrew Scott-Mackie el 26 de Oct. de 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 el 26 de Oct. de 2012
R2009b only has what is now called the legacy interface, as compared to the newer session-based interface.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simultaneous and Synchronized Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by